kakoune/test/regression
Maxime Coste 2fd42fe5fc Insert: Do not move end of line on open line (o/O)
Change the logic of open line commands so that if a selection lies
on the end of line character of the line from which we open a new
line, that selection does not move.

If we have two clients, A and B, with B's cursor on the eol character
of line L, and A hits `o` while on line L, B's cursor should stay
on the same (logical) line. Previous behaviour would make B's cursor
jump on the newly inserted line.
2018-03-04 10:32:21 +11:00
..
595-smart-search-unicode Correctly set c++ locale on startup 2016-05-10 22:06:02 +01:00
612-assertion-with-NormalBegin-hook
633-spurious-new-line-inserted-when-replacing-at-end Avoid the spurious newline insertion when replacing at end of buffer 2016-03-16 13:48:11 +00:00
638-highlight-codepoint-with-bracket Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
643-crash-on-a-@-on-specially-crafted-buffer Fix spaces_to_tabs implementation accessing past end 2016-03-30 19:27:36 +01:00
654-crash-on-undo-after-macro Fix modified range computation when erasing multiple times past current buffer end 2016-04-13 21:21:00 +01:00
699-to-eol-from-eol Do not go backward to when selecting to end of line from the end of line 2016-06-22 19:56:40 +01:00
704-crash-when-using-a-hook-on-NormalBegin-and-NormalEnd Add a regression test for #704 2016-07-11 19:46:50 +01:00
733-selection-list-from-string-not-valid Clamp selection generated in selection_list_from_string 2016-07-13 19:25:32 +01:00
743-crash-on-replace-undo Rework compute_modified_ranges 2016-07-26 23:31:23 +01:00
751-wrong-selection-after-undo Do not avoid end of lines after selecting modified ranges in undo 2016-07-27 23:53:16 +01:00
787-crash-after-S Do not allow repeating last insert when we are not in normal mode 2017-06-27 09:57:10 +01:00
809-alt-f-t-to-first-char Fix select_to_reverse to correctly handle the first character of the buffer 2016-09-19 09:20:55 +01:00
811-double-width-codepoints test: Fix UTF8 compliant locale detection 2017-02-23 18:46:56 +03:00
844-prev-word-at-buffer-start Fix select_to_previous_word with spaces at buffer start 2016-10-05 23:42:36 +01:00
860-python-incorrect-commenting Remove a script loaded in a test that's not required anymore 2016-10-15 13:36:19 +03:00
872-indentation-misbeahviour-c++ Remove sourcing of formatter.kak from the 872 regression test 2016-10-17 18:29:58 +01:00
918-wrong-asterisk-inserted Rework c-family /* */ comments auto insertion of prefix star 2016-11-14 21:11:20 +00:00
921-keep-empty-line-matches-all-lines Always consider end of selection is not and eol for keep 2016-11-28 21:07:24 +00:00
993-user-text-object Validate user text object desc more thorougly 2016-12-15 09:29:38 +00:00
1014-ambiguous-kak_selections Escape the backslash chars as well when joining strings 2016-12-17 05:48:42 +00:00
1051-crash-on-empty-param Add a regression test for #1051 2017-01-01 18:30:48 +00:00
1053-crash-on-deletion-and-paste Better handling of linewise inserting when we have multiple selections per line 2017-01-01 18:08:43 +00:00
1074-comment-leader-autoinsert-error Fix 1074 test case with recent indent change 2017-01-11 14:00:17 +00:00
1105-object-selection-behaviour Add regression test for #1105 2017-03-15 11:47:10 +00:00
1111-unexpected-behaviour-on-new-line-in-comment Add regression test case for #1111 2017-01-06 19:55:50 +00:00
1118-misaligned-comment-start Add 1118 regression test case 2017-01-11 22:13:05 +00:00
1129-capture-groups-are-broken Fix capture group handling 2017-01-13 00:17:31 +00:00
1195-infinite-loop-in-regex-matching Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
1227-segfault-on-option-access Correctly handle mutation of the watcher list while iterating on them 2017-02-20 13:50:30 +00:00
1233-corrent-cursor-handling-for-indent-objects Fix indent selection respect for original selection cursor position 2017-03-03 22:03:20 +00:00
1275-replaced-range-split Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
1308-wrong-behaviour-of-kak-indent-on-newline Fix generation of empty erase changes 2017-04-20 17:31:27 +01:00
1382-column-highlighter-broken-on-horizontal-scroll Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
1433-scrolloff-broken-with-soft-wrap Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
1435-misplaced-cursor-with-show_matching-hl Remove avoidance of end of lines 2018-02-25 00:05:05 +11:00
1453-show_whitespaces-highlighter-breaks-tab-alignment Remove avoidance of end of lines 2018-02-25 00:05:05 +11:00
1459-assertion-on-wrapped-long-line Move highlighters into Scopes 2017-10-28 13:43:04 +08:00
1469-assert-on-repeat-insert Do not allow repeating last insert when we are not in normal mode 2017-06-27 09:57:10 +01:00
1504-assertion-on-incorrect-pipe-use Fix assertion when replacing with empty strings 2017-07-14 13:08:29 +09:00
1518-wrong-undo-handling-with-fifo-buffers Purge history on buffer reload when NoUndo flag is on 2017-08-04 11:39:28 +07:00
1580-A-not-moving-to-eol Distinguish between modes being disabled temporarily and definitely 2017-09-28 11:11:29 +08:00
1680-crash-with-dot-and-alt-semicolon InputHandler: handle of last insert keys happening in nested modes 2017-11-08 14:39:52 +08:00
1731-wrap-hidden-buffer Wrap: try to rework and simplify the algorithms further 2017-11-28 19:04:21 +08:00
1741-scrolloff-hides-end-of-lines Window: avoid positionning window on a negative column 2017-12-15 08:17:35 +11:00
1829-unicode-as-string-delimiter Fix parsing of percent tokens with unicode separators 2018-02-06 20:29:08 +11:00
0-comment-after-command Fix command parsing bug when commenting after a command 2017-05-25 08:30:49 +01:00
0-compute-modified-range-crash Fix an assert in compute modified ranges when merging single char ranges 2017-07-14 12:42:43 +09:00
0-crash-on-backspace-at-buffer-begin Fix crash recently introduced when deleting at buffer start in insert mode 2017-06-15 17:35:48 +01:00
0-crash-on-pipe-with-selection-access Fix pipe logic in the case where the selections were accessed in the cmdline 2017-11-08 00:02:49 +08:00
0-open-below-should-not-move-cursor-on-eol Insert: Do not move end of line on open line (o/O) 2018-03-04 10:32:21 +11:00
0-replace-last-eol-with-eol Fix replacing last eol with a single eol 2017-06-26 16:16:46 +01:00
0-undo-change-at-eof Fix corner case in compute_modified_ranges 2017-06-11 12:25:12 +01:00