Open pthrasher opened 9 years ago
In order for proper columnar selection to be implemented, you need to be able to highlight invalid regions.
I don't think this feature is required for proper columnar selection. In vim's visual-block mode, there is no highlighting of invalid regions:
I'm also not in favor of out-of-bounds selection in general. It's complex conceptually, as it means there are markers that don't correspond to any real region of text, and I've never seen it have any utility. Maybe could you describe some cases where it would be useful to you?
I don't think this feature is required for proper columnar selection. In vim's visual-block mode, there is no highlighting of invalid regions:
Vim does support this if you use set virtualedit+=block
I've never seen it have any utility. Maybe could you describe some cases where it would be useful to you?
It's nice as a visual guide. Visual block mode is about drawing a block. With some blocks of text, it's not always simple (cognitively) to keep track of the goal column, and a visual indication make this less of a mental burden.
@maxbrunsfeld with the above comment of mine aside, even without out-of-bounds selection, we still need some way to save / restore goal column after recreating selections.
Any ideas on this? Should this be handled in text-buffer or atom-proper? If you could point me in the right direction, I'd be more than happy to take a stab at a PR.
In order for proper columnar selection to be implemented, you need to be able to highlight invalid regions. Right now all selection gets clipped to valid regions which makes implementing blockwise/columnar selection difficult.
Thoughts?