LineIcons

text editor line icon list

Members

Functions

add
void add(LineIcon icon)

add icon mark

addAll
void addAll(LineIcon[] list)

add all icons from list

findByLineAndType
LineIcon findByLineAndType(int line, LineIconType type)

get array of icons of specified type

findByType
LineIcon[] findByType(LineIconType type)

get array of icons of specified type

findNext
LineIcon findNext(LineIconType type, int line, int direction)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
LineIcon opIndex(int index)

returns item by index, or null if index out of bounds

remove
LineIcon remove(int index)

remove icon mark by index

remove
LineIcon remove(LineIcon icon)

remove icon mark

removeByType
bool removeByType(LineIconType type)

remove all icon marks of specified type, return true if any of items removed

toggleBookmark
void toggleBookmark(int line)
Undocumented in source. Be warned that the author may not have intended to support it.
updateLinePositions
bool updateLinePositions(TextRange rangeBefore, TextRange rangeAfter, LineIcon[] moved, LineIcon[] removed)

update mark position lines after text change, returns true if any of marks were moved or removed

Properties

hasBookmarks
bool hasBookmarks [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
int length [@property getter]

returns count of items

Meta