Extended some lexers comment strings.

Wed, 09 Jun 2010 17:45:51 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 09 Jun 2010 17:45:51 +0200
changeset 333
fd4e4c1d0852
parent 331
0a5fc8298d32
child 335
5ad648828e2e

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
--- a/QScintilla/Lexers/LexerLua.py	Tue Jun 08 08:26:18 2010 +0200
+++ b/QScintilla/Lexers/LexerLua.py	Wed Jun 09 17:45:51 2010 +0200
@@ -26,6 +26,10 @@
         Lexer.__init__(self)
         
         self.commentString = "--"
+        self.streamCommentString = {
+            'start' : '--[[ ',
+            'end'   : ' ]]--'
+        }
     
     def initProperties(self):
         """
--- a/QScintilla/Lexers/LexerSQL.py	Tue Jun 08 08:26:18 2010 +0200
+++ b/QScintilla/Lexers/LexerSQL.py	Wed Jun 09 17:45:51 2010 +0200
@@ -24,6 +24,8 @@
         """
         QsciLexerSQL.__init__(self, parent)
         Lexer.__init__(self)
+        
+        self.commentString = "--"
     
     def initProperties(self):
         """
--- a/QScintilla/Lexers/LexerYAML.py	Tue Jun 08 08:26:18 2010 +0200
+++ b/QScintilla/Lexers/LexerYAML.py	Wed Jun 09 17:45:51 2010 +0200
@@ -25,7 +25,7 @@
         QsciLexerYAML.__init__(self, parent)
         Lexer.__init__(self)
         
-        self.commentString = "#"
+        self.commentString = "---"
     
     def initProperties(self):
         """

eric ide

mercurial