24 """ |
25 """ |
25 QsciLexerRuby.__init__(self, parent) |
26 QsciLexerRuby.__init__(self, parent) |
26 Lexer.__init__(self) |
27 Lexer.__init__(self) |
27 |
28 |
28 self.commentString = "#" |
29 self.commentString = "#" |
|
30 |
|
31 def initProperties(self): |
|
32 """ |
|
33 Public slot to initialize the properties. |
|
34 """ |
|
35 try: |
|
36 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
|
37 self.setFoldComments(Preferences.getEditor("RubyFoldComment")) |
|
38 except AttributeError: |
|
39 pass |
29 |
40 |
30 def autoCompletionWordSeparators(self): |
41 def autoCompletionWordSeparators(self): |
31 """ |
42 """ |
32 Public method to return the list of separators for autocompletion. |
43 Public method to return the list of separators for autocompletion. |
33 |
44 |