• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Utility Library
 

KDevelop Utility Library

Static Public Member Functions | List of all members
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.

Author
Jens Dagerbo jens..nosp@m.dage.nosp@m.rbo@s.nosp@m.wipn.nosp@m.et.se

Definition at line 28 of file kdeveditorutil.h.

Member Function Documentation

◆ currentLine()

TQString KDevEditorUtil::currentLine ( KTextEditor::Document *  doc,
KTextEditor::View *  view = 0 
)
static
Parameters
doc
view
Returns

Definition at line 36 of file kdeveditorutil.cpp.

◆ currentPositionReal()

bool KDevEditorUtil::currentPositionReal ( unsigned int *  line,
unsigned int *  col,
KTextEditor::Document *  doc,
KTextEditor::View *  view = 0 
)
static
Parameters
line
col
doc
view
Returns

Definition at line 20 of file kdeveditorutil.cpp.

◆ currentSelection()

TQString KDevEditorUtil::currentSelection ( KTextEditor::Document *  doc)
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()

TQString KDevEditorUtil::currentWord ( KTextEditor::Document *  doc,
KTextEditor::View *  view = 0 
)
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:
  • kdeveditorutil.h
  • kdeveditorutil.cpp

KDevelop Utility Library

Skip menu "KDevelop Utility Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDevelop Utility Library

Skip menu "KDevelop Utility Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Utility Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.