Community
    • Login

    Find result window's current/active line colour

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Vitaliy DovganV Offline
      Vitaliy Dovgan
      last edited by

      So here I am asking for help this time.
      After pressing e.g. “Find All in Current Document” in the Find dialog, we are getting the nice “Find result” window.
      While in this “Find result” window itself, the current/active line of this window has a different background colour.
      But once you double-click a line in the “Find result” window (to go to the corresponding line in the main editing window), the background colour of the current/active (just double-clicked) line disappears once the “Find result” window has lost the focus! So there is no any mark of which line was just double-clicked in the “Find result” window!
      How can it be configured, to have some visible background colour of the just double-clicked line in the “Find result” window?

      Claudia FrankC 2 Replies Last reply Reply Quote 2
      • Claudia FrankC Offline
        Claudia Frank @Vitaliy Dovgan
        last edited by Claudia Frank

        @Vitaliy-Dovgan

        Hi Vitaliy,

        the issue is that the scintilla component in the find result window
        hast set SCI_SETCARETLINEVISIBLE

        whereas it, probably, should have set SCI_SETCARETLINEVISIBLEALWAYS.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 2
        • Claudia FrankC Offline
          Claudia Frank @Vitaliy Dovgan
          last edited by

          @Vitaliy-Dovgan

          there is already a PR.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 2
          • Vitaliy DovganV Offline
            Vitaliy Dovgan
            last edited by

            Thank you!
            Indeed, sending SCI_SETCARETLINEVISIBLEALWAYS with wParam=TRUE to this Scintilla window makes the line background colour to remain even after losing the focus.

            1 Reply Last reply Reply Quote 3

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors