KTextEditor
Go to the documentation of this file.
19 #ifndef KDELIBS_KTEXTEDITOR_SMARTCURSOR_H
20 #define KDELIBS_KTEXTEDITOR_SMARTCURSOR_H
29 class SmartCursorWatcher;
30 class SmartCursorNotifier;
81 virtual bool isSmartCursor()
const;
113 virtual bool atEndOfLine()
const;
120 virtual bool atEndOfDocument()
const;
126 virtual bool isValid()
const;
132 QChar character()
const;
142 virtual bool insertText(
const QStringList &text,
bool block =
false);
175 virtual bool advance(
int distance, AdvanceMode mode = ByCharacter);
195 InsertBehavior insertBehavior()
const;
202 void setInsertBehavior(InsertBehavior insertBehavior);
220 virtual bool hasNotifier()
const = 0;
242 virtual void deleteNotifier() = 0;
275 { setPosition(cursor);
return *
this; }
312 bool m_moveOnInsert : 1;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Sep 23 2014 10:03:12 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.