Module implementing a compatability interface class to QsciScintilla.
None |
QsciScintillaCompat | Class implementing a compatability interface to QsciScintilla. |
QSCINTILLA_VERSION | Module function to return the QScintilla version. |
Class implementing a compatability interface to QsciScintilla.
This class implements all the functions, that were added to QsciScintilla incrementally. This class ensures compatibility to older versions of QsciScintilla.
UserSeparator |
None |
QsciScintillaCompat | Constructor |
__doSearchTarget | Private method to perform the search in target. |
charAt | Public method to get the character at a position in the text observing multibyte characters. |
clearAllIndicators | Public method to clear all occurrences of an indicator. |
clearAlternateKeys | Protected method to clear the alternate key commands. |
clearIndicator | Public method to clear an indicator for the given range. |
clearIndicatorRange | Public method to clear an indicator for the given range. |
clearKeys | Protected method to clear the key commands. |
clearStyles | Public method to set the styles according the selected Qt style. |
currentPosition | Public method to get the current position. |
currentStyle | Public method to get the style at the current position. |
delete | Public method to delete the character to the right of the cursor. |
deleteBack | Public method to delete the character to the left of the cursor. |
deleteLineLeft | Public method to delete the line to the left of the cursor. |
deleteLineRight | Public method to delete the line to the right of the cursor. |
deleteWordLeft | Public method to delete the word to the left of the cursor. |
deleteWordRight | Public method to delete the word to the right of the cursor. |
detectEolString | Public method to determine the eol string used. |
editorCommand | Public method to perform a simple editor command. |
event | Public method to handle events. |
extendSelectionLeft | Public method to extend the selection one character to the left. |
extendSelectionRight | Public method to extend the selection one character to the right. |
extendSelectionToBOL | Public method to extend the selection to the beginning of the line. |
extendSelectionToEOL | Public method to extend the selection to the end of the line. |
extendSelectionWordLeft | Public method to extend the selection one word to the left. |
extendSelectionWordRight | Public method to extend the selection one word to the right. |
findFirstTarget | Public method to search in a specified range of text without setting the selection. |
findNextTarget | Public method to find the next occurrence in the target range. |
focusOutEvent | Public method called when the editor loses focus. |
foldExpandedAt | Public method to determine, if a fold is expanded. |
foldFlagsAt | Public method to get the fold flags of a line of the document. |
foldHeaderAt | Public method to determine, if a line of the document is a fold header line. |
foldLevelAt | Public method to get the fold level of a line of the document. |
getCursorFlashTime | Public method to get the flash (blink) time of the cursor in milliseconds. |
getEndStyled | Public method to get the last styled position. |
getEolIndicator | Public method to get the eol indicator for the current eol mode. |
getFileName | Public method to return the name of the file being displayed. |
getFoundTarget | Public method to get the recently found target. |
getLineSeparator | Public method to get the line separator for the current eol mode. |
getZoom | Public method used to retrieve the current zoom factor. |
hasIndicator | Public method to test for the existence of an indicator. |
indentationGuideView | Public method to get the indentation guide view. |
indicatorDefine | Public method to define the appearance of an indicator. |
lineAt | Public method to calculate the line at a position. |
lineEndPosition | Public method to determine the line end position of the given line. |
lineIndexFromPosition | Public method to convert an absolute position to line and index. |
linesOnScreen | Public method to get the amount of visible lines. |
monospacedStyles | Public method to set the current style to be monospaced. |
moveCursorLeft | Public method to move the cursor left. |
moveCursorRight | Public method to move the cursor right. |
moveCursorToEOL | Public method to move the cursor to the end of line. |
moveCursorWordLeft | Public method to move the cursor left one word. |
moveCursorWordRight | Public method to move the cursor right one word. |
newLineBelow | Public method to insert a new line below the current one. |
positionAfter | Public method to get the position after the given position taking into account multibyte characters. |
positionBefore | Public method to get the position before the given position taking into account multibyte characters. |
positionFromLineIndex | Public method to convert line and index to an absolute position. |
positionFromPoint | Public method to calculate the scintilla position from a point in the window. |
rawCharAt | Public method to get the raw character at a position in the text. |
replaceTarget | Public method to replace the string found by the last search in target. |
scrollVertical | Public method to scroll the text area. |
setCurrentIndicator | Public method to set the current indicator. |
setCursorFlashTime | Public method to get the flash (blink) time of the cursor in milliseconds. |
setEolModeByEolString | Public method to set the eol mode given the eol string. |
setIndentationGuideView | Public method to set the view of the indentation guides. |
setIndicator | Public method to set an indicator for the given range. |
setIndicatorRange | Public method to set an indicator for the given range. |
setLexer | Public method to set the lexer. |
setStyleBits | Public method to set the number of bits to be used for styling. |
setStyling | Public method to style some text. |
showUserList | Public method to show a user supplied list. |
startStyling | Public method to prepare styling. |
styleAt | Public method to get the style at a position in the text. |
zoomIn | Public method used to increase the zoom factor. |
zoomOut | Public method used to decrease the zoom factor. |
zoomTo | Public method used to zoom to a specific zoom factor. |
None |
Constructor
Private method to perform the search in target.
Public method to get the character at a position in the text observing multibyte characters.
Public method to clear all occurrences of an indicator.
Protected method to clear the alternate key commands.
Public method to clear an indicator for the given range.
Public method to clear an indicator for the given range.
Protected method to clear the key commands.
Public method to set the styles according the selected Qt style.
Public method to get the current position.
Public method to get the style at the current position.
Public method to delete the character to the right of the cursor.
Public method to delete the character to the left of the cursor.
Public method to delete the line to the left of the cursor.
Public method to delete the line to the right of the cursor.
Public method to delete the word to the left of the cursor.
Public method to delete the word to the right of the cursor.
Public method to determine the eol string used.
Public method to perform a simple editor command.
Public method to handle events.
Note: We are not interested in the standard QsciScintilla event handling because we do it our self.
Public method to extend the selection one character to the left.
Public method to extend the selection one character to the right.
Public method to extend the selection to the beginning of the line.
Public method to extend the selection to the end of the line.
Public method to extend the selection one word to the left.
Public method to extend the selection one word to the right.
Public method to search in a specified range of text without setting the selection.
Public method to find the next occurrence in the target range.
Public method called when the editor loses focus.
Public method to determine, if a fold is expanded.
Public method to get the fold flags of a line of the document.
Public method to determine, if a line of the document is a fold header line.
Public method to get the fold level of a line of the document.
Public method to get the flash (blink) time of the cursor in milliseconds.
The flash time is the time required to display, invert and restore the caret display. Usually the text cursor is displayed for half the cursor flash time, then hidden for the same amount of time.
Public method to get the last styled position.
Public method to get the eol indicator for the current eol mode.
Public method to return the name of the file being displayed.
Public method to get the recently found target.
Public method to get the line separator for the current eol mode.
Public method used to retrieve the current zoom factor.
Public method to test for the existence of an indicator.
Public method to get the indentation guide view.
Public method to define the appearance of an indicator.
Public method to calculate the line at a position.
This variant is able to calculate the line for positions in the margins and for empty lines.
Public method to determine the line end position of the given line.
Public method to convert an absolute position to line and index.
Public method to get the amount of visible lines.
Public method to set the current style to be monospaced.
Public method to move the cursor left.
Public method to move the cursor right.
Public method to move the cursor to the end of line.
Public method to move the cursor left one word.
Public method to move the cursor right one word.
Public method to insert a new line below the current one.
Public method to get the position after the given position taking into account multibyte characters.
Public method to get the position before the given position taking into account multibyte characters.
Public method to convert line and index to an absolute position.
Public method to calculate the scintilla position from a point in the window.
Public method to get the raw character at a position in the text.
Public method to replace the string found by the last search in target.
Public method to scroll the text area.
Public method to set the current indicator.
Public method to get the flash (blink) time of the cursor in milliseconds.
The flash time is the time required to display, invert and restore the caret display. Usually the text cursor is displayed for half the cursor flash time, then hidden for the same amount of time.
Public method to set the eol mode given the eol string.
Public method to set the view of the indentation guides.
Public method to set an indicator for the given range.
Public method to set an indicator for the given range.
Public method to set the lexer.
Public method to set the number of bits to be used for styling.
Public method to style some text.
Public method to show a user supplied list.
Public method to prepare styling.
Public method to get the style at a position in the text.
Public method used to increase the zoom factor.
Public method used to decrease the zoom factor.
Public method used to zoom to a specific zoom factor.
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.