Kate
katetextcursor.cpp
Go to the documentation of this file.
29 TextCursor::TextCursor (TextBuffer &buffer, const KTextEditor::Cursor &position, InsertBehavior insertBehavior)
41 TextCursor::TextCursor (TextBuffer &buffer, TextRange *range, const KTextEditor::Cursor &position, InsertBehavior insertBehavior)
void removeCursor(Kate::TextCursor *cursor)
Remove cursor from this block.
Definition: katetextblock.h:194
TextBlock * block() const
Get block this cursor belongs to, if any.
Definition: katetextcursor.h:165
void setPosition(const TextCursor &position)
Fast way to set the current cursor position to position.
Definition: katetextcursor.cpp:64
InsertBehavior
void insertCursor(Kate::TextCursor *cursor)
Insert cursor into this block.
Definition: katetextblock.h:188
int line() const
Retrieve the line on which this cursor is situated.
Definition: katetextcursor.cpp:132
virtual int line() const
KTextEditor::MovingRange * range() const
Get range this cursor belongs to, if any.
Definition: katetextcursor.cpp:147
QSharedPointer< TextLineData > TextLine
The normal world only accesses the text lines with shared pointers.
Definition: katetextline.h:443
KTextEditor::Document * document() const
Gets the document to which this cursor is bound.
Definition: katetextcursor.cpp:142
int column() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.