You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh well, this looks like a non-trivial issue to me. The question here is - how should the selection reflow at all?
Basically I'd suggest, that if the selection is strictly starting/ending on text holding cells, reflow selection with that text content (kinda trivial default case).
Next the question is - what should happen, if the selection starts/ends on empty cells? Ideas:
if the empty start/end cell will be preserved by reflow (thats the case, if text is following later in that line*), just do default scheme
if the empty cell is right of any text in a line*, things will get stripped away by reflow - maybe try to preverse selected empty cell amount clamped to max row length (thus might be shorter if the row ends up being shorter than before)
[*] line here means real text lines, thus taking wrapping into account
Edit: A much simpler solution might be to just clear selections alway on resize, thus it cannot be carried over on resize.
VS Code issue: microsoft/vscode#238273
The text was updated successfully, but these errors were encountered: