PieceTable

Undocumented in source.

Constructors

this
this(S initialText)
Undocumented in source.

Members

Aliases

opDollar
alias opDollar = length
Undocumented in source.

Functions

appendBuffer
size_t appendBuffer(S text)

Returns appended text length in bytes

insert
PieceRestoreRange insert(size_t insertPos, S text)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
PieceRestoreRange insert(S text)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range!char opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range!char opSlice(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
PieceRestoreRange remove(size_t removePos, size_t removeLength)

Remove sequence of text starting at index of length length

Variables

buffer
Appender!(char[]) buffer;
Undocumented in source.
pieces
PieceStorage pieces;
Undocumented in source.

Meta