|
| CodeEditor (QWidget *parent=NULL, bool createDefaultActions=true) |
|
bool | useSpacesInsteadOfTabs () const |
|
void | setUseSpacesInsteadOfTabs (bool value) |
|
bool | selectLineOnCopyEmpty () const |
|
void | setSelectLineOnCopyEmpty (bool value) |
|
bool | showContextMenu () const |
|
void | setShowContextMenu (bool value) |
|
bool | showWhitespaces () const |
|
void | setShowWhitespaces (bool value) |
|
QString | fontName () const |
|
void | setFontName (const QString &value) |
|
int | fontSize () const |
|
void | setFontSize (int fontSize) |
|
int | zoomLevel () const |
|
void | setZoomLevel (int value) |
|
int | tabLength () const |
|
void | setTabLength (int value) |
|
QColor | background () const |
|
void | setBackground (const QColor &value) |
|
QColor | foreground () const |
|
void | setForeground (const QColor &value) |
|
QColor | selectionForeground () const |
|
void | setSelectionForeground (const QColor &value) |
|
QColor | selectionBackground () const |
|
void | setSelectionBackground (const QColor &value) |
|
QColor | whitespacesForeground () const |
|
void | setWhitespacesForeground (const QColor &value) |
|
bool | saveOnFocusOut () const |
|
void | setSaveOnFocusOut (bool value) |
|
EdgeMode | edgeMode () const |
|
void | setEdgeMode (EdgeMode mode) |
|
int | edgeColumn () const |
|
void | setEdgeColumn (int column) |
|
QColor | edgeColor () const |
|
void | setEdgeColor (const QColor &color) |
|
bool | showIndentationGuides () const |
|
void | setShowIndentationGuides (bool value) |
|
QColor | indentationGuidesColor () const |
|
void | setIndentationGuidesColor (const QColor &color) |
|
QList< VisibleBlock > | visibleBlocks () const |
|
bool | dirty () const |
|
int | firstVisibleLine () const |
|
void | setFirstVisibleLine (int line) |
|
bool | isModified () const |
|
void | setModified (bool modified) |
|
QString | wordSeparators () const |
|
bool | isUndoAvailable () const |
|
bool | isRedoAvailable () const |
|
void | setMouseCursor (const QCursor &cursor) |
|
void | cursorPosition (int &line, int &column) const |
|
void | setViewportMargins (int left, int top, int right, int bottom) |
|
QRectF | blockBoundingGeometry (const QTextBlock &block) const |
|
QPointF | contentOffset () const |
|
PanelsManager * | panels () const |
|
TextDecorationsManager * | decorations () const |
|
ModesManager * | modes () const |
|
SyntaxHighlighterBase * | syntaxHighlighter () const |
|
int | currentLineNumber () const |
|
int | currentColumnNumber () const |
|
int | lineNbrFromPosition (int yPos) const |
|
int | lineCount () const |
|
int | lineLength (int line) const |
|
QTextCursor | selectWholeLine (int line=-1, bool applySelection=true) |
|
QTextCursor | selectLines (int start=0, int end=-1, bool applySelection=true) |
|
QPair< int, int > | selectionRange () const |
|
void | getSelection (int *lineFrom, int *indexFrom, int *lineTo, int *indexTo) |
|
void | setSelection (int lineFrom, int indexFrom, int lineTo, int indexTo) |
|
bool | hasSelectedText () const |
|
int | linePosFromNumber (int lineNumber) const |
|
void | lineIndexFromPosition (const QPoint &pos, int *line, int *column) const |
|
void | lineIndexFromPosition (int pos, int *line, int *column) const |
|
void | getCursorPosition (int *line, int *column) const |
|
QTextCursor | setCursorPosition (int line, int column, bool applySelection=true) |
|
void | unfoldCursorPosition () |
|
void | ensureLineVisible (int line) |
|
QTextCursor | gotoLine (int line, int column, bool move=true) |
|
void | removeSelectedText () |
|
bool | findFirst (const QString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=true, int line=-1, int index=-1, bool show=true) |
|
bool | findNext () |
|
void | replace (const QString &text) |
|
void | endUndoAction () |
|
void | beginUndoAction () |
|
QString | selectedText () const |
|
int | length () const |
|
int | positionFromLineIndex (int line, int column) const |
|
int | lineIndent (int lineNumber=-1) const |
|
int | lineIndent (const QTextBlock *lineNbr) const |
|
QString | lineText (int lineIdx) const |
|
void | markWholeDocDirty () |
|
void | callResizeEvent (QResizeEvent *evt) |
|
virtual QString | codeText (int &, int &) const |
|
void | indent () |
|
void | unindent () |
|
virtual void | cut () |
|
virtual void | copy () |
|
void | resetStylesheet () |
|
void | rehighlight () |
|
void | rehighlightBlock (int lineFromIdx, int lineToIdx) |
|
void | showTooltip (const QPoint &pos, const QString &tooltip) |
|
void | showTooltip (const QPoint &pos, const QString &tooltip, const TextDecoration::Ptr &senderDeco) |
|
void | setPlainText (const QString &text, const QString &mimeType="", const QString &encoding="") |
|
void | insertAt (const QString &text, int line, int index) |
|
void | append (const QString &text) |
|
bool | isCommentOrString (const QTextCursor &cursor, const QList< StyleItem::StyleType > &formats=QList< StyleItem::StyleType >()) |
|
bool | isCommentOrString (const QTextBlock &block, const QList< StyleItem::StyleType > &formats=QList< StyleItem::StyleType >()) |
|
bool | isNumber (const QTextCursor &cursor) const |
|
bool | isNumber (const QTextBlock &block) const |
|
QTextCursor | wordUnderCursor (bool selectWholeWord) const |
|
QTextCursor | wordUnderCursor (const QTextCursor &cursor, bool selectWholeWord) const |
|
QString | wordAtPosition (int line, int index, bool selectWholeWord) const |
|
QTextCursor | wordUnderMouseCursor () const |
|
TextBlockUserData * | getTextBlockUserData (int lineIndex, bool createIfNotExist=true) |
|
TextBlockUserData * | getTextBlockUserData (QTextBlock &block, bool createIfNotExist=true) |
|
QSet< TextBlockUserData * > & | textBlockUserDataList () |
|
const QSet< TextBlockUserData * > & | textBlockUserDataList () const |
|
const TextBlockUserData * | getConstTextBlockUserData (int lineIndex) const |
|
virtual bool | removeTextBlockUserData (TextBlockUserData *userData) |
|
bool | bookmarksAvailable () const |
|
bool | breakpointsAvailable () const |
|
void | callWheelEvent (QWheelEvent *e) |
|
void | reportPositionAsGoBackNavigationItem (const QTextCursor &cursor, const QString &reason) const |
|
|
CodeEditor & | operator= (const CodeEditor &) |
|
QMenu * | contextMenu () const |
|
void | showTooltipDelayJobRunner (QList< QVariant > args) |
|
void | initSettings () |
|
void | initStyle () |
|
QString | previousLineText () const |
|
QString | currentLineText () const |
|
void | setWhitespacesFlags (bool show) |
|
void | updateTabStopAndIndentationWidth () |
|
void | updateVisibleBlocks () |
|
void | doHomeKey (QEvent *event=NULL, bool select=false) |
|
QTextCursor | moveCursorTo (int line) const |
|
virtual void | reportGoBackNavigationCursorMovement (const CursorPosition &cursor, const QString &origin) const |
|
virtual void | contextMenuAboutToShow (int contextMenuLine) |
|
virtual void | resizeEvent (QResizeEvent *e) |
|
virtual void | closeEvent (QCloseEvent *e) |
|
virtual void | keyPressEvent (QKeyEvent *e) |
|
virtual void | keyReleaseEvent (QKeyEvent *e) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
|
virtual void | mousePressEvent (QMouseEvent *e) |
|
virtual void | mouseReleaseEvent (QMouseEvent *e) |
|
virtual void | mouseMoveEvent (QMouseEvent *e) |
|
virtual void | showEvent (QShowEvent *e) |
|
virtual void | paintEvent (QPaintEvent *e) |
|
virtual void | wheelEvent (QWheelEvent *e) |
|
virtual void | contextMenuEvent (QContextMenuEvent *e) |
|
virtual void | focusInEvent (QFocusEvent *e) |
|
virtual void | focusOutEvent (QFocusEvent *e) |
|
virtual bool | eventFilter (QObject *obj, QEvent *e) |
|
virtual bool | keyPressInternalEvent (QKeyEvent *e) |
|