KTextEditor
katetextblock.h
124 * @param previousBlock previous block, if any, if we unwrap first line in block, we need to have this
125 * @param fixStartLinesStartIndex start index to fix start lines, normally this is this block or the previous one
150 * Split given block. A new block will be created and all lines starting from the given index will
165 * This is used in destructor of TextBuffer, for fast cleanup. Only stuff remaining afterwards are cursors which are
171 * Clear the block content, delete all lines, move all cursors not bound to range to given block at 0,0.
184 QVector<TextRange *> rangesForLine(int line, KTextEditor::View *view, bool rangesWithAttributeOnly) const;
QSet< TextRange * > cachedRangesForLine(int line) const
Return all ranges in this block which might intersect the given line and only span one line.
Definition: katetextblock.h:238
void insertCursor(Kate::TextCursor *cursor)
Insert cursor into this block.
Definition: katetextblock.h:205
An object representing a section of text, from one Cursor to another.
Definition: include/ktexteditor/range.h:44
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition: katetextblock.h:22
void removeCursor(Kate::TextCursor *cursor)
Remove cursor from this block.
Definition: katetextblock.h:214
bool containsRange(TextRange *range) const
Is the given range contained in this block?
Definition: katetextblock.h:191
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:48:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:48:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.