jednano / tabsanity-vs

Navigate through tabs-as-spaces as if they were actually tabs.
34 stars 16 forks source link

Handle virtual space properly #4

Closed joelspadin closed 10 years ago

joelspadin commented 10 years ago

When the cursor is in virtual space and the user presses Backspace or Delete, this replaces the virtual space with actual spaces.

jednano commented 10 years ago

That easy, huh? Thanks a lot!

joelspadin commented 10 years ago

Yep. I've also attempted to group the backspace/delete actions into undo operations, so that Ctrl+Z undoes the whole thing rather than one step of the process, but it always leaves the cursor as a one-space selection after an undo. I'm not sure why that's happening yet, but it might be a quirk of using DTE to edit the text field instead of using only the newer, MEF extensions API.

jednano commented 10 years ago

Great job, Man! I'm using it now. This is great :100: