2 ** Visual elements added over text.
4 // Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org>
5 // The License.txt file describes the conditions under which this software may be distributed.
20 Decoration(int indicator_
);
26 class DecorationList
{
31 Decoration
*DecorationFromIndicator(int indicator
);
32 Decoration
*Create(int indicator
, int length
);
33 void Delete(int indicator
);
34 void DeleteAnyEmpty();
42 void SetCurrentIndicator(int indicator
);
43 int GetCurrentIndicator() const { return currentIndicator
; }
45 void SetCurrentValue(int value
);
46 int GetCurrentValue() const { return currentValue
; }
48 // Returns true if some values may have changed
49 bool FillRange(int &position
, int value
, int &fillLength
);
51 void InsertSpace(int position
, int insertLength
);
52 void DeleteRange(int position
, int deleteLength
);
54 int AllOnFor(int position
);
55 int ValueAt(int indicator
, int position
);
56 int Start(int indicator
, int position
);
57 int End(int indicator
, int position
);