scoop:scoop.ui:0.1.0
src/text/editor/scroll_semantics.scoop
Selected production source · src/text/editor/scroll_semantics.scoop
1
package scoop.ui.text3
import scoop.ui.*4
import scoop.window.accessibility.*6
/** Borrows the existing editor viewport; editing and scrolling keep separate actions. */7
public fun SemanticsHandle.updateScrollBar(8
host: TextEditHost,9
orientation: SemanticOrientation,10
lineStep: Double = 40.0,11
properties: SemanticProperties = SemanticProperties(),12
relations: SemanticRelations = SemanticRelations()13
) {14
host.checkOpen()15
updateScrollBar(host.viewport, orientation, lineStep, properties, relations)16
}