• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Member Functions | Protected Attributes

KateDocCursor Class Reference

Cursor class with a pointer to its document. More...

#include <katecursor.h>

Inheritance diagram for KateDocCursor:
KateTextCursor KateSuperCursor

List of all members.

Public Member Functions

 KateDocCursor (KateDocument *doc)
 KateDocCursor (int line, int col, KateDocument *doc)
bool validPosition (uint line, uint col)
bool validPosition ()
bool gotoNextLine ()
bool gotoPreviousLine ()
bool gotoEndOfNextLine ()
bool gotoEndOfPreviousLine ()
int nbCharsOnLineAfter ()
bool moveForward (uint nbChar)
bool moveBackward (uint nbChar)
void position (uint *line, uint *col) const
bool setPosition (uint line, uint col)
bool insertText (const TQString &text)
bool removeText (uint numberOfCharacters)
TQChar currentChar () const
uchar currentAttrib () const
bool nextNonSpaceChar ()
bool previousNonSpaceChar ()

Protected Attributes

KateDocument * m_doc

Detailed Description

Cursor class with a pointer to its document.

Definition at line 92 of file katecursor.h.


Member Function Documentation

bool KateDocCursor::nextNonSpaceChar (  ) 

Find the position (line and col) of the next char that is not a space.

If found KateDocCursor points to the found character. Otherwise to a invalid Position such that validPosition() returns false.

Returns:
True if the specified or a following character is not a space Otherwise false.

Definition at line 165 of file katecursor.cpp.

bool KateDocCursor::previousNonSpaceChar (  ) 

Find the position (line and col) of the previous char that is not a space.

If found KateDocCursor points to the found character. Otherwise to a invalid Position such that validPosition() returns false.

Returns:
True if the specified or a preceding character is not a space Otherwise false.

Definition at line 178 of file katecursor.cpp.


The documentation for this class was generated from the following files:
  • katecursor.h
  • katecursor.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kate by doxygen 1.7.1
This website is maintained by Timothy Pearson.