Module implementing a compatability interface class to QextScintilla.
QextScintillaCompat | Class implementing a compatability interface to QextScintilla. |
QSCINTILLA_VERSION | Module function to return the QScintilla version. |
Class implementing a compatability interface to QextScintilla. This class implements all the functions, that were added to QextScintilla incrementally. This class ensures compatibility to older versions of QextScintilla.
QextScintillaCompat | Constructor |
clearAlternateKeys | Protected method to clear the alternate key commands. |
clearStyles | Public method to set the styles according the selected Qt style. |
keyPressEvent | Workaround for QScintilla <= 1.3 bug w/ keyboard layouts |
recolor | Public method to recolor the given region. |
resetSelectionForegroundColor | Public method to reset the foreground color of the selection. |
setCaretForegroundColor | Public method to set the foreground color of the caret. |
setCaretLineBackgroundColor | Public method to set the background color of the caret line. |
setCaretLineVisible | Public method to enable the highlighting of the caret line. |
setCaretWidth | Public method to enable the highlighting of the caret line. |
setEdgeColor | Public method to set the color of the edge mode highlight. |
setEdgeColumn | Public method to set the edge column. |
setEdgeMode | Public method to set the edge mode. |
setLexer | Public method to set the lexer. |
setSelectionBackgroundColor | Public method to set the background color of the selection. |
setSelectionForegroundColor | Public method to set the foreground color of the selection. |
setWrapMode | Public slot to set the wrap mode of the text display. |
Constructor
Protected method to clear the alternate key commands.
Public method to set the styles according the selected Qt style.
Workaround for QScintilla <= 1.3 bug w/ keyboard layouts having a AltGr key in win32: AltGr is reported as state == Qt.ControlButton | Qt.AltButton, but QScintilla expects (Unix-style) Qt.MetaButton. Just translate states for infected QScintilla versions. Reimplemented from QextScintilla.keyPressEvent
Author(s): Torsten Marek, 2004-08-22
Public method to recolor the given region.
Public method to reset the foreground color of the selection.
Public method to set the foreground color of the caret.
Public method to set the background color of the caret line.
Public method to enable the highlighting of the caret line.
Public method to enable the highlighting of the caret line.
Public method to set the color of the edge mode highlight.
Public method to set the edge column.
Public method to set the edge mode.
Public method to set the lexer.
Public method to set the background color of the selection.
Public method to set the foreground color of the selection.
Public slot to set the wrap mode of the text display.
Module function to return the QScintilla version. If the installed QScintilla is a snapshot version, then assume it is of the latest release and return a version number of 0x99999.