diff options
author | gbrandl <devnull@localhost> | 2006-10-22 10:10:10 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-10-22 10:10:10 +0200 |
commit | 50faa8c8c0f2ae53328e89047d0b39d97bc2419d (patch) | |
tree | 318567ecab2f0f0d000ea1c189ae9de3900a2993 | |
parent | 3882289278dcfc742639967104fb2109fe4c7eb9 (diff) | |
download | pygments-50faa8c8c0f2ae53328e89047d0b39d97bc2419d.tar.gz |
[svn] Disable C# lexer property detection for now. It's too complicated.
-rw-r--r-- | pygments/lexers/dotnet.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py index b5cd53e4..6b1799df 100644 --- a/pygments/lexers/dotnet.py +++ b/pygments/lexers/dotnet.py @@ -36,11 +36,11 @@ class CSharpLexer(RegexLexer): r'(?=' + _ws + '\{)', # lookahead for { bygroups(using(this), Name.Function, using(this))), # properties - (r'^([ \t]*(?:[a-zA-Z_][a-zA-Z0-9_\.]*\s+)+?)' # return arguments - r'([a-zA-Z_][a-zA-Z0-9_]*)' # property name - r'(?=' + _ws + r'\{' + _ws + # lookahead for - r'(?:get|set)' + _ws + r'\{)', # get/set - bygroups(using(this), Name.Function)), + #(r'^([ \t]*(?:[a-zA-Z_][a-zA-Z0-9_\.]*\s+)+?)' # return arguments + # r'([a-zA-Z_][a-zA-Z0-9_]*)' # property name + # r'(?=' + _ws + r'\{' + _ws + # lookahead for + # r'(?:get|set)' + _ws + r'\{)', # get/set + # bygroups(using(this), Name.Function)), (r'^\s*\[.*?\]', Name.Attribute), (r'[^\S\n]+', Text), (r'\\\n', Text), # line continuation |