KDevEditorUtil Class Reference
#include <kdeveditorutil.h>
Static Public Member Functions | |
static bool | currentPositionReal (unsigned int *line, unsigned int *col, KTextEditor::Document *doc, KTextEditor::View *view=0) |
static TQString | currentLine (KTextEditor::Document *doc, KTextEditor::View *view=0) |
static TQString | currentWord (KTextEditor::Document *doc, KTextEditor::View *view=0) |
static TQString | currentSelection (KTextEditor::Document *doc) |
Detailed Description
Class with some common utility operations not currently supported by KTE.
Definition at line 28 of file kdeveditorutil.h.
Member Function Documentation
◆ currentLine()
|
static |
◆ currentPositionReal()
|
static |
◆ currentSelection()
|
static |
Call to get the selection in the currently active view.
- Returns
- the selection in the currently active view
Definition at line 81 of file kdeveditorutil.cpp.
◆ currentWord()
|
static |
Call to get the text under the cursor of the currently active view.
- Returns
- the text under the cursor of the currently active view
Definition at line 53 of file kdeveditorutil.cpp.
The documentation for this class was generated from the following files: