Andrey Vlasovskikh
a7137558cc
Removed unnecessary semicolons
2014-05-07 21:52:38 +04:00
Andrey Vlasovskikh
0251c5a33d
Made constants final
2014-05-07 21:52:11 +04:00
Andrey Vlasovskikh
365722ef7e
Removed redundant casts
2014-05-07 21:50:17 +04:00
Andrey Vlasovskikh
77e0c30e57
Removed unused assignments and empty conditions
2014-05-07 21:49:29 +04:00
Andrey Vlasovskikh
8a0cad765a
Fixed potential NPEs
2014-05-07 21:38:21 +04:00
Andrey Vlasovskikh
272378b800
Fixed typos and dropped commented code
2014-05-07 21:00:16 +04:00
Andrey Vlasovskikh
a34d17ff95
Fixed potential NPEs
2014-05-07 20:46:40 +04:00
Andrey Vlasovskikh
82c782e9f0
Cleanup
2014-05-07 19:40:55 +04:00
Andrey Vlasovskikh
b7b46d2fee
Removed unused code
2014-05-07 19:25:30 +04:00
Andrey Vlasovskikh
8916f0f314
Extracted more EventFacade methods
2014-05-06 20:32:42 +04:00
Andrey Vlasovskikh
8d727ef508
Extracted EventFacade.(un)registerCustomShortcutSet()
2014-05-06 19:44:35 +04:00
Andrey Vlasovskikh
fd0be10492
Extracted EventFacade.addEditorFactoryListener()
2014-05-06 19:33:35 +04:00
Andrey Vlasovskikh
a810f95101
Extracted EventFacade.*DocumentListener()
2014-05-06 19:26:36 +04:00
Andrey Vlasovskikh
8857545cf0
Introduced EventFacade for subscribing to IDE events
2014-05-06 19:18:47 +04:00
Andrey Vlasovskikh
2300c0005f
Inferred nullity annotations
2014-05-06 18:32:55 +04:00
Andrey Vlasovskikh
827b91286f
Removed unused DelegateCommandListener
...
There are no more actions marked with Command.FLAG_DELEGATE.
2014-05-06 18:04:38 +04:00
Andrey Vlasovskikh
4d8e35655d
Extracted and inlined some variables
2014-05-06 17:34:53 +04:00
Andrey Vlasovskikh
f7e6ae9f3c
Removed unused code
2014-05-06 17:15:34 +04:00
Andrey Vlasovskikh
67679843b4
Moved getShortcutKeyAction() to VimShortcutKeyAction.getInstance()
2014-05-06 17:09:12 +04:00
Andrey Vlasovskikh
d6896e4e76
VIM-690 Read initialization commands only from ~/.ideavimrc
2014-05-06 15:20:40 +04:00
Andrey Vlasovskikh
f86c24a695
VIM-683 Allow Ctrl+PgUp/PgDown to be used outside of Vim emulation
2014-05-06 14:56:10 +04:00
Andrey Vlasovskikh
b200c842b4
VIM-679 Allow \u000D\u000C as <CR> in mappings
2014-05-05 21:26:35 +04:00
Andrey Vlasovskikh
c8df52a86c
VIM-679 Allow \u0016 as an escape character for '|' in mappings
2014-05-05 20:51:39 +04:00
Andrey Vlasovskikh
b17a592c95
VIM-679 Parse characters less than \u0020 as <C-$CHAR>
2014-05-05 20:40:14 +04:00
Andrey Vlasovskikh
f71d6c7fab
VIM-679 Don't trim whitespace-like characters from command arguments
...
Characters like '\u0018' may appear in mapping commands.
2014-04-30 21:08:16 +04:00
Andrey Vlasovskikh
30cfae91c0
Removed StringHelper.escape() in favor of updated toKeyNotation()
2014-04-30 20:10:33 +04:00
Andrey Vlasovskikh
5332128852
Extracted toEscapeNotation()
2014-04-30 19:39:04 +04:00
Andrey Vlasovskikh
b593d90dff
VIM-676 Handle control characters in .vimrc as pressed, not typed keystrokes
2014-04-30 18:46:45 +04:00
Andrey Vlasovskikh
02fac3b931
Extracted executeText()
2014-04-30 17:36:18 +04:00
Andrey Vlasovskikh
44c1a2e139
Mentioned .ideavimrc in keymap update message
2014-04-29 21:53:49 +04:00
Andrey Vlasovskikh
f6cb04c7ef
VIM-674 Don't handle <Tab> in Insert mode in Vim emulation
...
It breaks several IDE actions that provide their own <Tab> handlers
like Emmet or parameters completion in RubyMine and AppCode.
2014-04-29 21:13:35 +04:00
Andrey Vlasovskikh
276755ae9d
Typo
2014-04-29 20:33:25 +04:00
Andrey Vlasovskikh
6ee0b821cc
VIM-672 Ignore mappings that contain <Plug> and <SID>
...
These mappings don't make sense to Vim emulation in IdeaVim.
2014-04-29 19:39:58 +04:00
Andrey Vlasovskikh
72dc121fcd
VIM-670 First character of a recursive mapping shouldn't be mapped again
...
The mapping's "from" keys should be a prefix of "to" keys.
2014-04-29 17:22:25 +04:00
Andrey Vlasovskikh
786c4dc817
VIM-666 Support <Bar> in Vim key notation
2014-04-29 16:47:47 +04:00
Andrey Vlasovskikh
c7cfbaed0a
Extracted Vim typed special keys map
2014-04-29 16:46:59 +04:00
Andrey Vlasovskikh
4351d5c366
VIM-666 Ignore characters after '|' in :map commands
...
Perhaps it should become a part of command parsing, since it is
possible to put several command on one line.
2014-04-29 16:40:28 +04:00
Andrey Vlasovskikh
45281adfd9
VIM-667 Ignore potentially nested lines of .vimrc based on leading whitespace
2014-04-29 14:28:35 +04:00
Andrey Vlasovskikh
0d813afc67
Don't show message about not using "Vim" keymap any longer in new installations
2014-04-29 14:09:18 +04:00
Andrey Vlasovskikh
e9e5c77cd3
VIM-661 Apply Operator pending and Visual mode mappings only at command start
2014-04-28 17:23:45 +04:00
Andrey Vlasovskikh
cc6488ee2d
Added a hyperlink for setting the IDE as a shortcut handler in case of conflicts
2014-04-28 15:57:57 +04:00
Andrey Vlasovskikh
52068198a5
VIM-665 Allow <C-C> in Insert mode when completion pop-up is active
2014-04-28 15:27:04 +04:00
Andrey Vlasovskikh
5cdcd9d4d4
Set up the vertical scroll bar on More panel in order to handle keys correctly
2014-04-25 18:06:43 +04:00
Andrey Vlasovskikh
fbeaa35d10
Use original Up/Down actions for non file-based editors
2014-04-25 17:18:08 +04:00
Andrey Vlasovskikh
3dccf1b215
Nullity and immutability
2014-04-24 18:09:53 +04:00
Andrey Vlasovskikh
035cb02362
Local class name conventions
2014-04-24 18:03:46 +04:00
Andrey Vlasovskikh
43d33a4502
Immutable local variables where possible
2014-04-24 18:01:59 +04:00
Andrey Vlasovskikh
2b6e8dc566
Fixed nullity warnings
2014-04-24 17:47:59 +04:00
Andrey Vlasovskikh
6388cc0639
Added Alex Selesse to the list of contributors
2014-04-24 17:45:06 +04:00
Andrey Vlasovskikh
00bd6d2e3a
Added |:sort| to index
2014-04-24 17:39:43 +04:00
Andrey Vlasovskikh
1f842b6d31
New IdeaVim API compatibility
2014-04-24 17:38:37 +04:00
Andrey Vlasovskikh
954d7bd14c
Merge remote-tracking branch 'selesse/vim-439'
...
Conflicts:
src/com/maddyhome/idea/vim/ex/CommandParser.java
2014-04-24 17:35:10 +04:00
Andrey Vlasovskikh
d358893579
Vim shortcuts handler is enabled for keys associated with IDE if there are no shortcut conflicts
2014-04-24 16:54:35 +04:00
Andrey Vlasovskikh
3cb40cb09d
VIM-661 Apply Normal mode mappings only at command start
2014-04-23 20:44:06 +04:00
Andrey Vlasovskikh
a4a8faedbb
Removed unused method
2014-04-22 19:47:48 +04:00
Andrey Vlasovskikh
c32fa2b53f
VIM-648 Use default keymap if there is no previous keymap in config
...
Keymap upgrade message has been improved.
2014-04-22 19:40:07 +04:00
Andrey Vlasovskikh
1d0b1791c4
VIM-651 Parse <BS> as backspace
2014-04-22 17:59:49 +04:00
Andrey Vlasovskikh
7251c8976d
Removed obsolete Vim help action for <F1>
2014-04-22 17:22:46 +04:00
Andrey Vlasovskikh
684531aaae
VIM-665 Handle Shift-char as typed uppercase keystroke, not as pressed one
2014-04-22 17:16:09 +04:00
Andrey Vlasovskikh
4a1504f9e0
VIM-660 Handle <C-Space> as pressed keystroke, not typed one
2014-04-22 16:50:46 +04:00
Andrey Vlasovskikh
ee1a6bbbd9
Updated copyright headers
2014-04-08 00:43:51 +04:00
Andrey Vlasovskikh
52c86d8c27
VIM-645 Handle '<Space>' in key mappings as a typed key, not as a pressed shortcut
2014-04-08 00:25:14 +04:00
Andrey Vlasovskikh
2a0833e3b5
Don't try to interpret '<script>' and '<expr>' key mappings
2014-04-06 03:52:39 +04:00
Andrey Vlasovskikh
6acc89331d
Ignore special arguments of 'map'
2014-04-06 03:45:36 +04:00
Andrey Vlasovskikh
35afd9b92f
Show all '<Enter>' equivalents as '<CR>'
2014-04-06 03:45:17 +04:00
Andrey Vlasovskikh
c16d83ceab
Handle '<nop>' in mappings
2014-04-05 00:25:54 +04:00
Andrey Vlasovskikh
a7820f4fd0
More special keys of Vim '<>' notation
2014-04-05 00:15:11 +04:00
Andrey Vlasovskikh
12dd338914
Fixed parsing lowercase characters in keystrokes with modifiers
2014-04-04 23:51:58 +04:00
Andrey Vlasovskikh
720d552a21
Renamed VimrcParser and VimrcCommandHandler to VimScript*
2014-04-04 22:22:25 +04:00
Andrey Vlasovskikh
a0477f499b
Added new ':source' command handler
2014-04-04 22:21:22 +04:00
Andrey Vlasovskikh
20a4639995
Show error messages after Ex exceptions where possible
2014-04-04 22:20:18 +04:00
Andrey Vlasovskikh
3d7a0e7917
Modify and re-register shortcut set required by Vim emulation after ':map'
2014-04-04 21:09:29 +04:00
Andrey Vlasovskikh
c9c1295001
Cleanup
2014-04-04 17:49:45 +04:00
Andrey Vlasovskikh
c93daf78f6
Unify ':map' and ':noremap' handlers
2014-04-04 17:35:59 +04:00
Andrey Vlasovskikh
c77812d2a8
Refactored MapHandler to be more declarative
2014-04-04 17:31:16 +04:00
Andrey Vlasovskikh
c7107b7ad7
Reuse MappingInfo for rows of key mapping table
2014-04-04 16:54:41 +04:00
Andrey Vlasovskikh
a9a28b259f
Made MappingInfo comparable
2014-04-04 16:48:15 +04:00
Andrey Vlasovskikh
5f1a1d0aa0
Show non-recursive mapping status in the output of 'map'
2014-04-04 16:46:40 +04:00
Andrey Vlasovskikh
2f5dd3f2b1
'map!' is not supported yet
2014-04-04 16:36:06 +04:00
Andrey Vlasovskikh
779909bdeb
Added support for 'noremap' commands
2014-04-04 16:35:11 +04:00
Andrey Vlasovskikh
e76bee2afa
Add 'recursive' flag to key mapping info
2014-04-04 16:30:41 +04:00
Andrey Vlasovskikh
bb9d551dad
Extracted logic from MapHandler to KeyGroup
2014-04-04 16:21:56 +04:00
Andrey Vlasovskikh
32ee6be7f9
Fixed displaying 'map' NVO mapping code
2014-04-04 00:29:52 +04:00
Andrey Vlasovskikh
33a5dd9e1c
Allow commands that start with ':' in .vimrc
2014-04-04 00:21:05 +04:00
Andrey Vlasovskikh
0c59182eb8
Show modes code for mappings
2014-04-04 00:15:57 +04:00
Andrey Vlasovskikh
391e14a05b
Output sorted map results
2014-04-04 00:09:52 +04:00
Andrey Vlasovskikh
c3259faf42
Don't read .vimrc during unit testing
2014-04-03 23:45:31 +04:00
Andrey Vlasovskikh
f588e473a1
Use unit test friendly ExOutputModel instead of ExOutputPanel
2014-04-03 23:19:14 +04:00
Andrey Vlasovskikh
a076b4d71c
Renamed MorePanel to ExOutputPanel
2014-04-03 22:58:45 +04:00
Andrey Vlasovskikh
4540c75498
Made MorePanel.activate() private
2014-04-03 22:52:42 +04:00
Andrey Vlasovskikh
239199462f
Removed unnecessary MorePanel.isActive() check
2014-04-03 22:52:00 +04:00
Andrey Vlasovskikh
b703a7eabb
Show MorePanel on every MorePanel.setText() instead of showing it explicitly after Ex commands
2014-04-03 22:49:54 +04:00
Andrey Vlasovskikh
3cafe72f8f
Removed unused code
2014-04-03 22:29:57 +04:00
Andrey Vlasovskikh
48375c37de
Removed unnecessary logging
2014-04-03 19:05:19 +04:00
Andrey Vlasovskikh
f9ceb506d7
Don't store editor's content component
2014-04-03 19:03:47 +04:00
Andrey Vlasovskikh
a7a054f4e4
Use EditorHelper.getScreenWidth() instead of MorePanel.getDisplayWidth()
2014-04-03 18:57:43 +04:00
Andrey Vlasovskikh
f8781353a2
Made MorePanel per-editor based
2014-04-03 17:41:22 +04:00
Andrey Vlasovskikh
b0760222f0
Cleanup
2014-04-03 17:12:09 +04:00
Andrey Vlasovskikh
66bcacc2c4
Show mappings in Ex output panel
2014-04-02 17:40:22 +04:00
Andrey Vlasovskikh
5868f8a2a5
Renamed pad() to rightJustify()
2014-04-02 13:41:06 +04:00
Andrey Vlasovskikh
8e54e24e03
Show not implemented message for show mappings command instead of an exception
2014-04-02 13:28:29 +04:00
Andrey Vlasovskikh
f511e6ea34
Set default editor font for Ex and More panels on every activation
2014-04-02 13:17:17 +04:00
Andrey Vlasovskikh
6c9608a9ee
Prettier border for Ex entry panel
2014-04-02 13:07:20 +04:00
Andrey Vlasovskikh
4a0f95f0f0
Removed aliases
2014-04-02 12:55:01 +04:00
Andrey Vlasovskikh
e3e7bcffa0
Added more mapping commands for various modes
2014-04-02 12:54:15 +04:00
Andrey Vlasovskikh
9340208c2c
Handle unknown special keys as simple key sequences
2014-04-02 02:12:08 +04:00
Andrey Vlasovskikh
a658b8d8bd
Handle unfinished special keys as simple key sequences
2014-04-02 02:05:57 +04:00
Andrey Vlasovskikh
0b9946eaf9
Handle '\' at the end of the mapping as regular '\'
2014-04-02 01:55:35 +04:00
Andrey Vlasovskikh
6ea255f125
Reset key mappings for each test
2014-04-02 01:54:26 +04:00
Andrey Vlasovskikh
0225975e20
Backslash is an escape character only for '\' and '<'
2014-04-02 01:43:20 +04:00
Andrey Vlasovskikh
af406c7d14
Execute key mapping commands from .vimrc
2014-04-02 00:40:46 +04:00
Andrey Vlasovskikh
a146e2c303
Prevented sharing DataContext between Swing events
2014-04-02 00:40:02 +04:00
Andrey Vlasovskikh
f285051a9a
Merge remote-tracking branch 'origin/map-commands' into map-commands
2014-04-02 00:29:20 +04:00
Andrey Vlasovskikh
936f7e5d7c
Modularized .vimrc parsing a bit
2014-04-02 00:23:35 +04:00
Andrey Vlasovskikh
463c8defa4
Added 'timeoutlen' option
2014-04-01 17:15:50 +04:00
Andrey Vlasovskikh
19f0399f28
Added 'imap' to mapping commands table
...
It's now possible to try ':imap jj <Esc>' at runtime. Reading mappings
from .vimrc is not supported yet.
2014-04-01 00:42:43 +04:00
Andrey Vlasovskikh
05436427ee
Very initial key mapping support
2014-04-01 00:20:13 +04:00
Andrey Vlasovskikh
2f6d4c9ff2
Spelling and naming conventions
2014-03-31 22:50:46 +04:00
Andrey Vlasovskikh
64790c531e
Removed unused logging and debug info
2014-03-31 22:44:07 +04:00
Andrey Vlasovskikh
9c209d2fb2
Sorted methods and attributes
2014-03-31 22:42:25 +04:00
Andrey Vlasovskikh
8420ca355b
Nullity annotations
2014-03-31 15:44:15 +04:00
Andrey Vlasovskikh
0aebcbd71e
Nullity annotations for CommandHandler.execute()
2014-03-31 15:27:40 +04:00
Andrey Vlasovskikh
13528667c8
Moved command index to the root of the package
2014-03-31 14:27:02 +04:00
Andrey Vlasovskikh
b69d475e15
Removed legacy CDATA-based XML serializer
2014-03-26 18:48:08 +04:00
Andrey Vlasovskikh
b6f840aacb
Use StringBuilder instead of StringBuffer
2014-03-26 18:45:56 +04:00
Andrey Vlasovskikh
fb72d5d782
Parse <C-x> and some special keys
2014-03-26 18:44:33 +04:00
Andrey Vlasovskikh
d4b8c09b02
Fixed broken <Enter> in inplace editors, e.g. refactorings and live templates
2014-03-26 16:48:29 +04:00
Andrey Vlasovskikh
254339037b
Merged KeyParser into KeyGroup
2014-03-26 14:36:04 +04:00
Andrey Vlasovskikh
800e3a3012
Moved shortcut conflicts state to new KeyGroup
2014-03-26 14:16:34 +04:00
Andrey Vlasovskikh
230364ac87
Removed unused code
2014-03-26 01:49:01 +04:00
Andrey Vlasovskikh
9df61bba7e
Mentioned the active keymap in the shortcut conflicts title
2014-03-26 01:43:48 +04:00
Andrey Vlasovskikh
9ee1910a01
Set up Vim handler by default and show notifications on the first use
2014-03-26 01:18:35 +04:00
Andrey Vlasovskikh
46e10e1599
Changed table column sizes
2014-03-26 01:17:52 +04:00
Andrey Vlasovskikh
ed29f7c1db
Don't use sticky balloons
2014-03-26 00:57:38 +04:00
Andrey Vlasovskikh
60f4c7b02e
Configurable shortcut conflicts in Vim Emulation settings
2014-03-25 22:58:36 +04:00
Andrey Vlasovskikh
5616723fa4
Read-only table of shortcut conflicts
2014-03-25 20:06:05 +04:00
Andrey Vlasovskikh
724698df08
Moved getKeymapConflicts() to KeyParser
2014-03-25 19:58:01 +04:00
Andrey Vlasovskikh
9bdb99d948
Initial Vim Emulation configurable with empty Shortcut Conflicts table
2014-03-25 18:16:37 +04:00
Andrey Vlasovskikh
efc340a37a
Reordered methods
2014-03-23 19:52:00 +04:00
Andrey Vlasovskikh
58548a39d3
Removed obsolete TODO item
2014-03-23 19:49:31 +04:00
Andrey Vlasovskikh
638a205b6c
Fixed loading of saved shortcut conflicts settings
2014-03-23 19:49:01 +04:00
Andrey Vlasovskikh
3031dbc600
Detect shortcut conflicts between Vim emulation and IDE keymap
2014-03-23 19:48:20 +04:00
Andrey Vlasovskikh
36dcb53e14
Cleanup
2014-03-23 15:35:16 +04:00
Andrey Vlasovskikh
1a94f4f12f
Deprecated old action registration
2014-03-22 16:32:45 +04:00
Andrey Vlasovskikh
d87a241e34
Typo
2014-03-22 16:05:30 +04:00
Andrey Vlasovskikh
ddd28c9a44
Cleanup and minor refactorings
2014-03-22 15:49:50 +04:00
Andrey Vlasovskikh
9637edf30e
Some docs
2014-03-22 15:44:24 +04:00
Andrey Vlasovskikh
b0a5e6d375
Don't reserve any shortcuts before implementing actual actions that use them
2014-03-22 15:33:33 +04:00
Andrey Vlasovskikh
6bec99b631
Moved and renamed KeyAction to VimShortcutKeyAction
2014-03-22 15:32:12 +04:00
Andrey Vlasovskikh
a95b65067d
Switched from EditorActionHandler substitution to registering custom shortcut sets for Vim-enabled editors
2014-03-22 15:29:04 +04:00
Andrey Vlasovskikh
ac5c176deb
Nullity annotations for ChangeEditorActionHandler
2014-03-20 23:30:46 +04:00
Andrey Vlasovskikh
5d385eb26d
Added parseKeysSet() helper
2014-03-20 22:43:29 +04:00
Andrey Vlasovskikh
611620555f
Initial version of shortcut conflicts settings
2014-03-20 19:38:38 +04:00
Andrey Vlasovskikh
d44412c712
Don't require a custom "Vim" keymap any longer
...
Keyboard shortcut conflicts aren't handled yet.
2014-03-20 18:18:43 +04:00
Andrey Vlasovskikh
761719fffd
Made VisualToggleCharacterModeAction a VimCommandAction
2014-03-20 16:46:53 +04:00
Andrey Vlasovskikh
3015a4a8a2
Initial version of Vim notation typed characters parsing
2014-03-20 15:58:04 +04:00
Andrey Vlasovskikh
e8f579bf74
Added Vim actions index with Javadoc links
2014-03-20 14:39:42 +04:00
Andrey Vlasovskikh
f8da48f61d
Added VimCommandAction base class for simplifying action registration
2014-03-20 14:17:14 +04:00
Andrey Vlasovskikh
5b21015f5b
Inlined action handler
2014-03-20 13:27:34 +04:00
Andrey Vlasovskikh
326d62d815
Renamed Mapping to MappingMode
2014-03-20 13:24:03 +04:00
Andrey Vlasovskikh
f5f6c92e59
Removed unused class
2014-03-19 19:56:57 +04:00
Andrey Vlasovskikh
b56654c217
Removed unused actionId field
2014-03-19 19:37:02 +04:00
Andrey Vlasovskikh
f5e8572a73
Replaced mapping int codes with Mapping enum
2014-03-19 19:34:32 +04:00
Andrey Vlasovskikh
95a395ed70
Moved Vim operation groups accessors to VimPlugin
...
VimPlugin now acts as a facade to Vim operations.
2014-03-19 18:29:42 +04:00
Andrey Vlasovskikh
c08c122ea6
Reordered methods
2014-03-19 17:55:25 +04:00
Andrey Vlasovskikh
95460df473
Reformat
2014-03-19 17:37:29 +04:00
Andrey Vlasovskikh
ab489faa56
Some overrides and deprecations
2014-03-19 17:35:39 +04:00
Andrey Vlasovskikh
48e49fe92d
Renamed AbstractEditorActionHandler to EditorActionHandlerBase
2014-03-19 16:46:48 +04:00
Andrey Vlasovskikh
441a296bde
No abstract classes for no reason
2014-03-19 16:42:23 +04:00
Andrey Vlasovskikh
7359ed74ad
Moved some actions to com.maddyhome.vim.action package
2014-03-19 16:35:22 +04:00
Andrey Vlasovskikh
dd56ec6b4c
Removed unused MakeTags CLI utility
2014-03-19 16:33:44 +04:00
Andrey Vlasovskikh
2d271008f3
Flattened com.intellij.idea.vim.handler.* package
2014-03-19 16:32:38 +04:00
Andrey Vlasovskikh
d06340ac3c
Inlined ResetModeHandler
2014-03-19 16:30:41 +04:00
Andrey Vlasovskikh
f9a67c5180
Removed unused classes
2014-03-19 16:29:35 +04:00
Andrey Vlasovskikh
b4cce0980a
Removed practically unused ActionGroup and AbstractActionGroup interfaces
2014-03-19 16:26:12 +04:00
Andrey Vlasovskikh
4a7557c5ba
Don't reset visual mode after some IntelliJ actions that operate on selections
...
These actions are: comment by block/line comment, surround with /
surround with template, move statement up/down.
The reason is simplification of action handling as a step towards
keymap-less IdeaVim configuration.
2014-03-19 14:55:08 +04:00
Andrey Vlasovskikh
4e84f056aa
Renamed KeyParser.registerAction() to KeyParser.registerIdeaAction()
2014-03-17 16:17:38 +04:00
Andrey Vlasovskikh
68f938d476
Don't override completion and live templates actions
...
This requires reconfiguring the Vim keymap.
2014-03-17 14:06:02 +04:00
Alex Selesse
6a7135d2bc
VIM-439: Implement :sort command.
...
- Supports "n", "i" and "!" arguments.
2014-02-06 08:43:55 -05:00
ik
78beef71ce
Merge remote-tracking branch 'upstream/master'
2013-12-04 13:41:41 -05:00
ik
b05892e97d
VIM-528
...
Change annotations to reflect that pp (CharPointer) is Nullable
Create check that if pp (CharPointer) is Nullable, code that could result in an NPE (NullPointerException) is not executed
Update the added tests' comments to reflect that they are for VIM-528
2013-12-02 10:42:27 -05:00
ik
f71e24d17e
VIM-528 and VIM-459
...
These 2 cases (duplicates) are fixed with this commit
Additionally, there are a couple of new test cases for search groups and substitutions.
2013-11-18 14:33:06 -05:00
Andrey Vlasovskikh
8143114a86
Revert "Fixed usages of deprecated platform API methods"
...
This reverts commit d3d63395b3
.
2013-11-15 16:36:56 +04:00
Andrey Vlasovskikh
a39a56cd39
Dropped JComboBox generics
2013-11-15 16:16:36 +04:00
Andrey Vlasovskikh
c1c076830a
Merge remote-tracking branch 'origin/master'
...
Conflicts:
build.properties
2013-11-15 16:11:53 +04:00
Andrey Vlasovskikh
d3d63395b3
Fixed usages of deprecated platform API methods
2013-11-15 16:09:57 +04:00
Andrey Vlasovskikh
5a9a53d235
Use moved ListCellRendererWrapper for compatibility with IntelliJ builds
...
132.1052+
2013-11-15 16:03:17 +04:00
Andrey Vlasovskikh
a86ef05d52
Revert "Remove editor selection after undo"
...
This reverts commit 13fc780287
.
2013-11-12 04:14:05 +04:00
Andrey Vlasovskikh
1be2d9affc
VIM-582 Fixed line comment and reformat commands with no visual selection
2013-11-12 04:12:20 +04:00
Andrey Vlasovskikh
13fc780287
Remove editor selection after undo
2013-11-08 17:56:58 +04:00
Andrey Vlasovskikh
f0c234a5de
Nullability annotations for 'cmd' parameter of execute() methods
2013-11-08 17:44:19 +04:00
Andrey Vlasovskikh
7f8050e645
Removed unused argument
2013-11-08 17:31:48 +04:00
Andrey Vlasovskikh
e8b27724c9
Nullability annotations for execute() methods of action handlers
2013-11-08 17:07:13 +04:00
Andrey Vlasovskikh
327cd2c524
EA-43519 Fixed IOOBE: EditorImpl.offsetToLogicalLine
2013-11-08 15:52:22 +04:00
Andrey Vlasovskikh
17b779b494
Launch Vim action handler for <Esc> in completion windows (VIM-193)
2013-11-07 20:33:59 +04:00
Andrey Vlasovskikh
7e30b7c7a7
Merge branch 'warning-removal'
2013-09-17 00:18:34 +04:00
Andrey Vlasovskikh
b1b8c49c43
Removed unnecessary generate actions override
2013-08-31 16:14:21 +04:00
Andrey Vlasovskikh
876c35c212
Removed old unused undo classes
2013-08-30 16:48:24 +04:00
Andrey Vlasovskikh
e758e3d457
Removed unused VimSettings
2013-08-30 16:45:42 +04:00
Andrey Vlasovskikh
91e7bfce1d
Fixed setting command count
2013-08-30 16:39:56 +04:00
Andrey Vlasovskikh
2e6c53fb52
Typos
2013-08-30 16:04:34 +04:00
Andrey Vlasovskikh
510edeb9a6
Reformat code
2013-08-30 16:03:11 +04:00
Andrey Vlasovskikh
8566e7bf46
Fixed potential NPE
2013-08-30 15:57:38 +04:00
Andrey Vlasovskikh
7dfea2feb6
Removed unused parameter
2013-08-30 15:52:13 +04:00
Andrey Vlasovskikh
fcb9de1930
@Nullable
2013-08-30 15:51:51 +04:00
Andrey Vlasovskikh
2c7a3b877c
Argument is always true
2013-08-30 15:47:37 +04:00
Andrey Vlasovskikh
e4ae7f8566
Removed unnecessary logger
2013-08-30 15:45:46 +04:00
Andrey Vlasovskikh
94f8544dfa
Removed unnecessary Ascii class
2013-08-30 15:42:08 +04:00
Andrey Vlasovskikh
0159155e1c
Removed unused ErrorHandler class
2013-08-30 15:41:21 +04:00
Andrey Vlasovskikh
b45e32dd3f
Cleanup
2013-08-12 19:40:44 +04:00
Andrey Vlasovskikh
f3d66b3356
VIM-551 Argument of ':put' is optional
2013-08-12 19:39:59 +04:00
Andrey Vlasovskikh
f21190cb24
VIM-550 ':put' creates a new line
2013-08-12 19:38:33 +04:00
Andrey Vlasovskikh
26555c6ad6
VIM-425 Read config from .ideavimrc if available
2013-08-12 17:56:32 +04:00
Andrey Vlasovskikh
d6ee29dc91
Refactored Options.loadVimrc()
2013-08-12 17:54:26 +04:00
Andrey Vlasovskikh
e6dacd0b84
Cleanup
2013-08-12 17:38:11 +04:00
Andrey Vlasovskikh
acf75ad080
Cleanup
2013-08-12 17:01:38 +04:00
Andrey Vlasovskikh
92067b2577
VIM-440 Fixed ':e' open file dialog
2013-08-12 16:59:43 +04:00
Andrey Vlasovskikh
24f197ce99
Use SwingUtilities.invokeLater() for consistency
2013-08-12 16:52:33 +04:00
Andrey Vlasovskikh
39cc7db50b
Typos
2013-08-09 00:47:05 +04:00
Andrey Vlasovskikh
510a6d12a7
Replace StringBuffer with concatenation
2013-08-09 00:44:25 +04:00
Andrey Vlasovskikh
cb8c1ea4b5
Fixed possible NPE
2013-08-09 00:43:27 +04:00
Andrey Vlasovskikh
3284102dde
Specify size in toArray()
2013-08-09 00:40:50 +04:00
Andrey Vlasovskikh
4a5457ad49
Removed unused method
2013-08-09 00:40:21 +04:00
Andrey Vlasovskikh
39ed9265d7
Converted a RegisterActions class instance into a function
2013-08-09 00:30:52 +04:00
Andrey Vlasovskikh
2fc721f220
Typo
2013-08-09 00:19:20 +04:00
Andrey Vlasovskikh
28c658810f
Split RegisterActions constructor into several methods
2013-08-09 00:18:08 +04:00
Andrey Vlasovskikh
2f2ecc252e
Updated copyright years in sources
2013-08-09 00:06:38 +04:00
Andrey Vlasovskikh
9f2613c56a
Moved RegisterActions to the root IdeaVim package
...
This class is an entry point to nearly all Vim actions, so it should be
easier to discover.
2013-08-08 23:47:00 +04:00
Andrey Vlasovskikh
7a4d900b06
VIM-98 Invoke actions in separate commands for better Undo/Redo
...
Vim actions used to be invoked inside a key typing command and didn't
have their own commands. Now they've got separate commands with unique
group IDs in order to stop them from being merged into combined
Undo/Redo steps.
The Undo/Redo behaviour still differs from Vim: typing in a single
Insert mode session is split into several Undo chunks depending on
timing. An Undo step may require one more Undo step for moving the
cursor to its position before Undo.
2013-08-08 20:56:28 +04:00
Andrey Vlasovskikh
987781f826
VIM-121 Don't move cursor while scrolling
2013-05-15 18:57:46 +04:00
Andrey Vlasovskikh
d85a41ea98
VIM-91 Enable normal <Enter> handling for one-line editors
2013-05-15 17:15:04 +04:00
Andrey Vlasovskikh
42f86a3f73
VIM-482 Added repeat buffer limits
2013-05-15 16:46:09 +04:00
Andrey Vlasovskikh
5f1e46ca82
Merge branch 'vim-479'
2013-04-06 21:59:50 +04:00
Andrey Vlasovskikh
805779144e
Fixed copying second keystrokes in Reconfigure Vim keymap
2013-04-06 21:50:12 +04:00
Andrey Vlasovskikh
c65e21708c
VIM-478 Fixed bug in reconfiguring Vim keymap based on user-defined keymaps
2013-04-06 21:21:22 +04:00
Andrey Vlasovskikh
08e546b677
Fixed NPE in VimKeyMapUtil.installKeyBoardBindings
2013-04-06 19:57:27 +04:00
Andrey Vlasovskikh
11cf8454ad
VIM-479 Don't try to put read-only editors into insert mode
2013-04-06 19:53:57 +04:00
Andrey Vlasovskikh
c3494803dc
Removed unused code
2013-04-06 18:39:56 +04:00
Andrey Vlasovskikh
c84496b942
Suggest reconfiguring keymap during update only for Macs
2013-04-06 18:12:15 +04:00
Andrey Vlasovskikh
7702d3a695
Fixed broken test
2013-04-03 04:05:37 +04:00
Andrey Vlasovskikh
fbff8ed2c0
VIM-419 Keep cursor position after 'gt' and 'gT'
2013-04-03 03:55:02 +04:00
Andrey Vlasovskikh
5b5b6188da
VIM-42 Ignore multi-character indents while recoding last insert actions
2013-04-03 00:30:26 +04:00
Andrey Vlasovskikh
ffaf2cc451
VIM-42 Handle moving cursor back and forward during autocompletion
...
Expressions like static methods (Foo.bar()) and shortcut completions (f.b for
foo.bar()) are completed using several document edits with cursor movements.
Now IdeaVim records and replays these cursor movements.
2013-04-01 20:17:30 +04:00
Andrey Vlasovskikh
dcc9b5a37e
VIM-42 Record char strokes as regular document edits
2013-04-01 17:23:33 +04:00
Andrey Vlasovskikh
1b4a51f770
VIM-42 Basic support for repeating code completion using '.' command
2013-04-01 17:10:56 +04:00
Andrey Vlasovskikh
f8d2ee2dd7
VIM-286 Note about switching key repeating on Mac OS X manually
2013-03-27 18:15:46 +04:00
Andrey Vlasovskikh
348d88d543
VIM-92 Note about resetting custom shortcuts
2013-03-27 17:54:51 +04:00
Andrey Vlasovskikh
38b859e555
VIM-472 Fixed right selection in visual character mode to be one char past line
2013-03-26 16:36:15 +04:00
Andrey Vlasovskikh
ca8026f612
VIM-404 Fixed 'O' at the first line
2013-03-26 15:51:15 +04:00
Andrey Vlasovskikh
2e0bbcc75d
Moved MacKeyRepeat to helpers
2013-03-26 02:23:27 +04:00
Andrey Vlasovskikh
2204fe6451
Fixed unit tests for updated plugin state
2013-03-26 02:21:09 +04:00
Andrey Vlasovskikh
12bc68bc02
VIM-286 Suggest enabling Mac OS X keys autorepeat only if it is not enabled
2013-03-26 02:20:30 +04:00
Andrey Vlasovskikh
290370f744
VIM-92 Don't suggest reconfiguring Vim keymap if it is not installed yet
2013-03-25 22:45:02 +04:00
Andrey Vlasovskikh
79acef46ce
VIM-286 Suggest enabling repeating keys on press and hold for Mac OS X
2013-03-25 22:44:25 +04:00
Andrey Vlasovskikh
0054eb5279
Disabled overriding second keystrokes as a workaround for Emacs keymap
2013-03-25 21:27:14 +04:00
Andrey Vlasovskikh
e0eb919e51
VIM-92 Save parent keymap after reconfiguring Vim keymap and show notification
2013-03-25 20:51:30 +04:00
Andrey Vlasovskikh
7c3d5a7946
VIM-92 Suggest to reconfigure Vim keymap using the new generation algorithm
2013-03-25 19:49:31 +04:00
Andrey Vlasovskikh
505fcf5b31
VIM-421 Fixed 'cw' at the last word in line
2013-03-13 13:48:11 -07:00
Andrey Vlasovskikh
d744d45ccd
VIM-92 Reconfigure Vim keymap by overwriting it and switching bindings without restart
2013-03-12 21:40:18 +04:00
Andrey Vlasovskikh
db5ff05bb3
VIM-92 Do not use Meta key on systems other than Mac
2013-03-12 21:38:28 +04:00
Andrey Vlasovskikh
566273fe83
Merge branch 'vim-92'
2013-03-12 16:48:31 +04:00
Andrey Vlasovskikh
decb17e665
VIM-92 Alternative shortcuts for actions with shortcuts bound to IdeaVim
...
Alternative action shortcuts are obtained from standard shortcuts by
adding Alt+, Ctrl+, Shift+, Meta+, Alt+Ctrl+, etc. to them.
2013-03-12 16:48:17 +04:00
John Lindquist
0f8cfa289d
Command-line font and font size now match editor font and font size
2013-03-10 23:47:53 -06:00
Alexander Zolotov
79df0b0594
VIM-92: Fix Vim keymap to work better in Mac OS
...
- ability to define extra shortcuts
2013-01-11 00:42:31 +04:00
Alexander Zolotov
0f88495f29
VIM-92: Fix Vim keymap to work better in Mac OS
...
- remove all static overrides from vim.xml
- introduce conflicts resolving
2013-01-08 23:19:41 +04:00
Andrey Vlasovskikh
ed5358a6d6
VIM-262 Support for paste from register in command mode
2012-12-25 22:30:52 +04:00
Andrey Vlasovskikh
7b6163c968
Refactored digraph handling in command line
2012-12-25 21:59:05 +04:00
Andrey Vlasovskikh
c4927372ec
Test for handling digraphs in command mode
2012-12-25 21:04:07 +04:00
Andrey Vlasovskikh
f3cd21009b
Fixed nullable annotation
2012-12-25 19:11:59 +04:00
Andrey Vlasovskikh
a71c75b53e
Fixed Ex command panel to run unit tests of Ex commands
2012-12-25 17:58:17 +04:00
Andrey Vlasovskikh
e11bf264b5
VIM-214 Key bindings for paste into command line
2012-12-24 23:05:38 +04:00
Andrey Vlasovskikh
db382816f5
Cleanup
2012-12-24 18:20:29 +04:00
Andrey Vlasovskikh
01732eb443
Automatic nullity annotations
2012-12-24 18:13:58 +04:00
Andrey Vlasovskikh
fc9605565a
Cleanup
2012-12-24 17:55:20 +04:00
Andrey Vlasovskikh
7d018760ca
Fixed NPE: ChangeGroup.insertRegister
2012-12-24 17:41:40 +04:00
Andrey Vlasovskikh
d52679eae8
VIM-43 Added support for the last change position mark
2012-12-24 17:39:40 +04:00
Andrey Vlasovskikh
aa9c317831
VIM-177 Added <C-]> and <C-T> to the keymap
2012-12-24 16:08:24 +04:00
Andrey Vlasovskikh
44b280962f
VIM-302 Fixed tab switching order for 'gt' and 'gT'
2012-12-24 15:08:56 +04:00
Andrey Vlasovskikh
233d318e48
Cleanup
2012-12-17 00:00:52 +04:00
Andrey Vlasovskikh
a0c52f017c
Switch to Base64 codec from Apache Commons Codec library
2012-12-16 23:47:49 +04:00
Andrey Vlasovskikh
f89d824367
VIM-400 Fixed saving special characters in settings
2012-12-16 23:32:27 +04:00
Andrey Vlasovskikh
25e631aa73
VIM-393 Fixed restoring editor state after invalid arguments with pending operators
2012-12-03 22:00:06 +04:00
Andrey Vlasovskikh
6c2dc0a048
VIM-244 Fixed 'dl' for the last character in line
2012-12-03 20:50:26 +04:00
Andrey Vlasovskikh
fde7764759
VIM-394 Fixed 'daw' for first and last words with no space at the right/left in current line
2012-12-03 20:36:57 +04:00
Andrey Vlasovskikh
fa96e5d530
Fixed 'ci"' for empty strings
2012-12-03 20:07:42 +04:00
Andrey Vlasovskikh
591317ebbe
VIM-296 Fixed 'cc' at the last line
2012-12-03 17:55:50 +04:00
Andrey Vlasovskikh
b042328b3b
VIM-392 Fixed change action at the last char in word for non-word motions
2012-12-03 16:03:11 +04:00
Andrey Vlasovskikh
0374dba8f0
VIM-314 VIM-326 Fixed left bound for 'in string' checks
2012-12-03 16:01:30 +04:00
Andrey Vlasovskikh
ef7a1eb323
VIM-390 Fixed paste a single line at the last line
2012-11-30 19:09:54 +04:00
Andrey Vlasovskikh
68b9f27a30
VIM-325 External web help for Vim
2012-11-29 21:56:48 +04:00
Andrey Vlasovskikh
db55808213
VIM-300 Fixed 'cw' at the last char of a word before next word without whitespace
2012-11-28 21:32:26 +04:00
Andrey Vlasovskikh
a95fb5e517
VIM-200 Fixed 'cw' at the last character of a word
2012-11-28 21:24:05 +04:00
Andrey Vlasovskikh
14733a1d6a
Fixed regression in moving down to the last empty line that ends with '\n'
2012-11-28 20:39:52 +04:00
Andrey Vlasovskikh
669b16fe68
VIM-105 Fixed 'w' motion for the last word in line
...
Handling of a special case in the Vim documentation for 'w'.
2012-11-28 20:18:09 +04:00
Andrey Vlasovskikh
399c42d5e4
Fixed regression in moving right to the last symbol in file in insert mode
2012-11-28 19:41:20 +04:00
Andrey Vlasovskikh
cd81ed8b15
VIM-223 Fixed AE: BaseCodeCompletionAction.actionPerformed
2012-11-28 17:33:28 +04:00
Andrey Vlasovskikh
18e2af740f
Added single and back quoted string selection
2012-11-27 20:43:10 +04:00
Andrey Vlasovskikh
51837c9e9e
Fixed right selection range of 'vi"' motion
2012-11-27 20:09:23 +04:00
Andrey Vlasovskikh
1a3b35020c
Cleanup of double quoted string selection code
2012-11-27 19:54:00 +04:00
Andrey Vlasovskikh
7ca90e97a1
Removed unnecessary context parameter
2012-11-27 17:45:40 +04:00
Andrey Vlasovskikh
6e6de46937
Merge remote-tracking branch 'poxu/vim_block_quote'
...
Conflicts:
src/com/maddyhome/idea/vim/group/MotionGroup.java
src/com/maddyhome/idea/vim/key/RegisterActions.java
2012-11-27 17:13:47 +04:00
Andrey Vlasovskikh
2186945729
Merge remote-tracking branch 'zolotov/master'
2012-11-26 18:32:41 +04:00
Andrey Vlasovskikh
c7855a98c4
VIM-331 Fixed word bounds in 'w' motion for extended latin letters
2012-11-26 16:53:32 +04:00
Andrey Vlasovskikh
5d7c578828
Fixed 'w' motion to stop at empty line
2012-11-26 15:07:02 +04:00
Andrey Vlasovskikh
dd2837ebc6
VIM-312 Fixed range and caret position after 'dw' on the last single-word line
2012-11-23 16:13:11 +04:00
Andrey Vlasovskikh
7360f964b1
Fixed 'w' motion at the last word
2012-11-22 21:22:58 +04:00
Andrey Vlasovskikh
0bf4dc1dd8
Names and typos
2012-11-22 21:11:16 +04:00
Andrey Vlasovskikh
a3f330f9d9
VIM-312 Fixed 'w' command argument for the last word in file
2012-11-22 20:02:07 +04:00
Alexander Zolotov
8199a8739f
Fix compatibility with IDEA 11
2012-11-21 03:02:15 +04:00
Alexander Zolotov
2f688704ef
Introduce couple constants in VimKeymapPanel
2012-11-21 02:42:48 +04:00
Alexander Zolotov
4e39cbd881
Fixes after VimKeyMapUtil cleanup
2012-11-21 02:42:48 +04:00
Alexander Zolotov
de3473b0a2
Little cleanup in VimKeyMapUtil.
...
- reimplement installKeyboardBindings
- reimplement reconfigureParentKeymap
- cleanup error reporting code
- reformat code (sorry ;-))
2012-11-21 02:42:48 +04:00
Andrey Vlasovskikh
054a4f9935
VIM-85 Updated bugfix to fix compilation issues and added test
2012-11-20 20:10:40 +04:00
Andrey Vlasovskikh
21df9a9ac6
Merge remote-tracking branch 'poxu/gi_bug_fix'
2012-11-20 20:03:12 +04:00
Andrey Vlasovskikh
e89e428217
Always move cursor at the beginning of the deleted range
2012-11-20 19:09:05 +04:00
Andrey Vlasovskikh
a8fbafc4ab
VIM-275 Fixed edge cases for 'i{' motion
2012-11-20 19:05:41 +04:00
Andrey Vlasovskikh
44cb5c7d5c
VIM-314 Made 'i{' motion characterwise, not linewise/characterwise in visual mode
2012-11-20 16:03:12 +04:00
Andrey Vlasovskikh
e14e4de469
VIM-326 Fixed IOOBE in delete inner block motion inside string literals
2012-11-19 18:25:15 +04:00
Andrey Vlasovskikh
b4f4bd5648
Cleanup
2012-11-14 19:53:45 +04:00
Andrey Vlasovskikh
05043571dc
VIM-157 Fixed regression in moving the cursor after '~'
2012-11-14 19:52:29 +04:00
Andrey Vlasovskikh
e074105bde
VIM-112 Delete a single previous word with <C-W> in insert mode, not all inserted words
2012-11-14 17:08:32 +04:00
Andrey Vlasovskikh
d765eb74ef
VIM-312 Fixed IOOBE in delete empty range
2012-11-13 22:44:54 +04:00
Andrey Vlasovskikh
ac654d70fa
VIM-318 Fixed executing editor commands for editors not bound to a project
2012-11-13 22:44:44 +04:00
Andrey Vlasovskikh
6eb15ecb96
Fixed command handling when motion expected, but another type of argument found
2012-11-10 03:55:10 +04:00
Andrey Vlasovskikh
fbb23714a7
Extracted argument type as enum
2012-11-10 02:10:21 +04:00
Andrey Vlasovskikh
bb0fb6e787
Extracted editor sub-mode and selection mode as enums
2012-11-09 20:30:23 +04:00
Andrey Vlasovskikh
c81b668f82
Extracted editor mode as enum
2012-11-07 16:48:05 +04:00
Andrey Vlasovskikh
a8cc087a55
Extracted command type as enum
2012-11-07 16:07:58 +04:00
Andrey Vlasovskikh
02e349802c
Cleaner toString() methods for commands and nodes
2012-11-07 14:27:30 +04:00
Andrey Vlasovskikh
2ddaa26b8f
EA-33193 Fixed access to context data from different Swing events
...
In order to set marks and jump locations we don't require a data context. We always can find the marked file via the current editor.
2012-11-02 20:01:33 +04:00
Andrey Vlasovskikh
75138e20fd
Don't show keymap configuration dialog in unit test mode
2012-10-31 18:52:38 +04:00
Andrey Vlasovskikh
0d14a46d08
VIM-289 Fixed regexp substitute when the substitution contained newlines
2012-10-29 19:41:54 +04:00
Andrey Vlasovskikh
0a079be25c
Vim compatible regexp substitutions for '\n' and '\r'
2012-10-29 18:42:29 +04:00
Andrey Vlasovskikh
b0b89e7248
Nullable annotations
2012-10-25 16:55:34 +04:00
Andrey Vlasovskikh
4b6cd9a11f
VIM-185 Fixed NPE in KeyHandler.handleKey()
2012-10-25 15:29:29 +04:00
Andrey Vlasovskikh
46b53d682d
Extracted several methods from KeyHandler.handleKey()
2012-10-25 14:51:58 +04:00
Andrey Vlasovskikh
047183e89c
Replaced an odd loop for handling digraphs with recursion
2012-10-23 21:48:59 +04:00
Andrey Vlasovskikh
7d8b3acfde
Extracted several methods from KeyHandler.handleKey()
2012-10-23 21:39:57 +04:00
Andrey Vlasovskikh
87026bda3c
Reuse StringHelper.stringToKeys()
2012-10-17 16:49:21 +04:00
Andrey Vlasovskikh
03bbc2e1f2
Immutable isRecording inside handleKey()
2012-10-17 15:49:35 +04:00
Andrey Vlasovskikh
7f4dea6846
Enum key handler state instead of integer constants
2012-10-15 17:07:53 +04:00
Andrey Vlasovskikh
dc1b393679
Cleanup and annotations
2012-10-12 19:58:17 +04:00
Andrey Vlasovskikh
a58203f0b2
VIM-146 Fixed handling of '$' in search and substitute commands
...
'$' matches an empty range at the end of a line, so in multiple matches mode the search continued forever.
2012-10-12 19:03:55 +04:00
poxu
e25fd643d2
di" ci" vi" da" ca" va" like in vim
2012-10-10 18:24:40 +04:00
Andrey Vlasovskikh
694bb9eefa
Register action for 'iW' selection
2012-10-10 17:14:16 +04:00
Andrey Vlasovskikh
5429774744
Cleanup and nullable annotations
2012-10-10 17:08:15 +04:00
Andrey Vlasovskikh
d4b202a7f4
VIM-198 Fixed indexing bug in offset normalization
...
Normalization was fixed for files that contain a newline at the end and when the normalized offset is allowed to be at the end of a line.
2012-10-10 16:53:00 +04:00
Andrey Vlasovskikh
228f0a3f31
Nullable annotations
2012-10-09 21:41:36 +04:00
Andrey Vlasovskikh
3d18c08fd4
VIM-276 T and F motions are exclusive, not inclusive
2012-10-09 21:22:00 +04:00
Andrey Vlasovskikh
e3abbf68dc
Moved SearchHelperTest into a separate test directory
2012-10-09 21:13:48 +04:00
poxu
3ed6ebde7b
Bug fix for gi behaviour
...
Bug description
Steps to reproduce
1. Open a file
2. Switch to insert mode
3. Insert any characters
4. Switch back to normal mode
5. Press gg (or move cursor to another position by any other means)
6. Press gi
Expected result:
Switch to insert mode with cursor after the last inserted character
Actual result:
Switch to insert mode with cursor before the first non space character in the line
2012-09-25 14:24:44 +04:00
Oleg Shpynov
cf407fe8da
VIM-120 Leaving insert mode causes the screen scroll to top
2012-02-16 18:15:28 +04:00
Marquis Wang
2ebd02531b
Fix move caret to next/prev paragraph/sentence
2012-01-22 16:53:35 -06:00
oleg
3ea3cc2c2a
VIM-93 IdeaVim and "Insert" button
2012-01-19 15:02:57 +04:00
oleg
f6e103bc5c
VIM-142 Keymap selection displayed over splash screen
2012-01-19 14:52:17 +04:00
oleg
3efe36f26f
VIM-152 Editor view (scrolling) jumps whenever I enter/exit insert mode
...
Possible fix. Turn on refrainFromScrolling in case if ideavim plugin is turned off.
2012-01-18 19:41:45 +04:00
oleg
3d1b275011
VIM-106 IdeaVIM plugin P doesnt work in a new file with 0 lines
2012-01-18 18:44:06 +04:00
oleg
090e4d27ca
VIM-94 Dot completely broken in 0.14.54
2012-01-17 16:52:59 +04:00
oleg
a7b2c9ed21
VIM-157 Switching case of the character under the cursor with ~ doesn't move the cursor to the right.
2012-01-16 18:31:36 +04:00
oleg
4c282a422d
VIM-160 IDEA Vim forces VIM keymap on restart
2012-01-16 16:34:22 +04:00
oleg
d2fc2f354f
EA-32923 - SIOOBE: VimKeyMapUtil.installKeyBoardBindings
2012-01-10 17:53:43 +04:00
Oleg Shpynov
a6701a8178
IOOBE fix
2011-12-08 15:27:09 +04:00
Oleg Shpynov
514d128209
Cleanup
2011-12-08 14:28:20 +04:00
Oleg Shpynov
1d3145ab83
API contract violation fix
2011-12-07 17:47:44 +04:00
Oleg Shpynov
21ce04fc46
Do not use deprecated API
2011-12-07 17:04:54 +04:00
Oleg Shpynov
5ed405da51
VIM-154 Introduce variable still conflicts with ideavim
2011-12-07 16:15:13 +04:00
Oleg Shpynov
2f2828ddd5
Revert "Get rid of reflection on ConsoleViewImpl#CONSOLE_VIEW_IN_EDITOR_VIEW after corresponding fix in IntellIJ IDEA codebase"
...
This reverts commit 31baea40a7
.
2011-12-06 21:07:49 +04:00
Oleg Shpynov
03c02923c0
VIM-99 IdeaVIM no longer works in Dialog boxes
2011-12-06 21:07:03 +04:00
Oleg Shpynov
31baea40a7
Reapply get rid of reflection on ConsoleViewImpl#CONSOLE_VIEW_IN_EDITOR_VIEW after corresponding fix in IntellIJ IDEA codebase
...
This reverts commit 2d9caabf11
.
2011-12-06 12:21:46 +04:00
Oleg Shpynov
2d9caabf11
Revert "get rid of reflection on ConsoleViewImpl#CONSOLE_VIEW_IN_EDITOR_VIEW after corresponding fix in IntellIJ IDEA codebase"
...
This reverts commit 24f3b5ec46
.
2011-12-06 12:05:46 +04:00
Oleg Shpynov
24f3b5ec46
get rid of reflection on ConsoleViewImpl#CONSOLE_VIEW_IN_EDITOR_VIEW after corresponding fix in IntellIJ IDEA codebase
2011-12-05 15:11:10 +04:00
Oleg Shpynov
7e32a2600b
VIM-135 java.lang.IndexOutOfBoundsException in SearchHelper.checkInString()
2011-12-05 12:20:31 +04:00
oleg
40660a2054
VIM-148 IDEA reports an assertion error with the VIM plugin on IDEA 11 EAP
2011-12-04 21:23:11 +04:00
oleg
66029c98f9
Cosmetics
2011-12-03 23:43:17 +04:00
Oleg Shpynov
02c9d5c536
VIM-122 Exception
2011-12-03 20:52:17 +04:00
Oleg Shpynov
36950ea4f1
VIM-113 IdeaVIM stacktrace
2011-12-03 20:39:03 +04:00
Oleg Shpynov
0486618b26
refactorings
2011-12-03 20:24:46 +04:00
Oleg Shpynov
4895f4d0a5
Cleanup
2011-12-03 19:27:57 +04:00
Oleg Shpynov
2713c1d7ad
Unify work with bundles
2011-12-03 18:27:22 +04:00
Oleg Shpynov
8b1bb2008d
More straightforward plugin keymap initialization. Do not show lots of notifications
2011-12-03 17:42:32 +04:00
Oleg Shpynov
1d36f1cb16
API cleanup
2011-12-03 16:58:06 +04:00
Oleg Shpynov
a73a9ef63e
Some refactoring + do not show notifications about reconfiguring vim keymap on startup
2011-12-03 16:44:27 +04:00
Oleg Shpynov
136ff9195e
Simplify development
2011-12-03 16:40:24 +04:00
oleg
35bebd50d7
Compatibility with IDEA 11 API
2011-08-22 14:42:46 +04:00
Oleg Shpynov
fbfbaad0c0
DRY refactoring
2011-04-20 17:50:41 +04:00
Oleg Shpynov
820774b867
Make ideavim plugin to ask for a permission to use Vim keymap on turning on.
2011-04-07 12:23:07 +04:00
Oleg Shpynov
7119c572b9
Prompt to restart IDE after changing Vim parent keymap
2011-04-05 15:01:02 +04:00
Oleg Shpynov
cb8b6f811c
Revert "VIM-78 NPE"
...
Actually that commit has broken VisualOperationDelegateActions like Comment, Format, etc.
This reverts commit 5fb5029d0c
.
2011-04-01 12:56:51 +04:00
Oleg Shpynov
6f6eb7b568
NPE fix
2011-03-29 12:32:38 +04:00
Oleg Shpynov
b3eab0cb39
Fix problem with exiting from the insert mode. Actually if we turn insert mode on for some editors, they don't have any lastinsert
2011-03-29 12:29:06 +04:00
Oleg Shpynov
1461a2b29f
Prevent extra modes in states stack
2011-03-28 12:54:16 +04:00
Oleg Shpynov
b44cad8048
Turn on completion actions
2011-03-25 19:56:18 +03:00
Oleg Shpynov
6ab95fc9d8
Do not override normal help topics action
2011-03-25 19:38:34 +03:00
Oleg Shpynov
a4b6066f66
Revert "Attempt to enable code completion functionality"
...
This reverts commit 5dabde12db
.
2011-03-25 19:31:54 +03:00
Oleg Shpynov
5dabde12db
Attempt to enable code completion functionality
2011-03-25 19:20:39 +03:00
Oleg Shpynov
7513074d40
Fix problem with broken switching insert/command mode due to multiple instert modes in states stack.
2011-03-25 17:58:10 +03:00
Oleg Shpynov
98ab5cc163
NPE fix
2011-03-25 14:43:08 +03:00
Oleg Shpynov
60392128a4
unused parameters
2011-03-25 12:54:58 +03:00
Oleg Shpynov
f6767d9b70
Yet another cleanup
2011-03-25 12:54:57 +03:00
Oleg Shpynov
fe8be41ea8
Cleanup
2011-03-24 11:31:35 +03:00
Oleg Shpynov
2239d24723
Better fix for VIM-61
2011-03-24 11:30:16 +03:00
Oleg Shpynov
ecd091d1dd
VIM-61 "enter" key not inserting new line in insert mode
2011-03-23 19:53:06 +03:00
Oleg Shpynov
d6e74cd421
VIM-79 VIM Emulator turned off: on IDEA restart Default keymap is made current, ignoring user's settings
2011-03-23 18:44:08 +03:00
Oleg Shpynov
ff6a7f41e9
cleanup
2011-03-23 17:47:41 +03:00
Oleg Shpynov
be1e1735ec
Turn on insert mode in dialogs by default
2011-03-23 12:46:17 +03:00
Oleg Shpynov
5fb5029d0c
VIM-78 NPE
2011-03-23 11:31:34 +03:00
Oleg Shpynov
e66a1d848f
VIM-76 Throwable at VimKeyMapUtil.reconfigureParentKeymap() on the first use of "Reconfigure VIM keymap" after plugin installation
2011-03-23 11:16:52 +03:00
Oleg Shpynov
b0b7b85c33
VIM-74 Reconfigure VIM Keymap: Vim Keymap settings dialog shows not current parent on opening
2011-03-22 20:30:36 +03:00
Oleg Shpynov
60829efb93
Use keymap presentable name
2011-03-22 19:17:05 +03:00
Oleg Shpynov
79e1588d12
VIM-75 Throwable at com.maddyhome.idea.vim.group.MotionGroup.removeEditorListener() on closing editor with already disabled emulation
2011-03-22 19:11:01 +03:00
Oleg Shpynov
1b2157fc57
Allow comment line action in insert/repeat mode
2011-03-22 13:18:52 +03:00
Oleg Shpynov
f3185f2d80
VIM-65 cursor keys don't work as expected when renaming variable in place
2011-03-21 20:09:52 +03:00
Oleg Shpynov
3b0491029d
VIM-73 Reconfigure VIM keymap: shortcuts of new parent keymap work only after IDEA restart
2011-03-21 19:26:38 +03:00
Oleg Shpynov
1709628cea
VIM-72 Reconfigure VIM Keymap: Vim Keymap settings dialog: Escape or system close button work like Ok
2011-03-21 19:07:44 +03:00
Oleg Shpynov
205a956703
Turn on insert mode when active lookup is invoked
2011-03-21 19:01:55 +03:00
Oleg Shpynov
917855c913
Better error reporting and exceptions handling while installing keymap
2011-03-21 13:26:37 +03:00
Oleg Shpynov
ffe7797fba
Fixed problem with ideavim keymap installation. Problem with LocalFileSystem refresh was fixed.
2011-03-21 12:40:13 +03:00
Oleg Shpynov
8bc7eb4d91
Better errors reporting
2011-03-21 11:35:05 +03:00
Oleg Shpynov
aab59021a2
Attempt to unify VIM and IntelliJ history. This should fix a whole bunch of problems with undo after autocompletions, inplace rename, multiple complex inserthandlers etc.
2011-03-18 19:04:43 +03:00
Oleg Shpynov
b547ff1859
Unused code removed
2011-03-18 19:03:02 +03:00
Oleg Shpynov
474dfa1f30
NPE fixed
2011-03-18 17:37:50 +03:00
Oleg Shpynov
424c7ab88c
refactoring
2011-03-18 15:11:40 +03:00
Oleg Shpynov
7134799cdc
VIM-33 when i am in command mode, if i switch to a different tab and then switch back, my cursor is moved to the first character of the first line.
...
Better filtering of tab switches by rectangles.
2011-03-18 15:11:18 +03:00
Oleg Shpynov
f6c5ae21c7
Do not use deprecated API
2011-03-18 13:32:12 +03:00
Oleg Shpynov
42d65943b8
Spelling
2011-03-17 18:50:53 +03:00
Oleg Shpynov
e4a48a138a
Allow reconfigure parent keymap for the VIM plugin from UI
2011-03-17 17:52:32 +03:00
Oleg Shpynov
2bb8ecd7fb
cleanup
2011-03-17 16:58:09 +03:00
Oleg Shpynov
cb446cb1d7
Cosmetics
2011-03-17 14:43:22 +03:00
Oleg Shpynov
f1a4dc0a51
Make base keymap for the ideavim configurable on startup
2011-03-17 14:14:53 +03:00
Oleg Shpynov
56a1843a67
cleanup
2011-03-17 13:45:27 +03:00
Oleg Shpynov
dd34e54987
VIM-46 OSX VIM Keymap
2011-03-16 14:20:31 +03:00
Oleg Shpynov
11a14fadd1
VIM-50 Feature request: Vim-like tab switching
2011-03-15 19:15:32 +03:00
Oleg Shpynov
9c8a7c642c
Fixed keymap switching
2011-03-15 16:54:20 +03:00
Oleg Shpynov
d859e67ba5
Saving configuration fixed
2011-03-15 16:41:26 +03:00
Oleg Shpynov
aecd3d0336
Better notifications
2011-03-15 16:36:57 +03:00
Oleg Shpynov
aab033c7c7
VIM-12 Register Vim keymap on plugin installation
...
VIM-15 Switch keymap on enabling/disabling vim support
2011-03-15 15:00:38 +03:00
Oleg Shpynov
5aa2664713
Use persistence state component instead of JDomExternalizable
2011-03-15 12:44:03 +03:00
Oleg Shpynov
caa5407dc1
cleanup
2011-03-15 12:36:03 +03:00
Oleg Shpynov
c6948dbb1c
Remove redundant code
2011-03-15 12:32:09 +03:00
Oleg Shpynov
e010c762aa
VIM-32 when i am in insert mode, if i switch to a different tab and then switch back, i am in command mode instead of insert mode.
...
VIM-33 when i am in command mode, if i switch to a different tab and then switch back, my cursor is moved to the first character of the first line.
2011-03-14 19:56:10 +03:00
Oleg Shpynov
36ba570911
Remove redundant actions
2011-03-14 19:46:27 +03:00
Oleg Shpynov
0f0b876c3f
cleanup
2011-03-14 19:30:03 +03:00
Julien Hoarau
b2aed07d3f
VIM-33 Cursor is moved to the first character when we switch tab
2011-03-11 15:14:43 +01:00
Oleg Shpynov
bc7d09e7cc
VIM-58 Feature Request:The word motion has been enhanced.
2011-03-10 13:06:02 +03:00
Oleg Shpynov
914e158530
Massive reformat code according to the IntellIJ IDEA default Java formatting settings
2011-03-10 12:51:21 +03:00
Oleg Shpynov
581720bf20
VIM-34 cursor position lost even with 'VIM Emulator' disabled.
2011-03-10 12:46:01 +03:00
Oleg Shpynov
c966475108
VIM-57 Cope with out-of-bounds cursor
2011-03-10 11:56:57 +03:00
Oleg Shpynov
2e587c4767
Make master branch uptoday after cvs2git migration
2011-03-10 11:14:48 +03:00
olegshpynov
47094cef2b
http://youtrack.jetbrains.net/issue/VIM-35
2010-03-25 16:34:16 +00:00
olegshpynov
86864ee53e
VIM-20
...
Page Up & Page Down fail in the completion list
2010-03-24 12:57:56 +00:00
olegshpynov
58a71a190b
VIM-27
...
IndexOutOfBoundsException: Wrong offset: 1; documentLength: 0; - DocumentImpl.insertString
2010-03-24 12:10:26 +00:00
olegshpynov
bc3d3bdd2b
VIM-22
...
Add/Subtract not working at end of line
2010-03-24 10:07:40 +00:00
olegshpynov
84f65fb109
Make VIM switcher dumb aware
2010-03-15 13:15:13 +00:00
olegshpynov
610b0dca1f
Missing file required for building help
2010-02-25 16:39:03 +00:00
olegshpynov
e44c36b992
Intergrate changes for MAIA branch
2010-02-25 14:19:54 +00:00
rmaddy
6ac8fb815d
Change commands in visual mode now exit visual mode.
2005-10-19 22:59:23 +00:00
rmaddy
8d99153030
Change commands in visual mode now exit visual mode.
2004-12-10 22:55:20 +00:00
rmaddy
79f33e9607
Fixed :quit command (not all forms recognized)
2004-12-10 22:31:18 +00:00
rmaddy
6b308bbdfe
Initial changes to support repeating of inserted text via the Ctrl-Space sequence.
2004-12-10 21:59:27 +00:00
rmaddy
74cc46411c
Initial changes to support repeating of inserted text via the Ctrl-Space sequence. Pass Escape to IDEA if not used by Vim.
2004-12-10 21:58:18 +00:00
rmaddy
66ac42a1b3
Can now delete blank line at end of file.
2004-10-29 05:58:05 +00:00
rmaddy
f0dbc9ce8d
Some better checking when plugin disabled/enabled. Restore cursor.
2004-10-29 05:09:58 +00:00
rmaddy
4a9da395f9
Use file type's indent size instead of tab size for indenting lines.
2004-10-29 03:42:01 +00:00
rmaddy
91a35f4a43
Fixed duplicate characters getting added to a register during recording.
2004-10-22 05:34:08 +00:00
rmaddy
aa787f47d1
Fixed *, #, e, and b commands when punctuation at end of range
2004-10-22 05:11:21 +00:00
rmaddy
77e9301a21
Fixed :class and :find
2004-07-13 16:39:37 +00:00
rmaddy
196a22c219
Fixed NPE if there is no previous search
2004-07-13 16:38:04 +00:00
rmaddy
fedcd01019
Fixed NPE when using the :q related commands. Fixed any of the ex commands for selecting a different file.
2004-06-30 05:11:59 +00:00
rmaddy
350190fa58
Add checks so this works with both 4.0.x and 4.5
2004-06-30 03:58:08 +00:00
rmaddy
8a3ca52196
Complete support of aw,aW,iw,iW text objects.
2004-06-28 22:14:52 +00:00
rmaddy
ae93e36ff6
Chages for text objects
2004-06-28 02:57:36 +00:00
rmaddy
0d3bd6086a
Changes to support text objects
2004-06-28 02:49:29 +00:00
rmaddy
a89af1d32f
Begin support of visual block mode.
2004-06-23 22:38:19 +00:00
rmaddy
d11e343c0d
Changes to fully support hlsearch and :nohlsearch.
2004-06-22 21:45:14 +00:00
rmaddy
8bc96f5b6f
*** empty log message ***
2004-06-22 21:33:26 +00:00
rmaddy
96712b60d2
Started changes for highlighted search
2004-06-21 17:29:23 +00:00
rmaddy
099d890012
Fixed BS to close ex window
2004-05-28 21:19:27 +00:00
rmaddy
46a97b3091
Fixed backspace in ex entry
2004-05-28 20:13:05 +00:00
rmaddy
7b4d5bfefc
Finished support for digraphs.
2004-05-28 20:04:22 +00:00
rmaddy
fe05156454
Completed suppor for Ctrl-k and Ctrl-v for r,t,f,T,f and insert/replace modes.
2004-05-26 22:34:56 +00:00
rmaddy
50c939a9f7
Added support for :digraph, and Ctrl-K {char1}{char2} for certain character arguments and while in insert mode.
2004-05-25 00:19:25 +00:00
rmaddy
6f087a96d5
Now allow space between range and command in : commands.
2004-05-24 03:46:12 +00:00
rmaddy
b28877b23f
Added mnemonics and a default button for the search confirmation dialog.
2004-05-24 03:11:35 +00:00
rmaddy
679fb1307a
Fixed using the O command on the first line.
2004-05-24 02:05:26 +00:00
rmaddy
cecf329832
Fixed the display of the "more" panel for some ex commands.
2004-05-24 02:00:19 +00:00
rmaddy
e2483c4146
Redid ex entry window. Put back like it was. Found much easier solution for focus problem.
2004-05-22 21:33:41 +00:00
rmaddy
e06c0aaa3b
Disable ex entry field when not being used.
2004-05-22 21:07:42 +00:00
rmaddy
e5235f54bf
Fixed <count>dw to delete correct amount of text.
2004-05-22 20:34:57 +00:00
rmaddy
45accb61f8
Tweaked show/hideToolBar to restore original state.
2004-05-22 20:33:05 +00:00
rmaddy
c197c38450
First whack at fixing dw issues
2004-05-22 00:05:46 +00:00
rmaddy
dd083fc9b4
Fixed commands like <count>cw on strings such as 1/2/3
2004-05-21 23:46:17 +00:00
rmaddy
7cf9248206
Changed ex window to use tool window. Fixes focus problem.
2004-05-21 21:08:37 +00:00
rmaddy
65f9c1f2b9
Start of changes to move ex window to toolbar
2004-05-21 19:51:52 +00:00
rmaddy
909d4d3fe3
Fixed bug for c<motion> d<motion> if motion was invalid.
2004-02-16 22:59:41 +00:00
rmaddy
9c8f526228
Need to fix focus problem after ex window goes away
2004-02-14 01:11:07 +00:00
rmaddy
44cf2538a8
Comment on event bug
2004-02-14 01:09:57 +00:00
rmaddy
3c3703720f
Fixed exception when reopening a project.
2004-02-13 18:38:29 +00:00
rmaddy
5e6433e1e3
Fixed last fix
2004-02-12 21:33:20 +00:00
rmaddy
d7bc507e2d
Add new param to deleteRange
2004-02-11 17:26:29 +00:00
rmaddy
a7df28befb
Fixed cursor position after deleting range for a change.
2004-02-11 17:25:21 +00:00
rmaddy
8d69f8ba4f
Ensure unique set of listeners
2004-02-11 17:24:40 +00:00
rmaddy
6782afc678
Deal with non-existent editors for a file
2004-02-11 16:50:51 +00:00
rmaddy
b3954913a0
Fixed moving cursor in empty file
2004-02-11 16:44:09 +00:00
rmaddy
b892719cad
Fixed special parsing of < and > commnds
2004-02-11 16:42:40 +00:00
rmaddy
61aa07ebc9
Update call to deleteRange
2004-02-11 16:36:13 +00:00
rmaddy
80bbc06268
Support for modification attempt on a read-only file.
2004-02-03 17:42:27 +00:00
rmaddy
6dbbc3f23f
Fixed exception when opening a file that has no document (such as images with ImageViewer plugin).
2004-02-02 06:16:00 +00:00
rmaddy
3838fe77cb
Fix dw, dW, d[w when on last word of a line. Fixed cW to work like cE.
2004-01-30 23:37:30 +00:00
rmaddy
da9582ed24
Fixed repeating of o and O commands.
2004-01-30 22:34:13 +00:00
rmaddy
a96ef5bb33
Move cursor properly
2004-01-30 19:40:03 +00:00
rmaddy
297c05041d
Putting text that was yanked from the last line didn't always have the newline inserted.
2004-01-30 19:36:15 +00:00
rmaddy
6081d7cff5
Fixed cursor location after undo
2004-01-30 19:24:58 +00:00
rmaddy
120a6a8e3e
Changes for Command API change
2004-01-30 06:57:44 +00:00
rmaddy
e462ed7ad6
Made isReadType and isWriteType not static.
2004-01-30 06:55:01 +00:00
rmaddy
0a7d8dd7e8
Made entering of : commands read/write
2004-01-30 06:48:28 +00:00
rmaddy
ec616d60da
Prevent some possible NPE's
2004-01-30 06:47:47 +00:00
rmaddy
c294063223
All editors of a file now display the same selection.
2004-01-28 22:57:42 +00:00
rmaddy
e7f1236b47
Fixed toggling of insert/replace modes
2004-01-28 22:42:34 +00:00
rmaddy
10a9c4c433
Forgot to check if document not found
2004-01-28 22:41:59 +00:00
rmaddy
6d65a00426
Fixed undo/restore file issue if file had been saved in the middle.
2004-01-28 21:13:39 +00:00
rmaddy
b7be4b8e74
Changes to support the command sequence r<Enter>
2004-01-28 20:13:16 +00:00
rmaddy
0dc1c756d7
Partial handling of r<Enter>
2004-01-28 01:05:45 +00:00
rmaddy
3d6328a179
Handle special key char arguments.
2004-01-28 01:05:03 +00:00
rmaddy
45ac9252f5
Imports
2004-01-28 00:41:28 +00:00
rmaddy
361725d583
Refactored a bit to be more document based than editor based.
2004-01-28 00:39:56 +00:00
rmaddy
3341686f1e
Debugging
2004-01-28 00:39:30 +00:00
rmaddy
0219df8fe7
Added some missing status bar updates.
2004-01-28 00:38:33 +00:00
rmaddy
e4894ca866
Move file reload to DocumentManager.
2004-01-28 00:37:24 +00:00
rmaddy
1ac5077c4c
More listeners
2004-01-28 00:36:59 +00:00
rmaddy
4876e908e9
Cleanup. Make visual related item document level, not editor level.
2004-01-28 00:36:25 +00:00
rmaddy
768df01a82
Cleanup
2004-01-28 00:34:05 +00:00
rmaddy
78d70b0472
Used block cursor for command mode and bar cursor for insert/replace modes.
2004-01-28 00:26:42 +00:00
rmaddy
8587a2a37b
Marks are more document based than editor based.
2004-01-28 00:26:04 +00:00
rmaddy
a6cc9070c6
Central point of control for document change listeners
2004-01-28 00:22:06 +00:00
rmaddy
e0a6d58815
Imports
2004-01-27 07:07:08 +00:00
rmaddy
5d005f9ee0
Added toString
2004-01-27 06:53:56 +00:00
rmaddy
02e97fa96b
Added offset
2004-01-27 06:53:43 +00:00
rmaddy
197036f5e7
Added isWriteType
2004-01-27 06:53:06 +00:00
rmaddy
866e36651e
Put back save and save just one file
2004-01-27 06:52:15 +00:00
rmaddy
0a54782ad9
Mark command as writeable
2004-01-27 06:51:45 +00:00
rmaddy
b56a42dac9
New parameter to leave cursor after put.
2004-01-27 06:51:04 +00:00
rmaddy
42f07af28f
Added support for filename args.
2004-01-27 06:50:19 +00:00
rmaddy
7e5d87e509
Added support for # and filename args.
2004-01-27 06:49:50 +00:00
rmaddy
56695f5930
Added some new commands
2004-01-27 06:48:47 +00:00
rmaddy
67d9ab7987
Don't run command as runnable. It already is in one. Should solve lock ups from commands like :w
2004-01-27 06:48:25 +00:00
rmaddy
0df2359753
Handle mouse clicks in line number area. Fixed several visual mode bugs.
2004-01-27 06:47:13 +00:00
rmaddy
7c896968d7
Added openFile, saveFile, findFile, selectPreviousTab.
2004-01-27 06:45:48 +00:00
rmaddy
e5de0a7604
Changes to support moving cursor after pasting text.
2004-01-27 06:44:36 +00:00
rmaddy
bb4d7293ce
Add new parameter to indicate cursor stays put.
2004-01-27 06:43:00 +00:00
rmaddy
03d35d0258
Just save one file
2004-01-27 06:41:46 +00:00
rmaddy
1b0923e475
Update for method rename.
2004-01-27 06:40:58 +00:00
rmaddy
f8a887fb11
Better parameter checking in getEditor
2004-01-27 06:39:19 +00:00
rmaddy
7e21d27a8b
Several new commands added.
2004-01-27 06:37:27 +00:00
rmaddy
075bf5b585
Now restore file on last undo.
2004-01-27 06:35:39 +00:00
rmaddy
b8c3563e3f
Tweaked handling of read vs. write commands
2004-01-27 06:32:47 +00:00
rmaddy
524d0fc4fe
Added listener for selection changes
2004-01-27 06:31:26 +00:00
rmaddy
dc7d098198
Added support for :class command
2004-01-27 06:29:36 +00:00
rmaddy
d2bcb1a957
Added support for :symbol command
2004-01-27 06:29:02 +00:00
rmaddy
74589fecd0
Added support for :wall command
2004-01-27 06:28:50 +00:00
rmaddy
ddde658d8e
Added support for z+ and z^ commands
2004-01-27 06:28:22 +00:00
rmaddy
69b53a83a6
Added support for gP and gp commands
2004-01-27 06:28:05 +00:00
rmaddy
8f2faa548f
Optimize imports
2004-01-06 04:45:28 +00:00
rmaddy
7dee879da8
Update to support Aurora 1050
2004-01-06 04:44:21 +00:00
rmaddy
6e5cb60d32
Optimize imports
2003-12-29 06:47:39 +00:00
rmaddy
37c40ced1f
Added allowEnd to normalizeVisualColumn
2003-12-29 06:32:40 +00:00
rmaddy
ffb1ef7b86
Fixed use of keys
2003-12-29 06:31:14 +00:00
rmaddy
aa8c48c58c
Added support for moving to next/previous paragraph
2003-12-29 06:28:45 +00:00
rmaddy
0e65ddb64f
Added support for { and } commands
2003-12-29 06:28:11 +00:00
rmaddy
9427955cb6
Added support for {} marks
2003-12-29 06:27:12 +00:00
rmaddy
e0e934aa21
Update calls to runWrite/ReadCommand
2003-12-28 21:37:44 +00:00
rmaddy
10c4522c11
Use newer version of executeCommand
2003-12-28 21:37:03 +00:00
rmaddy
16e8358ba1
Rewrote getVirtualFile and getProject
2003-12-28 21:36:29 +00:00
rmaddy
bc6cd9d194
Updated calls to runWrite/ReadCommand
2003-12-28 21:34:59 +00:00
rmaddy
b070dc42e1
Removed unused code.
2003-12-28 21:33:48 +00:00
rmaddy
d8398a7bff
Changes to support aurora build 992
2003-12-24 22:16:56 +00:00
rmaddy
2963053472
Changes to work under aurora 963
2003-12-24 22:08:54 +00:00
rmaddy
60e2a8888d
Changes to support Aurora
2003-10-01 06:08:34 +00:00
rmaddy
adfc89e799
Workaround for :w deadlock - don't actually write for now
2003-08-06 04:13:56 +00:00
rmaddy
4890c575a0
Fix inserting new line above cursor to properly indent
2003-08-06 04:12:11 +00:00
rmaddy
1550cb85cd
Fixed bug when editing file templates
2003-08-06 04:11:35 +00:00
rmaddy
16962beaa1
Optimized imports
2003-05-15 17:17:28 +00:00
rmaddy
05966b6423
Don't check showmode for showMode
2003-05-15 04:34:38 +00:00
rmaddy
34ab6e9c2b
Check showmode for updateStatus
2003-05-15 04:34:12 +00:00
rmaddy
ef850a55fa
Added message to resize tool window
2003-05-15 04:31:02 +00:00
rmaddy
4e6c170205
Fixed flags for gd and gD
2003-05-15 04:13:00 +00:00
rmaddy
a53af67f41
*** empty log message ***
2003-05-14 23:26:40 +00:00
rmaddy
b2a9ff7a38
Commented out unused options
2003-05-14 23:26:19 +00:00
rmaddy
a7687651f6
Added DumpLineHandler
2003-05-14 17:05:46 +00:00
rmaddy
f71c4ba1d8
Added support for CharacterPosition - fixed search issues with tabs.
2003-05-14 17:05:12 +00:00
rmaddy
3aed07c8f5
Debugging tool
2003-05-14 17:04:22 +00:00
rmaddy
ee296d7ab6
*** empty log message ***
2003-05-13 23:31:58 +00:00
rmaddy
a521a2a7c3
Fixed focus problem when escape from dialog
2003-05-13 23:30:40 +00:00
rmaddy
0205863e6c
Don't store ", ., / registers into default
2003-05-13 22:22:24 +00:00
rmaddy
8d461e62e4
Fixed normalizeColumn
2003-05-13 22:21:32 +00:00
rmaddy
45921c7bcf
Cleaned up error handling
2003-05-13 22:20:59 +00:00
rmaddy
598392a190
Support for :@ commands
2003-05-13 22:19:55 +00:00
rmaddy
1d860afe38
Add support for : register. Added RepeatHandler
2003-05-13 22:19:29 +00:00
rmaddy
91e756391d
Set / register. Added error for :s search not found
2003-05-13 22:17:43 +00:00
rmaddy
55117e81e4
*** empty log message ***
2003-05-13 19:55:43 +00:00
rmaddy
a5c9de1ae8
Don't check for CommandEntryPanel
2003-05-13 19:55:22 +00:00
rmaddy
338c575cfd
Rewritten for new ex entry code
2003-05-13 19:54:21 +00:00
rmaddy
cf9efb5f3d
Added to support macro playback
2003-05-13 19:53:39 +00:00
rmaddy
b0facc8fae
Added to support new ex entry code
2003-05-13 19:52:28 +00:00
rmaddy
95939638fb
Added tool window creation and message display
2003-05-13 19:46:07 +00:00
rmaddy
4f2069d02b
Added new key handling
2003-05-13 19:45:15 +00:00
rmaddy
ed55815014
Don't handle backspace on empty field
2003-05-13 19:44:54 +00:00
rmaddy
1851f0b376
Removed actions to end or escape entry
2003-05-13 19:43:22 +00:00
rmaddy
3f7b8513ea
Added more commands
2003-05-13 19:38:20 +00:00
rmaddy
538ee344b1
Updated for state handling changes.
2003-05-13 18:08:20 +00:00
rmaddy
56eb2c401a
Fix removing of trailing newlines for display
2003-05-13 18:07:15 +00:00
rmaddy
e5e5e2995a
Redone to support state stack
2003-05-13 18:06:27 +00:00
rmaddy
8ff7d36e9e
Added set/getKeys
2003-05-13 18:06:12 +00:00
rmaddy
fa0685ec78
Support for macro recording.
2003-05-13 18:05:32 +00:00
rmaddy
5567ffe106
Updated for new ExEntryPanel.
2003-05-13 18:04:27 +00:00
rmaddy
2e2c9f7c9e
Updated for state handling changes. Clean up.
2003-05-13 18:03:12 +00:00
rmaddy
b8d218e268
Updated for state handling changes. Support for CMD_LINE mode. Support for recording.
2003-05-13 18:00:57 +00:00
rmaddy
71ab721ab2
Updated for state handling changes.
2003-05-13 17:59:18 +00:00
rmaddy
df19e13805
Cleaned up. Updated for state handling changes.
2003-05-13 17:58:08 +00:00
rmaddy
b5573b4c79
Added MacroGroup
2003-05-13 15:33:48 +00:00
rmaddy
8e14d3e3fc
small method name change
2003-05-13 15:33:20 +00:00
rmaddy
d29acecea6
Refactor of the old CommandEntryPanel
2003-05-13 15:32:21 +00:00
rmaddy
f2eea59f90
Added support for macro playback
2003-05-13 15:25:41 +00:00
rmaddy
4cb8665544
Added support for the q command - record keystrokes to a register.
2003-05-10 05:21:43 +00:00
rmaddy
70db16881f
Added more messages
2003-05-09 23:09:07 +00:00
rmaddy
9c6ddb9322
Display warning and error messages in status bar.
2003-05-09 21:55:09 +00:00
rmaddy
ff1067fe56
Added "status bar". Added :set showmode. Show mode on status line.
2003-05-09 17:22:06 +00:00
rmaddy
248abed09b
Added [p, ]p, [P, ]P commands
2003-05-09 05:44:35 +00:00
rmaddy
bb01f8ada4
Fixed paste after last line of file
2003-05-09 05:18:09 +00:00
rmaddy
9ca9f43889
Fixed repeat of R commands
2003-05-09 04:53:03 +00:00
rmaddy
ba5ef34b84
Added support to repeat visual change commands.
2003-05-09 04:43:52 +00:00
rmaddy
7128c8943f
Count before v and V is now supported.
2003-05-09 03:13:10 +00:00
rmaddy
2f88987f5b
Changes to deal with case insensitive operating systems.
2003-05-08 19:59:47 +00:00
rmaddy
bc079feccb
Fix d{motion} to become linewise as appropriate
2003-05-08 19:36:33 +00:00
rmaddy
fe986bf7c6
Forgot to add this
2003-05-08 17:58:13 +00:00
rmaddy
0f9f9a1000
Fixed % to set correct linewise/inclusive on command
2003-05-08 17:56:43 +00:00
rmaddy
05953bafc2
Fixed visual highlight after doing reformat or autoindent.
2003-05-08 17:53:31 +00:00
rmaddy
7b475c861a
*** empty log message ***
2003-05-08 17:52:46 +00:00
rmaddy
f4bc6796b5
Fixed visual highlight after doing reformat or autoindent.
2003-05-08 17:45:19 +00:00
rmaddy
595f0889d3
Comments for future Register enhancements
2003-05-08 15:50:41 +00:00
rmaddy
3e0675a8bf
z-, z., z<enter> now move cursor to start of line.
2003-05-08 04:54:00 +00:00
rmaddy
6374b71c5f
Save jumplocation for gd and gD
2003-05-08 04:33:04 +00:00
rmaddy
49a2393bd3
Fixed doing cw or cW while on last char of word/WORD.
2003-05-08 04:18:00 +00:00
rmaddy
70edc17203
Ensure there aren't two change listeners for an editor.
2003-05-08 04:03:02 +00:00
rmaddy
dca0663cff
Several fixes to allow undo of changes made by IDEA while not in insert mode.
2003-05-08 03:30:12 +00:00
rmaddy
db7fc145f8
Changes for support of ! commands
2003-05-08 03:25:24 +00:00
rmaddy
eea1962480
*** empty log message ***
2003-05-08 03:24:07 +00:00
rmaddy
226b5d21bc
Fixes for visual mode problems.
2003-05-08 03:23:28 +00:00
rmaddy
30f6cd480b
Handle line greater than line count
2003-05-07 20:25:16 +00:00
rmaddy
379012c9b4
Fixed bug which prevented :0, :1, or :<neg> from working
2003-05-07 20:16:34 +00:00
rmaddy
18bea9b496
Close all editors, not exit IDEA, for :qall
2003-05-06 21:49:06 +00:00
rmaddy
52e8f70384
Added autoIndentLines
2003-05-06 21:48:34 +00:00
rmaddy
7bb5d431af
== command now repeatable
2003-05-06 21:39:30 +00:00
rmaddy
205b06dde0
Fixed backslashes in replacement text
2003-05-06 21:38:12 +00:00
rmaddy
a2c3ee7281
Don't exit IDEA with :q. Added several new ex commands
2003-05-06 16:30:04 +00:00
rmaddy
ac0ec01973
Ex commands that took a count were getting the current line as a default instead of one.
2003-05-05 22:12:07 +00:00
rmaddy
4b9d57dce3
Fixed visual mode problems
2003-05-05 21:37:29 +00:00
rmaddy
8319a84502
Additions for [w, ]w, [b, and ]b commands - camel word motions
2003-05-05 05:47:09 +00:00
rmaddy
298bad7a64
*** empty log message ***
2003-05-04 21:42:41 +00:00
rmaddy
4e774f5889
Removed GNU regexp
2003-05-04 21:40:08 +00:00
rmaddy
4dc6a2ab72
Changes and additions to support true VIM searching and replacing
2003-05-04 21:33:38 +00:00
rmaddy
d09cc6b053
Fixed ability to move cursor to very end of file
2003-05-04 17:55:02 +00:00
rmaddy
160da9637b
findWordUnderCursor didn't include last char of word
2003-05-04 17:40:22 +00:00
rmaddy
38bb7b0573
Added support for search offsets and other small changes
2003-04-29 16:01:18 +00:00
rmaddy
829edef1da
Removed calls to saveJumpLocation
2003-04-29 15:58:43 +00:00
rmaddy
6e4cf690e9
Added use of FLAG_SAVE_JUMP for appropriate actions
2003-04-29 15:57:12 +00:00
rmaddy
3023287473
Added FLAG_SAVE_JUMP
2003-04-29 15:56:37 +00:00
rmaddy
f802aa1722
Added to support pattern ranges for Ex commands
2003-04-29 15:55:24 +00:00
rmaddy
aebd17e18a
Added lastZero to getLine
2003-04-29 15:54:48 +00:00
rmaddy
335b80f419
Rewritten to properly handle a sequence of ranges
2003-04-29 05:20:21 +00:00
rmaddy
ad2b4faf09
Added lastZero
2003-04-29 05:08:00 +00:00
rmaddy
18ccd06ebe
Added ctrs
2003-04-29 05:05:14 +00:00
rmaddy
e001c731f2
Fixed so not added to parser handler list. Fixed bug that caused it to go to wrong line
2003-04-29 05:04:33 +00:00
rmaddy
8d0d22d5ee
Updated to handle ranges with search patterns
2003-04-29 05:03:46 +00:00
rmaddy
6bd8957f51
Added support for *, #, g*, and g# commands
2003-04-27 04:47:05 +00:00
rmaddy
6a3c8e7cb9
Removed all the 'Append' methods and classes and added boolean to correspoding sibling. Support 'select' option for visual mode.
2003-04-26 17:24:27 +00:00
rmaddy
9dc3990183
Added to support real searching
2003-04-26 17:20:43 +00:00
rmaddy
9561d6560c
Added to support :set commands
2003-04-26 17:18:25 +00:00
rmaddy
46a3f19d5b
Added SetHandler
2003-04-26 17:18:00 +00:00
rmaddy
84e6024b15
More search changes
2003-04-26 17:17:21 +00:00
rmaddy
b6e7809a76
Added to support real search commands
2003-04-26 17:15:50 +00:00
rmaddy
a7911ee92d
*** empty log message ***
2003-04-26 17:14:37 +00:00
rmaddy
855216836a
Fixed getDisplayWidth. Addes support for 'more' option.
2003-04-26 17:13:39 +00:00
rmaddy
b2097adb15
Support for undolevels options
2003-04-26 17:12:32 +00:00
rmaddy
d30bbb8a66
Support for matchpairs options
2003-04-26 17:12:08 +00:00
rmaddy
2586941493
Support for 'visualbell' option
2003-04-26 17:04:45 +00:00
rmaddy
ccb956b7ff
*** empty log message ***
2003-04-26 17:03:51 +00:00
rmaddy
23532d7d02
*** empty log message ***
2003-04-26 16:26:57 +00:00
rmaddy
ccd575a234
Added to setup of option change listeners
2003-04-26 16:22:44 +00:00
rmaddy
dce29c11f2
*** empty log message ***
2003-04-26 16:19:41 +00:00
rmaddy
c4a4ffc67f
*** empty log message ***
2003-04-26 16:14:15 +00:00
rmaddy
b7e7ac93bb
*** empty log message ***
2003-04-26 16:03:47 +00:00
rmaddy
f5eb8b086f
*** empty log message ***
2003-04-26 15:52:14 +00:00
rmaddy
89c6d98022
Renamed from BoundedListOption
2003-04-26 15:48:19 +00:00
rmaddy
06aba90661
Added to support options via :set
2003-04-25 22:19:25 +00:00
rmaddy
a320fd6204
*** empty log message ***
2003-04-23 20:27:10 +00:00
rmaddy
fe0f4149c3
Cleaned up look
2003-04-23 20:20:25 +00:00
rmaddy
5d171745b0
Fixed several commands that should not work in op-pend mode.
2003-04-23 20:19:13 +00:00
rmaddy
b286b74244
Added optFlags support
2003-04-23 20:16:59 +00:00
rmaddy
ce07b80041
*** empty log message ***
2003-04-23 20:14:25 +00:00
rmaddy
b9daae2bfe
Changed to use gnu regexp
2003-04-23 20:14:10 +00:00
rmaddy
b3ed0ac045
Moved all command flags to this class
2003-04-23 20:12:23 +00:00
rmaddy
ae9770692c
*** empty log message ***
2003-04-22 23:49:47 +00:00
rmaddy
2ff5feba78
*** empty log message ***
2003-04-22 18:16:33 +00:00
rmaddy
6f256102f8
Added getMarks
2003-04-22 18:14:46 +00:00
rmaddy
ae31bf4e2a
Close any More panel if the editor selection changes
2003-04-22 18:12:18 +00:00
rmaddy
80a3bccfe8
Now pass key when creating a register
2003-04-22 18:10:28 +00:00
rmaddy
5aceef973c
Remove undo buffer when an editor is closed.
2003-04-22 18:09:44 +00:00
rmaddy
379f0c0bd4
Added to support String based utility methods
2003-04-22 18:09:08 +00:00
rmaddy
b1fccf7b50
Added more handlers
2003-04-22 18:08:43 +00:00
rmaddy
6d361653eb
Added getLineText
2003-04-22 18:07:26 +00:00
rmaddy
2e39021e38
Added key. Added util class to support sorting registers by key.
2003-04-22 18:05:23 +00:00
rmaddy
5015ed8fab
Added util class for sorting marks by key
2003-04-22 18:04:51 +00:00
rmaddy
6c27b40070
Added to support :registers command
2003-04-22 18:04:18 +00:00
rmaddy
364e56f8e5
Handles :marks command
2003-04-22 18:03:52 +00:00
rmaddy
cc18a6e318
Added to display text in a 'more' like window
2003-04-22 18:03:12 +00:00
rmaddy
9113993f34
Changed how non-letter commands are parsed
2003-04-21 18:16:49 +00:00
rmaddy
2c6a6ef06f
Allow mouse click to move cursor to end-of-line while in Insert or Replace modes
2003-04-21 18:15:37 +00:00
rmaddy
9f8e0ad27a
Added process group
2003-04-21 18:14:21 +00:00
rmaddy
dd412e61c6
New support for filter commands
2003-04-21 18:13:52 +00:00
rmaddy
8d3e737320
Added confirm dialog use
2003-04-21 15:57:46 +00:00
rmaddy
e4386f52f7
Lots of little fixes to avoid errors running commands on empty files
2003-04-21 05:13:39 +00:00
rmaddy
8951615f2b
Added i_Ctrl-U, F1, g&, &, @:
2003-04-20 19:31:50 +00:00
rmaddy
ea6b3808db
Added support for FLAG_EXPECT_MORE and now run all actions through Application.runReadCommand or runWriteCommand
2003-04-20 19:29:20 +00:00
rmaddy
7d6890e734
Added new flag
2003-04-20 19:27:25 +00:00
rmaddy
1a2bfa1e0a
Added count for ex command
2003-04-20 19:26:15 +00:00
rmaddy
47f316dde1
Removed unneeded call to end undo tx
2003-04-20 19:25:23 +00:00
rmaddy
1bde1b42a3
Added support for i_F1, i_Ctrl-U and i_0 Ctrl-D
2003-04-20 19:24:49 +00:00
rmaddy
2b15dad5c8
Added search group
2003-04-20 19:19:48 +00:00
rmaddy
39649db694
Added support to repeast Ex commands.
2003-04-20 19:19:02 +00:00
rmaddy
f85148b766
Added count so Ex command can be repeated.
2003-04-20 19:17:15 +00:00
rmaddy
aad2a65678
Added to support search and replace related commands
2003-04-20 19:16:20 +00:00
rmaddy
32de6d3983
Redone to support the :substitute, :&, and :~ commands and their variants
2003-04-20 19:15:41 +00:00
rmaddy
be33e488e5
Added some help methods
2003-04-20 19:14:49 +00:00
rmaddy
ac6251a267
Fixed range returned for %
2003-04-20 19:13:57 +00:00
rmaddy
81c93d9b2f
Added for :promptrepl command
2003-04-20 19:10:33 +00:00
rmaddy
2f655724d2
Added for :promptfind command
2003-04-20 19:10:21 +00:00
rmaddy
9797c0b99f
Added for @: command
2003-04-20 19:09:42 +00:00
rmaddy
312ea39815
Added for i_Ctrl-U command
2003-04-20 19:09:27 +00:00
rmaddy
2ea1160dc3
Added for F1 command
2003-04-20 19:09:08 +00:00
rmaddy
bb1121c230
Added for & command
2003-04-20 19:08:46 +00:00
rmaddy
a559f27a83
Added for g& command
2003-04-20 19:08:23 +00:00
rmaddy
bc08b3ef80
Lots of changes for 0.1.1 to fix Enter and Backspace for Ex commands
2003-04-18 20:45:35 +00:00
rmaddy
f5516d3335
Initial revision
2003-04-17 18:36:26 +00:00