• Login
Community
  • Login

Bug with annotations relating to z-order

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 291 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.
  • A
    Alan Kilborn
    last edited by Alan Kilborn Apr 27, 2022, 3:05 PM Apr 27, 2022, 3:04 PM

    Here’s an interesting one. If you do a regular expression search for ^, for example, Notepad++ will put up an annotation indicating ^ zero length match. However, if something else (e.g. the Find window) is in the same screen space, the annotation will appear closer to the user than the other entity. Perhaps a screenshot helps:

    f8107893-52c0-4390-a441-39d64948a7ea-image.png

    Here the annotation should clearly be under the Find window, not on top of it.

    I should/will put in a bug report.

    BTW, I’ve never really liked that the zero-length-match annotation uses ^ as part of its text – easy to confuse the meaning with the ^ used in the regex. The annotation attempts to use it to point to something (totally different meaning).

    M 1 Reply Last reply Apr 27, 2022, 4:30 PM Reply Quote 1
    • M
      Michael Vincent @Alan Kilborn
      last edited by Apr 27, 2022, 4:30 PM

      @alan-kilborn said in Bug with annotations relating to z-order:

      Here the annotation should clearly be under the Find window, not on top of it.

      Not to be pedantic, but that actually isn’t an “annotation” in the sense of a Scintilla annotation. It’s actually a “calltip” in the Scintilla sense. Using those terms in the issue report may help a quicker fix?

      Cheers.

      A 1 Reply Last reply Apr 27, 2022, 6:01 PM Reply Quote 2
      • A
        Alan Kilborn @Michael Vincent
        last edited by Apr 27, 2022, 6:01 PM

        @michael-vincent said in Bug with annotations relating to z-order:

        that actually isn’t an “annotation” in the sense of a Scintilla annotation

        I was actually working on some script code that deals with annotations at the time I noticed that, so I guess that was on my mind. :-)

        1 Reply Last reply Reply Quote 1
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors