KTextEditor
smartinterface.h
Go to the documentation of this file.
197 virtual KTextEditor::Cursor translateFromRevision(const KTextEditor::Cursor& cursor, KTextEditor::SmartCursor::InsertBehavior insertBehavior = KTextEditor::SmartCursor::StayOnInsert) const;
205 virtual KTextEditor::Range translateFromRevision(const KTextEditor::Range& range, KTextEditor::SmartRange::InsertBehaviors insertBehavior = KTextEditor::SmartRange::ExpandLeft | KTextEditor::SmartRange::ExpandRight) const;
224 virtual SmartCursor* newSmartCursor(const Cursor& position = Cursor::start(), SmartCursor::InsertBehavior insertBehavior = SmartCursor::MoveOnInsert) = 0;
239 SmartCursor* newSmartCursor(int line, int column, SmartCursor::InsertBehavior insertBehavior = SmartCursor::MoveOnInsert);
292 SmartRange* newSmartRange(int startLine, int startColumn, int endLine, int endColumn, SmartRange* parent = 0L, SmartRange::InsertBehaviors insertBehavior = SmartRange::DoNotExpand);
302 virtual SmartRange* newSmartRange(SmartCursor* start, SmartCursor* end, SmartRange* parent = 0L, SmartRange::InsertBehaviors insertBehavior = SmartRange::DoNotExpand) = 0;
375 virtual void addHighlightToView(View* view, SmartRange* topRange, bool supportDynamic = false) = 0;
A class which provides customized text decorations.
Definition: attribute.h:60
A Range which is bound to a specific Document, and maintains its position.
Definition: smartrange.h:94
static Cursor start()
Returns a cursor representing the start of any document - i.e., line 0, column 0. ...
Definition: cursor.cpp:57
Expand to encapsulate new characters to the right of the range.
Definition: smartrange.h:106
A Cursor which is bound to a specific Document, and maintains its position.
Definition: smartcursor.h:65
Expand to encapsulate new characters to the left of the range.
Definition: smartrange.h:104
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
A Document extension interface for handling SmartCursors and SmartRanges.
Definition: smartinterface.h:118
A text widget with KXMLGUIClient that represents a Document.
Definition: view.h:145
Don't expand to encapsulate new characters in either direction. This is the default.
Definition: smartrange.h:102
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.