19#ifndef KATEARBITRARYHIGHLIGHT_H
20#define KATEARBITRARYHIGHLIGHT_H
22#include "kateattribute.h"
23#include "katesupercursor.h"
37 KateArbitraryHighlightRange(KateSuperCursor* start, KateSuperCursor* end, TQObject* parent = 0L,
const char* name = 0L);
38 KateArbitraryHighlightRange(KateDocument* doc,
const KateRange& range, TQObject* parent = 0L,
const char* name = 0L);
39 KateArbitraryHighlightRange(KateDocument* doc,
const KateTextCursor& start,
const KateTextCursor& end, TQObject* parent = 0L,
const char* name = 0L);
41 virtual ~KateArbitraryHighlightRange();
43 virtual void changed() { slotTagRange(); };
45 static KateAttribute merge(TQPtrList<KateSuperRange> ranges);
60class KateArbitraryHighlight :
public TQObject
65 KateArbitraryHighlight(KateDocument* parent = 0L,
const char* name = 0L);
67 void addHighlightToDocument(KateSuperRangeList* list);
68 void addHighlightToView(KateSuperRangeList* list, KateView* view);
70 KateSuperRangeList& rangesIncluding(uint line, KateView* view = 0L);
77 void slotRangeListDeleted(TQObject* obj);
81 TQMap<KateView*, TQPtrList<KateSuperRangeList>* > m_viewHLs;
82 TQPtrList<KateSuperRangeList> m_docHLs;
The Attribute class incorporates all text decorations supported by Kate.
Represents a range of text, from the start() to the end().