Jørgen Granseth
92125b49f0
Emphasize surround cursor movement in tests
2019-07-31 20:06:26 +02:00
Alex Plate
0887a57e29
[VIM-1725] Enable selection adjustment with a small delay
2019-07-30 17:52:34 +03:00
Jørgen Granseth
a6e0fbd5e6
Add the s surround action (preceding space)
...
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt#L148
2019-07-27 02:12:52 +02:00
Jørgen Granseth
c07d0353f0
Support f and F surround commands (function name)
...
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt#L138
2019-07-26 22:14:10 +02:00
Alex Plate
258557ee5d
[VIM-1713] Add possibility to get ExEntryPanel without shortcuts
2019-07-26 15:27:30 +03:00
Alex Plate
47236c1e6c
Convert VimSurroundExtenstionTest to kotlin
2019-07-25 13:28:00 +03:00
Alex Plate
5d8996dc38
WIP: Renaming file 'VimSurroundExtensionTest' with Kotlin extension
2019-07-25 13:24:00 +03:00
Alex Plate
c0fc62a1d6
[VIM-1712] Fix Y command for visual mode
2019-07-24 15:56:19 +03:00
Alex Plate
5b8d5ca72a
Add test for template notification
2019-07-18 17:39:02 +03:00
Alex Plate
40cd8b65d7
Revert "Update deprecated method"
...
This reverts commit 3ec6bb84
2019-07-18 17:25:14 +03:00
Alex Plate
3ec6bb84ee
Update deprecated method
2019-07-18 17:17:44 +03:00
Alex Plate
54544c2683
[VIM-1359] Fix behavior of i_Ctrl-W action
2019-07-18 12:32:54 +03:00
Alex Plate
cf41b8745a
Fixing execution actions from visual mode
2019-07-17 20:14:51 +03:00
Alex Plate
b9ecf20596
Reorganize tests for ex commands
2019-07-17 16:00:41 +03:00
Alex Plate
68ae03ef85
Replace behaviour to the american-style behavior
2019-07-17 14:39:09 +03:00
Alex Plate
8750c30b7d
Move to selection start/end in select mode if template is active
2019-07-17 14:34:54 +03:00
Alex Plate
b56c82cefb
Move tests to correct package
2019-07-17 12:54:43 +03:00
Alex Plate
a0ead808d5
Add tests for put with idea
2019-07-16 17:10:31 +03:00
Alex Plate
21a299cb2b
Test notifications for ideajoin and ideaput
2019-07-16 15:28:29 +03:00
Alex Plate
dc2530957f
Rename smartjoin with ideajoin
2019-07-15 14:22:36 +03:00
Alex Plate
e88dcae1a0
Rename idemarks to ideamarks
2019-07-15 14:19:48 +03:00
Alex Plate
c17ad0ef2d
Fix back search in texts with tabs
2019-07-12 16:11:59 +03:00
Alex Plate
b3eefc9e25
[VIM-1700] Add tests for some searches with tabs
2019-07-11 17:22:17 +03:00
Alex Plate
41baee7b43
Add VimFunctionMark and VimTestFunction annotations
2019-07-11 16:22:53 +03:00
Alex Plate
fc7d6589bf
Add function that converts dots to tabs in tests
2019-07-11 16:22:24 +03:00
Alex Plate
cee9c81496
[VIM-1697] Fix wrong search with tab characters
2019-07-10 19:07:10 +03:00
Alex Plate
1c01097491
Add new options test
2019-07-10 16:44:06 +03:00
Alex Plate
ae08438b7b
Reformat vimOptionTestCase
2019-07-10 14:52:09 +03:00
Alex Plate
d83bab55aa
Make tabs more viewable for developers
2019-07-10 12:50:40 +03:00
Alex Plate
91de1004e6
Fix small code smells
2019-07-05 12:22:25 +03:00
Alex Plate
19a4610373
Add tests for visual change functionality
2019-07-03 18:11:19 +03:00
Alex Plate
c24ebf3427
Create test for validating info file
2019-06-28 14:22:50 +03:00
Alex Plate
f904ceae7a
Remove bad test
2019-06-28 12:21:02 +03:00
Alex Plate
e1d4e2f526
Fix few caret position problems
2019-06-27 15:50:46 +03:00
Alex Plate
f18e317dcf
Reformat all listeners in project
2019-06-27 12:19:14 +03:00
Alex Plate
000ebfaf2f
Fix all missing @Override annotations
2019-06-25 15:20:31 +03:00
Matt Ellis
2aa45b8794
Merge branch 'master' into feature/search
2019-06-20 12:14:55 +02:00
Alex Plate
35d5eb1713
Fix tests for idea marks
2019-06-19 15:30:37 +03:00
Alex Plate
86fab38407
[VIM-959] Add idemarks option
2019-06-19 13:45:18 +03:00
Matt Ellis
866fe5cc8d
Merge branch 'master' into feature/search
2019-06-18 20:07:21 +02:00
Alex Plate
ddd37f5bee
Reformat Options file
2019-06-18 16:27:40 +03:00
Matt Ellis
b157d07b6d
Improve handling of Delete and Backspace in ex entry
2019-06-18 13:27:32 +01:00
Matt Ellis
31d30a9115
Only close ex entry with backspace if no text
2019-06-18 11:49:55 +01:00
Matt Ellis
35bcb627c2
Correctly start/reset highlighting with :s command
2019-06-15 11:21:02 +01:00
Alex Plate
fe4525b441
Add smartjoin option
2019-06-14 19:05:53 +03:00
Alex Plate
e17594a7aa
Remove VimFileEditor test case
2019-06-14 17:44:54 +03:00
Matt Ellis
416357bf27
Incsearch highlights current match if nohlsearch
...
This also fixes a bug which would return an incorrect range when searching backwards, and two matches are found on a line, one before and one after the search position. This is due to reusing a reference, rather than making a copy. This was never discovered because we only used the start offset, not the end!
2019-06-14 15:43:20 +01:00
Alex Plate
ae021ea930
Update indent for kt test files
2019-06-14 17:10:23 +03:00
Matt Ellis
32735a5e06
Fix start offset for incsearch with :s command
2019-06-14 12:20:07 +01:00
Matt Ellis
5b1d26263b
Add incsearch highlights for :substitute command
...
Includes support for :global and :vglobal for when IdeaVim adds them
2019-06-14 10:39:07 +01:00
Alex Plate
a1adb1eb43
Create noneOfEnum helper function
2019-06-11 13:15:52 +03:00
Alex Plate
778ddb0e75
Support gn text objects
2019-06-11 13:06:36 +03:00
Alex Plate
e919a026b7
Remove secondary carets on gn search
2019-06-11 12:01:56 +03:00
Alex Plate
a78f78604a
Move gn commands to motion package
2019-06-11 11:58:06 +03:00
Alex Plate
eeea093bb8
Improve performance of gn command
2019-06-11 11:49:59 +03:00
Alex Plate
4e205d078d
Merge branch 'master' into pull/134
...
# Conflicts:
# src/com/maddyhome/idea/vim/group/MotionGroup.java
2019-06-10 14:48:50 +03:00
Alex Plate
16016cb13d
[VIM-714] Fix caret vertical movements problems
2019-06-10 13:27:20 +03:00
Alex Plate
2e7f7cf642
Fix tests with visual selection
2019-06-10 11:17:12 +03:00
Matt Ellis
60f9403657
Incsearch highlights all matches + current match
2019-06-07 23:33:05 +01:00
Alex Plate
ac2f11360c
Extract some methods to CommandStateExtensions
2019-06-07 15:04:57 +03:00
Alex Plate
380156aa4b
Use star register for clipboard test
2019-06-06 16:53:09 +03:00
Alex Plate
6081f1d5ff
Merge pull request #197 from JetBrains/IdeaPut
...
VIM-25 Smart put operations (via IJ)
2019-06-06 14:08:06 +03:00
Matt Ellis
ff54bfa5b3
Merge branch 'master' into feature/search
2019-06-05 20:47:34 +01:00
Matt Ellis
22445f6df9
Add tests for hlsearch and incsearch
2019-06-05 20:24:38 +01:00
Alex Plate
272aa9513a
Replace <caret> with ${c} for kotlin tests
2019-06-05 19:00:36 +03:00
Alex Plate
4b1abfc60f
Add test for clipboard copy
2019-06-05 18:59:09 +03:00
Alex Plate
32fdbaccc3
VIM-25 Smart put operations (via IJ)
2019-06-05 15:49:31 +03:00
Matt Ellis
f3b1ddf439
Merge branch 'master' into feature/search
2019-06-03 16:42:39 +01:00
Alex Plate
1bb6345fcb
Refactor put group
2019-05-31 19:27:43 +03:00
Alex Plate
fa9b1933fa
Merge pull request #186 from JetBrains/VIM-510
...
This huge branch was created as a result of VIM-510. It provides many
changes aiming to solve the problems associated with selection.
Main changes:
Introducing select mode.
[VIM-510] Structural selection enables visual mode.
[VIM-274] During refactoring, select mode is enabled (which works almost
like normal IntelliJ IDEA selection).
2019-05-31 12:24:33 +03:00
Alex Plate
0b76e86ace
Create different method for isVisualBlock and isBlockSubMode
2019-05-30 12:26:13 +03:00
Alex Plate
52d0c44014
Fix enter action for select mode
2019-05-24 15:43:21 +03:00
Alex Plate
da7ff06734
Rename acontinue* to acontinue*
2019-05-24 11:41:40 +03:00
Alex Plate
5081ede268
[VIM-1666] properly handling of digraphs after pressing backspace
2019-05-21 15:52:17 +03:00
Alex Plate
34ec791ba3
Add VimOptionDefault to docs
2019-05-21 12:25:27 +03:00
Alex Plate
f4b80d4d80
Add docs to VimListOptionTestCase
2019-05-20 19:10:37 +03:00
Alex Plate
fcbc1773ad
Add VimListOptionTestCase for testing IdeaVim options
2019-05-20 17:34:06 +03:00
Alex Plate
4d971be732
Support End and Shift-End motions
2019-05-20 13:21:24 +03:00
Alex Plate
deff56db29
Extract handler for shifted arrows
2019-05-20 12:54:05 +03:00
Matt Ellis
9c5420c79c
Fix exception highlighting last CR in file
...
Custom implementation of offsetToCharacterPosition failed when the text range of the last CR in the file wrapped to a line that didn't exist in the editor. This caused an exception when search highlights included the last CR in the file
2019-05-19 19:40:26 +02:00
Matt Ellis
bd58802ed6
Make incsearch work with entering digraphs
2019-05-17 23:19:02 +01:00
Matt Ellis
71504d0ded
Merge branch 'master' into ideavim-search
...
# Conflicts:
# src/com/maddyhome/idea/vim/ui/ExEntryPanel.java
2019-05-17 23:00:22 +01:00
Matt Ellis
70652d445c
Fix next/prev after search word and smartcase
...
Makes sure that search word forward/backward ignores smartcase for first and subsequent searches.
2019-05-17 22:29:58 +01:00
Matt Ellis
35f96b28bc
VIM-128 Substitute works with ignorecase and smartcase
2019-05-17 22:28:40 +01:00
Alex Plate
849c0cbd49
Support shifted and non-shifter Home key
2019-05-16 17:22:47 +02:00
Alex Plate
770cc2cd72
Use !! in tests instead of ?: run
2019-05-15 19:57:17 +02:00
Alex Plate
34893e7847
Support the rest of selectmodel options
2019-05-15 18:55:56 +02:00
Alex Plate
c49d5b4ffa
Move packages to better location
2019-05-15 15:47:29 +02:00
Alex Plate
83b626b77e
Remove ExtendSelection actions
2019-05-15 13:01:18 +02:00
Alex Plate
45932d9189
Save last column during shift-motions
2019-05-15 10:25:38 +02:00
Alex Plate
fe01820f3f
Add support for key in selectmode option
2019-05-15 10:18:44 +02:00
Alex Plate
2ad4436cef
Add support for startsel in keymodel option
2019-05-15 09:59:31 +02:00
Alex Plate
ce692df94f
Fix cc command for empty document
2019-05-14 19:34:26 +03:00
Alex Plate
dbcf2acce4
Support cmd for selectmode option
2019-05-14 19:14:53 +03:00
Alex Plate
45b286206f
Replace <caret> with ${c}
2019-05-14 17:15:14 +03:00
Alex Plate
bdc9b78ec8
Merge branch 'master' into VIM-510
2019-05-14 16:51:55 +03:00
Alex Plate
25289ed4c5
Fix dot command for visual change
2019-05-14 13:20:44 +03:00
Alex Plate
2c32cbfbfd
Fix linewise change to end of document
2019-05-14 13:16:30 +03:00
Alex Plate
4196ec5093
Fix big O for visual block mode
2019-05-13 21:18:35 +03:00
Alex Plate
66dc40f6e2
[VIM-1655] Deleted in insert mode text is not yanked
2019-05-13 15:23:59 +03:00