20 #ifndef __ktexteditor_markinterface_h__
21 #define __ktexteditor_markinterface_h__
23 #include <tqptrlist.h>
25 #include <kdelibs_export.h>
44 friend class PrivateMarkInterface;
50 unsigned int markInterfaceNumber ()
const;
53 void setMarkInterfaceDCOPSuffix (
const TQCString &suffix);
62 virtual uint mark (uint line) = 0;
68 virtual void setMark (uint line, uint markType) = 0;
72 virtual void clearMark (uint line) = 0;
74 virtual void addMark (uint line, uint markType) = 0;
78 virtual void removeMark (uint line, uint markType) = 0;
83 virtual TQPtrList<KTextEditor::Mark> marks () = 0;
87 virtual void clearMarks () = 0;
95 static int reservedMarkersCount();
133 markType21= 0x100000,
134 markType22= 0x200000,
135 markType23= 0x400000,
136 markType24= 0x800000,
137 markType25= 0x1000000,
138 markType26= 0x2000000,
139 markType27= 0x4000000,
140 markType28= 0x8000000,
141 markType29= 0x10000000,
142 markType30= 0x20000000,
143 markType31= 0x40000000,
144 markType32= 0x80000000,
146 Bookmark = markType01,
147 BreakpointActive = markType02,
148 BreakpointReached = markType03,
149 BreakpointDisabled = markType04,
150 Execution = markType05,
151 Warning = markType06,
159 virtual void marksChanged () = 0;
162 class PrivateMarkInterface *d;
163 static unsigned int globalMarkInterfaceNumber;
164 unsigned int myMarkInterfaceNumber;
167 KTEXTEDITOR_EXPORT MarkInterface *markInterface (
class Document *doc);