Skip to main content

before_cursor

Function before_cursor 

Source
fn before_cursor(content: &Content) -> Option<String>
Expand description

What is on the cursor’s line of content before the cursor, where nothing is selected: with something selected, what is typed takes its place, and completes nothing.