QScintilla/Editor.py

branch
5_2_x
changeset 1808
8e4ee8def45a
parent 1769
02e7e55b47f5
child 1832
01f9c5dc0dbe
equal deleted inserted replaced
1805:c666c9bdbb2d 1808:8e4ee8def45a
81 @signal eolChanged(str) emitted when the editors eol type was set. The eol string 81 @signal eolChanged(str) emitted when the editors eol type was set. The eol string
82 is passed as a parameter. 82 is passed as a parameter.
83 @signal encodingChanged(str) emitted when the editors encoding was set. The 83 @signal encodingChanged(str) emitted when the editors encoding was set. The
84 encoding name is passed as a parameter. 84 encoding name is passed as a parameter.
85 @signal lastEditPositionAvailable() emitted when a last edit position is available 85 @signal lastEditPositionAvailable() emitted when a last edit position is available
86 @signal refreshed() emitted to signal a refresh of the editor contents
86 """ 87 """
87 modificationStatusChanged = pyqtSignal(bool, QsciScintillaCompat) 88 modificationStatusChanged = pyqtSignal(bool, QsciScintillaCompat)
88 undoAvailable = pyqtSignal(bool) 89 undoAvailable = pyqtSignal(bool)
89 redoAvailable = pyqtSignal(bool) 90 redoAvailable = pyqtSignal(bool)
90 cursorChanged = pyqtSignal(str, int, int) 91 cursorChanged = pyqtSignal(str, int, int)
101 showMenu = pyqtSignal(str, QMenu, QsciScintillaCompat) 102 showMenu = pyqtSignal(str, QMenu, QsciScintillaCompat)
102 languageChanged = pyqtSignal(str) 103 languageChanged = pyqtSignal(str)
103 eolChanged = pyqtSignal(str) 104 eolChanged = pyqtSignal(str)
104 encodingChanged = pyqtSignal(str) 105 encodingChanged = pyqtSignal(str)
105 lastEditPositionAvailable = pyqtSignal() 106 lastEditPositionAvailable = pyqtSignal()
107 refreshed = pyqtSignal()
106 108
107 # Autocompletion icon definitions 109 # Autocompletion icon definitions
108 ClassID = 1 110 ClassID = 1
109 ClassProtectedID = 2 111 ClassProtectedID = 2
110 ClassPrivateID = 3 112 ClassPrivateID = 3
5556 self.__restoreBreakpoints() 5558 self.__restoreBreakpoints()
5557 5559
5558 self.editorSaved.emit(self.fileName) 5560 self.editorSaved.emit(self.fileName)
5559 self.__autoSyntaxCheck() 5561 self.__autoSyntaxCheck()
5560 5562
5563 self.refreshed.emit()
5564
5561 def setMonospaced(self, on): 5565 def setMonospaced(self, on):
5562 """ 5566 """
5563 Public method to set/reset a monospaced font. 5567 Public method to set/reset a monospaced font.
5564 5568
5565 @param on flag to indicate usage of a monospace font (boolean) 5569 @param on flag to indicate usage of a monospace font (boolean)

eric ide

mercurial