Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent text formatting in the 'Find all references' window #6248

Open
noah-severyn opened this issue Feb 7, 2025 · 0 comments
Open
Labels
bug Identifies work items for known bugs difficulty-01-duckling Issue where no particularly involved knowledge of the internal API is needed. up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky user-interface This issue explicitly relates to the visible interface of Rubberduck.
Milestone

Comments

@noah-severyn
Copy link

Rubberduck version information
Version 2.5.9.6316
OS: Microsoft Windows NT 10.0.19045.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.18129.20116
Host Executable: EXCEL.EXE

Description
Perhaps a rather minor issue, but within the 'Find all references' window, references where the targeted token appears on the right side of an expression (usually) do not have the proper font formatting applied. This is not always the case though; it appears to work correctly if the token is an argument in a function on the right side of the expression (see 3rd screenshot).

This survives a recompile and Rubberduck refresh, and is occurs in a fresh workbook too.

To Reproduce
A simple example:

Public Sub test()
    Dim a As String
    Dim b As String
    a = "example"
    b = a
End Sub

Image

And a more complex example from a project I am working on:

Image

One more example:

Image

Expected behavior
I would expect these items to also be formatted in the same way with the grey monospaced font and the token highlighted yellow.

Logfile
N/A

@noah-severyn noah-severyn added the bug Identifies work items for known bugs label Feb 7, 2025
@retailcoder retailcoder added user-interface This issue explicitly relates to the visible interface of Rubberduck. up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky difficulty-01-duckling Issue where no particularly involved knowledge of the internal API is needed. labels Feb 16, 2025
@retailcoder retailcoder added this to the 2.x Cycle milestone Feb 16, 2025
@retailcoder retailcoder moved this to Backlog in Board-v2.99 Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs difficulty-01-duckling Issue where no particularly involved knowledge of the internal API is needed. up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky user-interface This issue explicitly relates to the visible interface of Rubberduck.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants