apply_completion_to_text

Function apply_completion_to_text 

Source
pub fn apply_completion_to_text(
    query: &str,
    cursor_pos: usize,
    partial_word: &str,
    suggestion: &str,
) -> CompletionResult
Expand description

Apply a completion suggestion to text at cursor position Handles quoted identifiers and smart cursor positioning