QScintilla/Lexers/LexerPascal.py

changeset 3011
18292228c724
parent 2965
d133c7edd88a
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
3010:befeff46ec0f 3011:18292228c724
35 def initProperties(self): 35 def initProperties(self):
36 """ 36 """
37 Public slot to initialize the properties. 37 Public slot to initialize the properties.
38 """ 38 """
39 self.setFoldComments(Preferences.getEditor("PascalFoldComment")) 39 self.setFoldComments(Preferences.getEditor("PascalFoldComment"))
40 self.setFoldPreprocessor(Preferences.getEditor("PascalFoldPreprocessor")) 40 self.setFoldPreprocessor(
41 Preferences.getEditor("PascalFoldPreprocessor"))
41 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) 42 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
42 try: 43 try:
43 self.setSmartHighlighting(Preferences.getEditor("PascalSmartHighlighting")) 44 self.setSmartHighlighting(
45 Preferences.getEditor("PascalSmartHighlighting"))
44 except AttributeError: 46 except AttributeError:
45 pass 47 pass
46 48
47 def autoCompletionWordSeparators(self): 49 def autoCompletionWordSeparators(self):
48 """ 50 """

eric ide

mercurial