Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

Vim "shift + v + %" sequence for visually selecting a block does not work #2005

Open ANSI-C opened 8 years ago

ANSI-C commented 8 years ago

Short Summary

"shift + v + %" sequence for visually selecting a block does not work

Steps to Reproduce

try to select a block in your favourite language with given command sequence. (you need to be with cursor on the brace for this to work)

Expected results

block is visually selected

Actual results

only the row remains selected

Platform Information

Komodo Edit or IDE? IDE Komodo Version? Komodo IDE, version 10.1.1, build 89474, platform win32-x86 Operating System (and version)? Windows 8.1

Additional Information

I think the bug stems from the fact that upon row selection (shift + v) the cursor goes to the begin of the row instead of staying above the brace.

I know you will hate me, sorry for being a Vim obsessive guy...

-- eg. Error logs, screenshots, workarounds --

mitchell-as commented 8 years ago

Thanks for the suggestion.

Note to self: Shift+V toggles visual line mode. % is jumpToMatchingBrace. Overload % to check for visual line mode, and if so, select block.