ensureHighlight

open fun ensureHighlight(start: <Error class: unknown class>, end: <Error class: unknown class>)

Forces buffer to analyze and highlight the given area synchronously.

Note:

This is a potentially slow operation and should be used only when you need to make sure that some text not currently visible is highlighted, for instance before printing.

Parameters

start

start of the area to highlight.

end

end of the area to highlight.