KTextEditor
highlightinterface.h
Go to the documentation of this file.
83 };
Highlighting information interface for the Document.
Definition: highlightinterface.h:65
virtual QStringList embeddedHighlightingModes() const =0
Get all available highlighting modes for the current document.
virtual Attribute::Ptr defaultStyle(const DefaultStyle ds) const =0
Returns the attribute used for the style ds.
virtual QList< AttributeBlock > lineAttributes(const unsigned int line)=0
Get the list of AttributeBlocks for a given line in the document.
virtual QString highlightingModeAt(const Cursor &position)=0
Get the highlight mode used at a given position in the document.
An AttributeBlock represents an Attribute with its dimension in a given line.
Definition: highlightinterface.h:106
AttributeBlock(const int _start, const int _length, const Attribute::Ptr &_attribute)
Definition: highlightinterface.h:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.