Community
    • Login

    Find result window's current/active line colour

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.1k Views
    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
      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
        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
          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
            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors