Commenting out block selections breaks arrow key behavior
Short Summary
After commenting out some lines that were marked by a block comment, the “block mode” seems to linger. Whenever I use the up or down arrow keys the cursor seems to stretch over the touched lines, and if I start typing the text appears on all lines covered by the cursor. Esc will cancel the current selection, but the next time I use up or down arrow keys the same behavior comes back.
It’s a per file/tab issue. Once I trigger it in one file it stays there until I close the file/restart Komodo IDE. If switch to a different tab the bug doesn’t follow. But if I comment out a block selection the bug reproduces in that tab as well, and stays there as well until closing.
Steps to Reproduce
– Open a file (I’ve tried HTML, PHP, sh, C++, and Java) – Use shift+ctrl+arrow keys to mark a block – Use command+/ to comment out the block – The bug now reproduces - use arrow keys up/down to extend the cursor over several lines
Expected results
Normal arrow key behavior after commenting out a region.
Platform Information
Komodo Edit or IDE? Both Komodo Version? Verified in Komodo Edit 11 and Komodo IDE 12 Operating System (and version)? MacOS Mojave, 10.14.6
@JesperIRL this is perfect. Thanks for the report. 100% reproducible with those steps.