itom 2.2.0
|
Public Slots | |
void | selectionChanged () |
void | reloadSettings () |
Signals | |
void | userSelectionChanged (int lineFrom, int indexFrom, int lineTo, int indexTo) |
Public Member Functions | |
AbstractPyScintillaWidget (QWidget *parent=NULL) | |
QString | getWordAtPosition (const int &line, const int &index) |
Protected Types | |
enum | tUserSelectionState { selNo, selRange } |
Protected Member Functions | |
void | init () |
virtual void | loadSettings () |
void | checkUserSelectionState () |
QString | formatPythonCodePart (const QString &text, int &lineCount) |
QString | formatConsoleCodePart (const QString &text) |
Protected Attributes | |
tUserSelectionState | m_userSelectionState |
Private Member Functions | |
int | getSpaceTabCount (const QString &s) |
counts the numbers of leading tabs or spaces of a string | |
bool | haveToIndention (QString s) |
checks if text line contains a colon sign as last valid character (only comments or spaces are allowed after the colon) | |
Private Attributes | |
QsciLexerPython * | qSciLex |
QsciApiManager * | m_pApiManager |
QStringList | m_installedApiFiles |
bool | m_textIndicatorActive |
int | m_textIndicatorNr |
int ito::AbstractPyScintillaWidget::getSpaceTabCount | ( | const QString & | s | ) | [private] |
counts the numbers of leading tabs or spaces of a string
bool ito::AbstractPyScintillaWidget::haveToIndention | ( | QString | s | ) | [private] |
checks if text line contains a colon sign as last valid character (only comments or spaces are allowed after the colon)
This method is necessary in order to verify if the following text lines must be indented with respect to this line in Python syntax.
void ito::AbstractPyScintillaWidget::loadSettings | ( | ) | [protected, virtual] |
< add commands to autoCompletion: