test

val test: (from: DocPos, to: DocPos, state: EditorState) -> Boolean?

Parameters

test

Optional filter callback. When set, only matches for which test(from, to, state) returns true are included.