KTextEditor
Smart Cursors and Ranges
[Document Extension Interfaces]
If the KTextEditor implementation supports the KTextEditor::SmartInterface, there are several smart classes available.
More...
Collaboration diagram for Smart Cursors and Ranges:
![]() |
Classes | |
class | KTextEditor::SmartCursor |
A Cursor which is bound to a specific Document, and maintains its position. More... | |
class | KTextEditor::SmartCursorNotifier |
A class which provides notifications of state changes to a SmartCursor via QObject signals. More... | |
class | KTextEditor::SmartCursorWatcher |
A class which provides notifications of state changes to a SmartCursor via virtual inheritance. More... | |
class | KTextEditor::SmartRange |
A Range which is bound to a specific Document, and maintains its position. More... | |
class | KTextEditor::SmartRangeNotifier |
A class which provides notifications of state changes to a SmartRange via QObject signals. More... | |
class | KTextEditor::SmartRangeWatcher |
A class which provides notifications of state changes to a SmartRange via virtual inheritance. More... |
Detailed Description
If the KTextEditor implementation supports the KTextEditor::SmartInterface, there are several smart classes available.In general, instances of the smart classes are bound to a specific document, and maintain their position in that document regardless of changes to the text. They also provide:
- feedback on changes to their position and changes to text related to their position,
- support for the other smart interfaces, such as arbitrary highlighting, action binding, etc.
The following is a list of all classes that are available when the document supports the KTextEditor::SmartInterface: