.TH "KateDocCursor" kde3 "11 Jun 2005" "Version Version 3.4.1" "kate Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KateDocCursor \- Cursor class with a pointer to its document.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <katecursor.h>\fP
.PP
Inherits \fBKateTextCursor\fP.
.PP
Inherited by \fBKateSuperCursor\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKateDocCursor\fP (KateDocument *doc)"
.br
.ti -1c
.RI "\fBKateDocCursor\fP (int line, int col, KateDocument *doc)"
.br
.ti -1c
.RI "bool \fBvalidPosition\fP (uint line, uint col)"
.br
.ti -1c
.RI "bool \fBvalidPosition\fP ()"
.br
.ti -1c
.RI "bool \fBgotoNextLine\fP ()"
.br
.ti -1c
.RI "bool \fBgotoPreviousLine\fP ()"
.br
.ti -1c
.RI "bool \fBgotoEndOfNextLine\fP ()"
.br
.ti -1c
.RI "bool \fBgotoEndOfPreviousLine\fP ()"
.br
.ti -1c
.RI "int \fBnbCharsOnLineAfter\fP ()"
.br
.ti -1c
.RI "bool \fBmoveForward\fP (uint nbChar)"
.br
.ti -1c
.RI "bool \fBmoveBackward\fP (uint nbChar)"
.br
.ti -1c
.RI "void \fBposition\fP (uint *line, uint *col) const "
.br
.ti -1c
.RI "bool \fBsetPosition\fP (uint line, uint col)"
.br
.ti -1c
.RI "bool \fBinsertText\fP (const \fBQString\fP &text)"
.br
.ti -1c
.RI "bool \fBremoveText\fP (uint numberOfCharacters)"
.br
.ti -1c
.RI "\fBQChar\fP \fBcurrentChar\fP () const "
.br
.ti -1c
.RI "uchar \fBcurrentAttrib\fP () const "
.br
.ti -1c
.RI "bool \fBnextNonSpaceChar\fP ()"
.br
.ti -1c
.RI "bool \fBpreviousNonSpaceChar\fP ()"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "KateDocument * \fBm_doc\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Cursor class with a pointer to its document. 
.PP
Definition at line 78 of file katecursor.h.
.SH "Member Function Documentation"
.PP 
.SS "bool KateDocCursor::nextNonSpaceChar ()"
.PP
Find the position (line and col) of the next char that is not a space. 
.PP
If found KateDocCursor points to the found character. Otherwise to a invalid Position such that validPosition() returns false. 
.PP
\fBReturns:\fP
.RS 4
True if the specified or a following character is not a space Otherwise false. 
.RE
.PP

.PP
Definition at line 165 of file katecursor.cpp.
.SS "bool KateDocCursor::previousNonSpaceChar ()"
.PP
Find the position (line and col) of the previous char that is not a space. 
.PP
If found KateDocCursor points to the found character. Otherwise to a invalid Position such that validPosition() returns false. 
.PP
\fBReturns:\fP
.RS 4
True if the specified or a preceding character is not a space Otherwise false. 
.RE
.PP

.PP
Definition at line 178 of file katecursor.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kate Library from the source code.
