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 """ |