What I mean by brace completion highlighting is the highlighted curly braces below. When moving the cursor to a brace, the matching pair will become highlighted, as shown:
This works fine, unless "Use map mode for vertical scrollbar" AND "Show Preview Tooltip" is enabled under Scroll Bar Options (just map mode without tooltip does not produce the error). Brace completion highlighting will work if the option is selected, but as soon as you put your mouse over the scrollbar to initiate the preview tooltip (as shown below):
Brace completion highlighting will stop working until the file is reopened, as seen in the following screenshot. The caret has moved to new braces, but they are not highlighted anymore:
Interestingly, dragging/hovering the mouse over a section of the scrollbar with no code (ie, no preview tooltip will appear) does not disable the highlighting.
To reproduce:
Right click the scrollbar, select "Scrollbar Options"
Enable "Use map mode for vertical scrollbar" AND "Show preview tooltip"
Brace highlighting will work as expected.
Hover over a region of code in the scrollbar to bring up the preview tooltip.
Brace highlighting stops working until file reopened.
Attempted to reproduce this in a Visual C# class, but it works correctly there, which led me to believe it's specific to RTVS. Interestingly, brace highlighting shows in the tooltip for C# but not in R, might have to do with the issue?
What I mean by brace completion highlighting is the highlighted curly braces below. When moving the cursor to a brace, the matching pair will become highlighted, as shown:
This works fine, unless "Use map mode for vertical scrollbar" AND "Show Preview Tooltip" is enabled under Scroll Bar Options (just map mode without tooltip does not produce the error). Brace completion highlighting will work if the option is selected, but as soon as you put your mouse over the scrollbar to initiate the preview tooltip (as shown below):
Brace completion highlighting will stop working until the file is reopened, as seen in the following screenshot. The caret has moved to new braces, but they are not highlighted anymore:
Interestingly, dragging/hovering the mouse over a section of the scrollbar with no code (ie, no preview tooltip will appear) does not disable the highlighting.
To reproduce:
Attempted to reproduce this in a Visual C# class, but it works correctly there, which led me to believe it's specific to RTVS. Interestingly, brace highlighting shows in the tooltip for C# but not in R, might have to do with the issue?