TextStyleSlice

Undocumented in source.

Members

Functions

offset
TextStyleSlice offset(int offset)

Apply some offset to the slice.

opCmp
ptrdiff_t opCmp(TextStyleSlice that)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

end
auto end;

Start and end of this slice. Start is inclusive, end is exclusive. The range may exceed text boundaries.

start
auto start;

Start and end of this slice. Start is inclusive, end is exclusive. The range may exceed text boundaries.

styleIndex
ubyte styleIndex;

Index of the style to be assigned to the text covered by this slice.

Meta