Matt Ellis
982d6921cb
Fix formatting
2021-06-24 10:13:36 +03:00
Matt Ellis
bb28b76a5b
Support % as shortcut for file name in filter
2021-06-24 10:13:36 +03:00
Matt Ellis
67fed0da9e
[VIM-1566] Use OS shell to execute filter command
2021-06-24 10:13:36 +03:00
Matt Ellis
e3cf50b4c9
[VIM-1357] Invoke shell filter commands with proper path and argument handling
...
Also moves the filter command out of a write action, and under a cancellable modal progress dialog. Any errors are substituted into the text, as per Vim.
Fixes #VIM-1357
2021-06-24 10:13:36 +03:00
Matt Ellis
9f46e1960e
Fix typo
2021-06-10 13:51:43 +01:00
Matt Ellis
e93a619859
Make ListOption generic + create StringListOption
2021-06-10 13:51:23 +01:00
Matt Ellis
287ba7055e
Simplify BoundedListOption
2021-06-10 11:29:20 +01:00
Matt Ellis
dfbec1f23a
Rename "bound" options to "bounded"
2021-06-10 11:18:57 +01:00
Matt Ellis
55dedb4c4d
Remove resetShape method
...
We should avoid setting the shape explicitly, and let it update when the mode changes.
Note that shape can affect the visual position of the caret around inlays (e.g. 'a' at the end of a rename hotspot with a trailing inlay for options will remain in between the text and the inlay, while 'l' in command mode will move after the inlay. Both positions are at the same text offset). We should still avoid explicitly setting shape before moving the caret. We can't guarantee the order of changing mode and moving the caret, so we update the visual position at the current offset when changing mode. (We're also currently using mode as an assumption of shape)
2021-06-10 11:05:41 +01:00
Matt Ellis
9c71b444c6
Update caret visual attributes when mode changes
...
Removes updateCaretState and unnecessary usages
2021-06-05 01:04:01 +01:00
Matt Ellis
e859b1c131
Remove resetCaret
2021-06-05 00:33:04 +01:00
Matt Ellis
6c4bd9cc10
Refactor caret shape functions
2021-06-05 00:21:58 +01:00
Matt Ellis
b50281f8d5
Extract caret shape methods to helper
2021-06-05 00:14:10 +01:00
Matt Ellis
2be0f5cedb
Reset caret visual position after mode changes
...
Fixes an issue where the caret was incorrectly positioned because it was moved before the mode was changed. This wasn't visible in 211 because a couple of bugs in the platform combined to put the caret in the right place.
See #280 , IDEA-262153 and KTIJ-3768
2021-06-04 17:05:03 +01:00
Matt Ellis
646a89d52a
Refactor showMode update
2021-06-04 16:45:07 +01:00
Alex Plate
b5b6c8f37a
fix(sethandler): Correct presentation on settings page
2021-06-03 10:44:23 +03:00
Alex Plate
067aaa798d
setHandler: fix parsing of a mapping
2021-06-03 10:12:38 +03:00
Alex Plate
c85d7dcd7a
Do not save the executed command to history
2021-06-02 10:54:11 +03:00
Alex Plate
c1b1f1efd8
Add tests for nested global commands
2021-06-02 10:31:49 +03:00
Alex Plate
06fc25cf3b
Remove TODO
2021-06-01 16:31:40 +03:00
Alex Plate
91139005dc
Suppress some deprecated methods
2021-05-29 11:21:05 +03:00
Alex Plate
08f29bacfd
feat: Support :print command
2021-05-28 11:51:54 +03:00
Alex Plate
5a6803551b
Fix typo
2021-05-28 10:29:34 +03:00
Alex Plate
e1f0098164
Add custom inspection to use vimRunForEachCaret
2021-05-27 22:33:05 +03:00
Alex Plate
14428aaf49
Formatting
2021-05-27 22:01:49 +03:00
Alex Plate
f9ebfcc467
Use RangeMarker for marking lines
2021-05-27 12:50:48 +03:00
Alex Plate
07446309d3
Finish command even after an exception
2021-05-27 12:50:48 +03:00
Alex Plate
d2de23481a
Add clarification what is weird
2021-05-27 12:50:47 +03:00
Alex Plate
d8ead10c0f
Add gotInt variable
2021-05-27 12:50:47 +03:00
Alex Plate
6a38188602
Add tests for incorrect :g command
2021-05-27 12:50:47 +03:00
Alex Plate
13884e9524
Add error message about failed search command
2021-05-27 12:50:47 +03:00
Alex Plate
1ff629e257
Add tests for global command
2021-05-27 12:50:47 +03:00
Alex Plate
67649a1746
Extract search_regcomp function
2021-05-27 12:50:47 +03:00
Alex Plate
3a2f370c8c
Show message on missing pattern in global command
2021-05-27 12:50:46 +03:00
Alex Plate
7850508cfe
Add global busy
2021-05-27 12:50:46 +03:00
Alex Plate
e55fbe9159
Fix formatting
2021-05-26 13:47:32 +03:00
Alex Plate
8a3af47b35
Support vglobal and global!
2021-05-26 11:58:03 +03:00
Alex Plate
11dc8cf982
Execute global command
2021-05-26 10:58:27 +03:00
Alex Plate
661a6563b0
Start implementing global handler to support :g command
2021-05-25 22:38:30 +03:00
Alex Pláte
5a855659b0
Merge pull request #308 from citizenmatt/VIM-2308
...
Fix unnecessary caret movement when switching tabs
2021-05-24 11:03:08 +03:00
Alex Pláte
86296e4066
Merge pull request #261 from sharat87/extension/textobjindent
...
New extension: Indentation based text objects
2021-05-24 10:35:21 +03:00
Alex Plate
79cb90e642
Reformat update checker
2021-05-17 18:17:46 +03:00
Matt Ellis
0bde71d4dd
Merge branch 'master' into VIM-2308
2021-05-14 11:51:25 +01:00
Alex Plate
aa51dcddc6
Rename updateChecker
2021-05-14 12:16:53 +03:00
Alex Plate
8ca865e5aa
Remove redundant SAM constructors
2021-05-14 10:52:32 +03:00
Alex Plate
018e5cba83
Enable copy action only if there are things to copy
2021-05-14 09:41:55 +03:00
Alex Plate
df52f37b69
Add reset handlers action for configurable table
2021-05-14 09:27:54 +03:00
Alex Plate
bb5632c98d
Update ktlint and detekt formatting
2021-05-13 19:36:33 +03:00
Alex Plate
879a73494b
Run formatters
2021-05-13 19:34:13 +03:00
Alex Plate
edf6a04a36
Run ktlint
2021-05-13 13:55:31 +03:00