42 """ |
44 """ |
43 self.setFoldComments(Preferences.getEditor("PascalFoldComment")) |
45 self.setFoldComments(Preferences.getEditor("PascalFoldComment")) |
44 self.setFoldPreprocessor( |
46 self.setFoldPreprocessor( |
45 Preferences.getEditor("PascalFoldPreprocessor")) |
47 Preferences.getEditor("PascalFoldPreprocessor")) |
46 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
48 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
47 try: |
49 with contextlib.suppress(AttributeError): |
48 self.setSmartHighlighting( |
50 self.setSmartHighlighting( |
49 Preferences.getEditor("PascalSmartHighlighting")) |
51 Preferences.getEditor("PascalSmartHighlighting")) |
50 except AttributeError: |
|
51 pass |
|
52 |
52 |
53 def autoCompletionWordSeparators(self): |
53 def autoCompletionWordSeparators(self): |
54 """ |
54 """ |
55 Public method to return the list of separators for autocompletion. |
55 Public method to return the list of separators for autocompletion. |
56 |
56 |