Package-level declarations

Functions

Link copied to clipboard

Assert that the cursor is at pos.

Link copied to clipboard

Assert that the editor's document content equals expected.

Link copied to clipboard

Assert that the main selection has the given anchor and head.

Link copied to clipboard

Assert that the main selection covers the range from from to to.

Link copied to clipboard

Simulate pressing a key by name.

Link copied to clipboard
fun testEditorSession(doc: String = "", cursor: DocPos = DocPos.ZERO, extensions: Extension? = null): EditorSession

Create an EditorSession for testing purposes.

Link copied to clipboard

Simulate typing text at the current cursor position.