kate Library API Documentation

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 Methods

bool nextNonSpaceChar ()
bool previousNonSpaceChar ()

Detailed Description

Cursor class with a pointer to its document.

Definition at line 78 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 160 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 173 of file katecursor.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.2.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:37:44 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003