TextEditor Namespace
The TextEditor namespace contains the base text editor and several classes which provide supporting functionality like snippets, highlighting, code assist, indentation and style, and others. More...
Header: | #include <TextEditor> |
Namespaces
namespace | Constants |
namespace | Internal |
namespace | SemanticHighlighter |
namespace | Ui |
Classes
class | BehaviorSettingsPage |
class | BehaviorSettingsPageParameters |
class | BlockRange |
class | CodeAssistant |
class | ColorScheme |
class | DisplaySettingsPage |
class | DisplaySettingsPageParameters |
class | Highlighter |
class | HighlighterSettings |
class | HighlighterSettingsPage |
class | SnippetsSettings |
class | TextDocumentManipulator |
Types
enum | AnnotationAlignment { NextToContent, NextToMargin, RightSide, BetweenLines } |
enum | AssistKind { Completion, QuickFix, FollowSymbol } |
enum | AssistReason { IdleEditor, ActivationCharacter, ExplicitlyInvoked } |
enum | CaseSensitivity { CaseInsensitive, CaseSensitive, FirstLetterCaseSensitive } |
enum | CompletionTrigger { ManualCompletion, TriggeredCompletion, AutomaticCompletion } |
enum | TextMarkRequestKind { BreakpointRequest, BookmarkRequest, TaskMarkRequest } |
enum | TextPositionOperation { CurrentPosition, EndOfLinePosition, StartOfLinePosition, AnchorPosition, EndOfDocPosition } |
enum | TextStyle { C_TEXT, C_LINK, C_SELECTION, C_LINE_NUMBER, ..., C_LAST_STYLE_SENTINEL } |
Functions
TextEditor::Q_DECL_IMPORT | formatCurrentFile(const int &command, int startPos = -1, int endPos = 0) |
TextEditor::Q_DECL_IMPORT | formatEditor(TextEditor::TextEditorWidget *editor, const int &command, int startPos = -1, int endPos = 0) |
TextEditor::Q_DECL_IMPORT | formatEditorAsync(TextEditor::TextEditorWidget *editor, const int &command, int startPos = -1, int endPos = 0) |
TextEditor::Q_DECL_IMPORT | pathComplete(const TextEditor::AssistInterface *interface, int *items, int &startPosition) |
bool | operator!=(const int &t1, const int &t2) |
bool | operator!=(const TextEditor::ColorScheme &cs1, const TextEditor::ColorScheme &cs2) |
bool | operator!=(const TextEditor::HighlighterSettings &a, const TextEditor::HighlighterSettings &b) |
bool | operator!=(const TextEditor::SnippetsSettings &a, const TextEditor::SnippetsSettings &b) |
int & | operator<<(int &, int *) |
bool | operator==(const int &t1, const int &t2) |
bool | operator==(const TextEditor::ColorScheme &cs1, const TextEditor::ColorScheme &cs2) |
bool | operator==(const TextEditor::HighlighterSettings &a, const TextEditor::HighlighterSettings &b) |
bool | operator==(const TextEditor::SnippetsSettings &a, const TextEditor::SnippetsSettings &b) |
Detailed Description
The TextEditor namespace contains the base text editor and several classes which provide supporting functionality like snippets, highlighting, code assist, indentation and style, and others.