• Login
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.
  • V
    Vitaliy Dovgan
    last edited by May 30, 2018, 1:12 PM

    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?

    C 2 Replies Last reply May 30, 2018, 1:29 PM Reply Quote 2
    • C
      Claudia Frank @Vitaliy Dovgan
      last edited by Claudia Frank May 30, 2018, 1:30 PM May 30, 2018, 1:29 PM

      @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
      • C
        Claudia Frank @Vitaliy Dovgan
        last edited by May 30, 2018, 1:32 PM

        @Vitaliy-Dovgan

        there is already a PR .

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 2
        • V
          Vitaliy Dovgan
          last edited by May 30, 2018, 1:49 PM

          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
          1 out of 4
          • First post
            1/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors