micro/internal/action
Dmytro Maluka 04143c7a89 Make Cut, Copy, CopyLine don't mess with CutLine's multi line cuts
Weird behavior is observed e.g. if we cut some lines with CutLine, then
copy some selection with Copy, then cut some other lines with CutLine,
and then paste. The pasted cliboard contains not just the lines that
were cut at the last step, but also the selection that was copied before
that.

Fix that by resetting the CutLine's repeated line cuts whenever we
copy anything to the clipboard via any other action (Cut, Copy or
CopyLine).
2024-06-09 17:11:58 +02:00
..
actions.go Make Cut, Copy, CopyLine don't mess with CutLine's multi line cuts 2024-06-09 17:11:58 +02:00
actions_other.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
actions_posix.go Fix v2 import path for go mod 2020-05-04 10:16:15 -04:00
bindings.go bindings: Small refactoring of TryBindKey() for better readability 2024-04-25 23:21:52 +02:00
bufpane.go Make Cut, Copy, CopyLine don't mess with CutLine's multi line cuts 2024-06-09 17:11:58 +02:00
command.go Relocate buffer view when reloading file (#3250) 2024-04-21 22:49:01 +02:00
defaults.go Update keybinding docs 2020-09-06 17:38:23 -04:00
defaults_darwin.go Reorganize Cut and CutLine actions 2024-06-09 17:11:58 +02:00
defaults_other.go Reorganize Cut and CutLine actions 2024-06-09 17:11:58 +02:00
events.go Introduce mouse release and mouse drag events 2023-01-29 18:21:59 +01:00
globals.go Improve comments 2021-08-21 17:58:30 -04:00
infocomplete.go action: Fix the duplication of the unknown filetype (#3258) 2024-04-19 06:01:27 +02:00
infopane.go infopane: DoKeyEvent: it is buggy, let's add a TODO for now 2024-04-25 00:30:41 +02:00
keytree.go More style improvements 2021-08-21 18:04:08 -04:00
pane.go More style improvements 2021-08-21 18:04:08 -04:00
rawpane.go Update to tcell v2 2020-09-05 14:52:35 -04:00
tab.go action: tab: Stop resize in case of mouse release while not pressed 2024-04-27 21:38:02 +02:00
terminal_supported.go Check error in terminal emulator 2020-07-27 17:43:55 -04:00
terminal_unsupported.go Use actual lua functions for callbacks instead of strings 2020-02-08 15:49:41 -05:00
termpane.go action: Provide Name() to treat TermPane as Pane 2024-04-25 23:34:39 +02:00