diff options
author | pommicket <pommicket@gmail.com> | 2023-01-01 23:30:51 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-01 23:30:51 -0500 |
commit | 4c1c689240f9590f25b18337f2f9897b29d9e27d (patch) | |
tree | 2b84f4b87acf665b974a72378c844f1c46f2b4c8 /ide-autocomplete.c | |
parent | 7ca811b72f10ce76d0372343bde71beea3528b20 (diff) |
move string32.c into util.c
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r-- | ide-autocomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c index 76871af..1b38816 100644 --- a/ide-autocomplete.c +++ b/ide-autocomplete.c @@ -18,7 +18,7 @@ static void autocomplete_clear_completions(Ted *ted) { static void autocomplete_complete(Ted *ted, Autocompletion completion) { TextBuffer *buffer = ted->active_buffer; buffer_start_edit_chain(buffer); // don't merge with other edits - if (is_word(buffer_char_before_cursor(buffer))) + if (is32_word(buffer_char_before_cursor(buffer))) buffer_backspace_words_at_cursor(buffer, 1); // delete whatever text was already typed buffer_insert_utf8_at_cursor(buffer, completion.text); buffer_end_edit_chain(buffer); |