\section{Kate\-Doc\-Cursor Class Reference}
\label{classKateDocCursor}\index{KateDocCursor@{KateDocCursor}}
Cursor class with a pointer to its document.  


{\tt \#include $<$katecursor.h$>$}

Inheritance diagram for Kate\-Doc\-Cursor:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classKateDocCursor__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Kate\-Doc\-Cursor:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKateDocCursor__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Kate\-Doc\-Cursor} (Kate\-Document $\ast$doc)\label{classKateDocCursor_a0}

\item 
{\bf Kate\-Doc\-Cursor} (int line, int col, Kate\-Document $\ast$doc)\label{classKateDocCursor_a1}

\item 
bool {\bf valid\-Position} (uint line, uint col)\label{classKateDocCursor_a3}

\item 
bool {\bf valid\-Position} ()\label{classKateDocCursor_a4}

\item 
bool {\bf goto\-Next\-Line} ()\label{classKateDocCursor_a5}

\item 
bool {\bf goto\-Previous\-Line} ()\label{classKateDocCursor_a6}

\item 
bool {\bf goto\-End\-Of\-Next\-Line} ()\label{classKateDocCursor_a7}

\item 
bool {\bf goto\-End\-Of\-Previous\-Line} ()\label{classKateDocCursor_a8}

\item 
int {\bf nb\-Chars\-On\-Line\-After} ()\label{classKateDocCursor_a9}

\item 
bool {\bf move\-Forward} (uint nb\-Char)\label{classKateDocCursor_a10}

\item 
bool {\bf move\-Backward} (uint nb\-Char)\label{classKateDocCursor_a11}

\item 
void {\bf position} (uint $\ast$line, uint $\ast$col) const \label{classKateDocCursor_a12}

\item 
bool {\bf set\-Position} (uint line, uint col)\label{classKateDocCursor_a13}

\item 
bool {\bf insert\-Text} (const {\bf QString} \&text)\label{classKateDocCursor_a14}

\item 
bool {\bf remove\-Text} (uint number\-Of\-Characters)\label{classKateDocCursor_a15}

\item 
{\bf QChar} {\bf current\-Char} () const \label{classKateDocCursor_a16}

\item 
uchar {\bf current\-Attrib} () const \label{classKateDocCursor_a17}

\item 
bool {\bf next\-Non\-Space\-Char} ()
\item 
bool {\bf previous\-Non\-Space\-Char} ()
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
Kate\-Document $\ast$ {\bf m\_\-doc}\label{classKateDocCursor_p0}

\end{CompactItemize}


\subsection{Detailed Description}
Cursor class with a pointer to its document. 



Definition at line 78 of file katecursor.h.

\subsection{Member Function Documentation}
\index{KateDocCursor@{Kate\-Doc\-Cursor}!nextNonSpaceChar@{nextNonSpaceChar}}
\index{nextNonSpaceChar@{nextNonSpaceChar}!KateDocCursor@{Kate\-Doc\-Cursor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Kate\-Doc\-Cursor::next\-Non\-Space\-Char ()}\label{classKateDocCursor_a18}


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

If found Kate\-Doc\-Cursor points to the found character. Otherwise to a invalid Position such that valid\-Position() returns false. \begin{Desc}
\item[Returns:]True if the specified or a following character is not a space Otherwise false. \end{Desc}


Definition at line 165 of file katecursor.cpp.\index{KateDocCursor@{Kate\-Doc\-Cursor}!previousNonSpaceChar@{previousNonSpaceChar}}
\index{previousNonSpaceChar@{previousNonSpaceChar}!KateDocCursor@{Kate\-Doc\-Cursor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Kate\-Doc\-Cursor::previous\-Non\-Space\-Char ()}\label{classKateDocCursor_a19}


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

If found Kate\-Doc\-Cursor points to the found character. Otherwise to a invalid Position such that valid\-Position() returns false. \begin{Desc}
\item[Returns:]True if the specified or a preceding character is not a space Otherwise false. \end{Desc}


Definition at line 178 of file katecursor.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
katecursor.h\item 
katecursor.cpp\end{CompactItemize}
