tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
557 stars 90 forks source link

Vertical rainbow lines not updating properly in "MultiLineOnly" mode #335

Open miitors-tbm opened 1 year ago

miitors-tbm commented 1 year ago

How to reproduce

  1. Enable rainbow lines and set the mode to "MultiLineOnly".
  2. Set the cursor such that a vertical rainbow line appears at the current multi-line nesting level.
  3. Move the cursor to between two same-line braces inside a different multi-line "scope" (e.g. moving from one method definition to another).

Expected behavior

The vertical rainbow line should update to match the current multi-line scope.

Observed behavior

The vertical rainbow line stays in the previous position until the cursor is placed somewhere at the "root" of the new multi-line scope.

Example

image image

Running Visual Studio 2022 version 17.4.3 with Viasfora version 4.4.212.