diff -r 6686a3326df8 -r a9577f248f04 QScintilla/Editor.py --- a/QScintilla/Editor.py Mon Jul 08 21:47:26 2013 +0200 +++ b/QScintilla/Editor.py Mon Jul 08 22:36:10 2013 +0200 @@ -48,6 +48,7 @@ @signal redoAvailable(bool) emitted to signal the redo availability @signal cursorChanged(str, int, int) emitted when the cursor position was changed + @signal cursorLineChanged(int) emitted when the cursor line was changed @signal editorAboutToBeSaved(str) emitted before the editor is saved @signal editorSaved(str) emitted after the editor has been saved @signal editorRenamed(str) emitted after the editor got a new name @@ -82,6 +83,7 @@ undoAvailable = pyqtSignal(bool) redoAvailable = pyqtSignal(bool) cursorChanged = pyqtSignal(str, int, int) + cursorLineChanged = pyqtSignal(int) editorAboutToBeSaved = pyqtSignal(str) editorSaved = pyqtSignal(str) editorRenamed = pyqtSignal(str) @@ -1585,6 +1587,9 @@ self.__markOccurrencesTimer.stop() self.__markOccurrencesTimer.start() + if self.lastLine != line: + self.cursorLineChanged.emit(line) + if self.spell is not None: # do spell checking doSpelling = True