Fix wrong selection after cut

This commit is contained in:
Krzosa Karol
2024-08-04 14:25:07 +02:00
parent 7e35e0cbed
commit e3c1bcb56e
2 changed files with 3 additions and 2 deletions

View File

@@ -616,6 +616,7 @@ void WindowCommand(Event event, Window *window, View *view) {
} else if (Ctrl(SDLK_V)) {
Command_Paste(view);
} else if (Ctrl(SDLK_X)) {
BeforeEdit(buffer, view->carets);
Command_Copy(view);
Command_Replace(view, L"");
}

View File

@@ -2,12 +2,12 @@
- I think the way sublime text and we display line highlights is confusing with multiple cursors (line highlight can be confused with selection)
- bug: Latin-1 is matched as column for some reason in ApplyRules!!
- mouse execute (right click)
- should be able click on title bar of windows which disappear on losing focus
- select space between parens,braces but make it good
- switch to previous view (ctrl + tab)
- we could rewrite kill lines with simpler commands - extend selection to encompass lines->replace
- should be able click on title bar of windows which disappear on losing focus
- search backwards
- experiment with using multiple cursors to select command and it's input
- search as a command to execute which is going to be in the title bar