Commit Graph
5146 Commits
Author SHA1 Message Date
Alex Plate 7418c6db73 Add switcher for select mode and line and block wise 2019-04-12 19:03:13 +03:00
Alex Plate 6892db0056 Enter selection mode on unexpected changes 2019-04-12 19:03:13 +03:00
Alex Plate 2f6bd2c287 Introduce select mode 2019-04-12 19:03:13 +03:00
Alex Plate 4bff954c3b Fix :join command 2019-04-12 19:03:13 +03:00
Alex Plate e70f535ad3 Fix selection with undo 2019-04-12 19:03:13 +03:00
Alex Plate da66981a1f Fix putting caret on empty line 2019-04-12 19:03:13 +03:00
Alex Plate ab9ba94dbf Add docs for new classes and functions 2019-04-12 19:03:12 +03:00
Alex Plate 0d15b9117f Log lockers, clear stack before entering visual mode 2019-04-12 19:03:12 +03:00
Alex Plate 4de8e8e291 Adjust caret to visual end in case of unexpected changes 2019-04-12 19:03:12 +03:00
Alex Plate ced99152a1 Fix visual block selection 2019-04-12 19:03:12 +03:00
Alex Plate c30cd23b89 Make VimListenerSuppressor sealed 2019-04-12 19:03:12 +03:00
Alex Plate 1e58173241 Fix ChangeVisualAction 2019-04-12 19:03:12 +03:00
Alex Plate 062d7d3f71 Fix setVisualMode for caret without selection 2019-04-12 19:03:12 +03:00
Alex Plate 284983a4a7 Move listeners to separate class 2019-04-12 19:03:11 +03:00
Alex Plate b590762259 Support block selection autodetect 2019-04-12 19:03:11 +03:00
Alex Plate 1763eb2f17 Proper visual mode exit 2019-04-12 19:03:11 +03:00
Alex Plate 5be2ca8efc Fix motion down 2019-04-12 19:03:11 +03:00
Alex Plate 826b3d6803 Handle unexpected caret events 2019-04-12 19:03:11 +03:00
Alex Plate 6852463b53 Fix visual block deletion 2019-04-12 19:03:11 +03:00
Alex Plate 9546f6069c Fix line deletion in visual mode 2019-04-12 19:03:11 +03:00
Alex Plate d65955647c Move selection functions to VisualGroup 2019-04-12 19:03:10 +03:00
Alex Plate 5200ff8e84 Move CaretData to kotlin 2019-04-12 19:03:10 +03:00
Alex Plate f1a667ae2e Move caret last column attribute to kotlin 2019-04-12 19:03:10 +03:00
Alex Plate 82682ece5e Remove unused moveCaret method 2019-04-12 19:03:10 +03:00
Alex Plate 61f9184728 Highlight only primary caret with block selection 2019-04-12 19:03:10 +03:00
Alex Plate a220be8136 Fix all tests 2019-04-12 19:03:10 +03:00
Alex Plate 11b2096dba Fix last selection type 2019-04-12 19:03:10 +03:00
Alex Plate 8370248390 Define main caret for visual block selection 2019-04-12 19:03:09 +03:00
Alex Plate f528269bc6 Fixed tests with put and yank actions 2019-04-12 19:03:09 +03:00
Alex Plate d551531603 Test fixing 2019-04-12 19:03:09 +03:00
Alex Plate 3b50bd8509 Fix tests about caret merging 2019-04-12 19:03:09 +03:00
Alex Plate 8bc73a0101 Fix word object tests 2019-04-12 19:03:09 +03:00
Alex Plate 419c15d0c3 Fixing tests 2019-04-12 19:03:09 +03:00
Alex Plate be90776588 Remove native caret order 2019-04-12 19:03:09 +03:00
Alex Plate 7c8cc16768 Fix tests for vim surround 2019-04-12 19:03:08 +03:00
Alex Plate 1596b0addc New structure of MotionEditorActionHandler 2019-04-12 19:03:08 +03:00
Alex Plate 886bbe1111 Use new struct of operation handler 2019-04-12 19:03:08 +03:00
Alex Plate de266f12a4 Set selection start non nullable. Set null value with vimSelectionStartBackingNullable 2019-04-12 19:03:08 +03:00
Alex Plate f9a5bc00e7 [WIP] Support native caret selection 2019-04-12 19:03:08 +03:00
Alex Plate 356c122767 Remove unused methods 2019-04-12 19:03:08 +03:00
Alex Plate e9b94033c5 Format VisualOperatorActionHandler 2019-04-12 19:03:07 +03:00
Alex Plate 8e1385e4e1 Remove unused data key 2019-04-12 19:03:07 +03:00
Alex Plate e881ed0d9a Update visual handlers to new handler 2019-04-12 19:03:07 +03:00
Alex Plate 26d03d49b1 Create tests for visual put action 2019-04-12 19:03:07 +03:00
Alex Plate 082a3b21e1 Use range markers instead of TextRanges for VisualOperatorActionHandler 2019-04-12 19:03:07 +03:00
Alex Plate 15e6e8435a Make extension properties to get visual range 2019-04-12 19:03:07 +03:00
Alex Plate 2d67067159 Split CopyGroup into class objects 2019-04-12 19:03:07 +03:00
Alex Plate 3fb3aaad2a Introduce new VisualOperatorActionHandler
Update visual put to new handler
2019-04-12 19:03:06 +03:00
Alex Plate 616479c4fc Use native caret iterator for VisualOperatorActionHandler 2019-04-12 19:03:06 +03:00
Alex Plate 9b4c732dca Remove unused caret data 2019-04-12 19:03:06 +03:00