Skip to content

Closes #332 (suggestion) - #354

Open
ShyyYuki wants to merge 4 commits into
mrbuilder1961:omniversfrom
ShyyYuki:omnivers
Open

ShyyYuki wants to merge 4 commits into
mrbuilder1961:omniversfrom
ShyyYuki:omnivers

Conversation

@ShyyYuki

@ShyyYuki ShyyYuki commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

What

Ctrl+left-clicking a message in the search results now clears the search
and scrolls the full chat to that message, so you can read the surrounding
context.

Also fixes broken strings in pt_pt.json.

How

  • ChatScreenMixin#mouseClickedEvents: new branch for Ctrl+left-click while
    search results are present.
  • findSearchResultAt: finds the searched message under the mouse, using the
    same lookup as the ContextMenu constructor.
  • jumpToMessage: clears the search field, maps the message to its visible
    line with ChatUtil.message2Visible, and sets chatScrollbarPos so the
    message sits roughly in the middle of the chat window (clamped to the valid
    range).
  • pt_pt.json: fixed the strings that were broken.

Ctrl is required so normal clicks on clickable chat text are unaffected.

Notes

  • Tested and works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant