Extended some lexers comment strings. 5_0_x

Wed, 09 Jun 2010 17:47:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 09 Jun 2010 17:47:05 +0200
branch
5_0_x
changeset 334
dc0fc1180a1e
parent 332
37619c8d6f0f
child 336
e48be003c73b

Extended some lexers comment strings.

QScintilla/Lexers/LexerLua.py file | annotate | diff | comparison | revisions
QScintilla/Lexers/LexerSQL.py file | annotate | diff | comparison | revisions
QScintilla/Lexers/LexerYAML.py file | annotate | diff | comparison | revisions
diff -r 37619c8d6f0f -r dc0fc1180a1e QScintilla/Lexers/LexerLua.py
--- a/QScintilla/Lexers/LexerLua.py	Tue Jun 08 08:27:22 2010 +0200
+++ b/QScintilla/Lexers/LexerLua.py	Wed Jun 09 17:47:05 2010 +0200
@@ -26,6 +26,10 @@
         Lexer.__init__(self)
         
         self.commentString = "--"
+        self.streamCommentString = {
+            'start' : '--[[ ',
+            'end'   : ' ]]--'
+        }
     
     def initProperties(self):
         """
diff -r 37619c8d6f0f -r dc0fc1180a1e QScintilla/Lexers/LexerSQL.py
--- a/QScintilla/Lexers/LexerSQL.py	Tue Jun 08 08:27:22 2010 +0200
+++ b/QScintilla/Lexers/LexerSQL.py	Wed Jun 09 17:47:05 2010 +0200
@@ -24,6 +24,8 @@
         """
         QsciLexerSQL.__init__(self, parent)
         Lexer.__init__(self)
+        
+        self.commentString = "--"
     
     def initProperties(self):
         """
diff -r 37619c8d6f0f -r dc0fc1180a1e QScintilla/Lexers/LexerYAML.py
--- a/QScintilla/Lexers/LexerYAML.py	Tue Jun 08 08:27:22 2010 +0200
+++ b/QScintilla/Lexers/LexerYAML.py	Wed Jun 09 17:47:05 2010 +0200
@@ -25,7 +25,7 @@
         QsciLexerYAML.__init__(self, parent)
         Lexer.__init__(self)
         
-        self.commentString = "#"
+        self.commentString = "---"
     
     def initProperties(self):
         """

eric ide

mercurial