ViewState

constructor(state: EditorState, viewport: Viewport, visibleRanges: List<Pair<Int, Int>> = emptyList(), lineGaps: List<LineGap> = emptyList(), scrollTarget: ScrollTarget? = null)