122 self.__typingTimer.stop() |
122 self.__typingTimer.stop() |
123 self.__typingTimer.start() |
123 self.__typingTimer.start() |
124 |
124 |
125 def __previewStateChanged(self, on): |
125 def __previewStateChanged(self, on): |
126 """ |
126 """ |
127 Public slot to toggle the display of the preview. |
127 Private slot to toggle the display of the preview. |
128 |
128 |
129 @param on flag indicating to show a preview (boolean) |
129 @param on flag indicating to show a preview (boolean) |
130 """ |
130 """ |
131 editor = self.__vm.activeWindow() |
131 editor = self.__vm.activeWindow() |
132 if on and editor and self.__isPreviewable(editor): |
132 if on and editor and self.__isPreviewable(editor): |