eric6/ThirdParty/Pygments/pygments/lexers/diff.py

changeset 7701
25f42e208e08
parent 7547
21b0534faebc
child 7983
54c5cfbb1e29
equal deleted inserted replaced
7700:a3cf077a8db3 7701:25f42e208e08
3 pygments.lexers.diff 3 pygments.lexers.diff
4 ~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for diff/patch formats. 6 Lexers for diff/patch formats.
7 7
8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 13
112 """ 112 """
113 A `wdiff <https://www.gnu.org/software/wdiff/>`_ lexer. 113 A `wdiff <https://www.gnu.org/software/wdiff/>`_ lexer.
114 114
115 Note that: 115 Note that:
116 116
117 * only to normal output (without option like -l). 117 * It only works with normal output (without options like ``-l``).
118 * if target files of wdiff contain "[-", "-]", "{+", "+}", 118 * If the target files contain "[-", "-]", "{+", or "+}",
119 especially they are unbalanced, this lexer will get confusing. 119 especially they are unbalanced, the lexer will get confused.
120 120
121 .. versionadded:: 2.2 121 .. versionadded:: 2.2
122 """ 122 """
123 123
124 name = 'WDiff' 124 name = 'WDiff'

eric ide

mercurial