KTextEditor
highlightinterface.h
virtual QString highlightingModeAt(const Cursor &position)=0
Get the highlight mode used at a given position in the 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 QStringList embeddedHighlightingModes() const =0
Get all available highlighting modes for the current 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
Highlighting information interface for the Document.
Definition: highlightinterface.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.