KTextEditor
markinterface.h
Go to the documentation of this file.
212 markType01= 0x1,
214 markType02= 0x2,
216 markType03= 0x4,
218 markType04= 0x8,
220 markType05= 0x10,
222 markType06= 0x20,
224 markType07= 0x40,
226 markType08= 0x80,
227 markType09= 0x100,
228 markType10= 0x200,
229 markType11= 0x400,
230 markType12= 0x800,
231 markType13= 0x1000,
232 markType14= 0x2000,
233 markType15= 0x4000,
234 markType16= 0x8000,
235 markType17= 0x10000,
236 markType18= 0x20000,
237 markType19= 0x40000,
238 markType20= 0x80000,
239 markType21= 0x100000,
240 markType22= 0x200000,
241 markType23= 0x400000,
242 markType24= 0x800000,
243 markType25= 0x1000000,
244 markType26= 0x2000000,
245 markType27= 0x4000000,
246 markType28= 0x8000000,
247 markType29= 0x10000000,
248 markType30= 0x20000000,
249 markType31= 0x40000000,
250 markType32= 0x80000000,
252 Bookmark = markType01,
253 BreakpointActive = markType02,
254 BreakpointReached = markType03,
255 BreakpointDisabled = markType04,
256 Execution = markType05,
259 };
344 MarkAdded=0,
346 };
virtual void clearMarks()=0
Clear all marks in the entire document.
void markToolTipRequested(KTextEditor::Document *document, KTextEditor::Mark mark, QPoint position, bool &handled)
The document emits this signal whenever the mark is hovered using the mouse, and the receiver may sho...
virtual void removeMark(int line, uint markType)=0
Remove the mark mask of type markType from line.
void markClicked(KTextEditor::Document *document, KTextEditor::Mark mark, bool &handled)
The document emits this signal whenever the mark is left-clicked.
virtual const QHash< int, KTextEditor::Mark * > & marks()=0
Get a hash holding all marks in the document.
virtual void addMark(int line, uint markType)=0
Add marks of type markType to line.
virtual void setMark(int line, uint markType)=0
Set the line's mark types to markType.
virtual void setMarkPixmap(MarkTypes mark, const QPixmap &pixmap)=0
Set the mark's pixmap to pixmap.
virtual void setEditableMarks(uint markMask)=0
Set the mark mask the user is allowed to toggle to markMask.
void markContextMenuRequested(KTextEditor::Document *document, KTextEditor::Mark mark, QPoint pos, bool &handled)
The document emits this signal whenever the mark is right-clicked to show a context menu.
virtual QPixmap markPixmap(MarkTypes mark) const =0
Get the mark's pixmap.
virtual void marksChanged(KTextEditor::Document *document)=0
The document emits this signal whenever a mark mask changed.
virtual QString markDescription(MarkTypes mark) const =0
Get the mark's description to text.
virtual uint editableMarks() const =0
Get, which marks can be toggled by the user.
virtual void setMarkDescription(MarkTypes mark, const QString &text)=0
Set the mark's description to text.
virtual void markChanged(KTextEditor::Document *document, KTextEditor::Mark mark, KTextEditor::MarkInterface::MarkChangeAction action)=0
The document emits this signal whenever the mark changes.
virtual void clearMark(int line)=0
Clear all marks set in the line.
static int reservedMarkersCount()
Get the number of predefined mark types we have so far.
Definition: markinterface.h:201
Error
Warning
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.