spywhere / vscode-whiteviz

An extension for whitespace visualization
21 stars 2 forks source link

Indicators are not updated upon changing indentation of selections with newline #7

Closed hippotastic closed 6 years ago

hippotastic commented 6 years ago

Reproduction steps

  1. Set VS code settings "editor.insertSpaces" and "editor.detectIndentation" to false.
  2. Create a new text file and insert three lines like this:
    A
    B
    C
  3. Select the first two lines and ensure the cursor is on the beginning of the third line (in other words, the selection must include a trailing newline character).
  4. Press tab to increase indentation of the selected lines a few times.

Expected outcome

Tab characters are displayed inside the selection for each additional level of indentation.

Actual outcome

The additional indentation levels do not cause new tab characters to be displayed. After changing the selection, the tab characters appear correctly.

spywhere commented 6 years ago

Nice catch, thanks. I'll let you know once the fix is up.

spywhere commented 6 years ago

This issue has been fixed in v0.4.4