• Login
Community
  • Login

NPP dislikes more than three equals sign in a row

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 389 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.
  • P
    PeterAdam
    last edited by PeterAdam Jan 30, 2022, 10:23 PM Jan 30, 2022, 10:22 PM

    Working with various SQL remarks I have found that NPP goes nuts on more than three adjacent equal signs.
    Goes nuts means that something is there, but invisible, but caret position is echoed correctly.
    It is possible to add/delete to/from that line, syntax highlighting of the rest changes.
    I have tried to change the language from SQL to plain text but the issue remains.

    IBExpert developer:
    93e6e6c7-1e10-4996-b7dc-39ba8a6a19ee-kép.png

    NPP:
    b3023f4d-341c-48bd-a549-603299d14e08-kép.png

    NPP remark ending deleted:
    5a047752-edcc-4186-b8eb-3385c953d1ff-kép.png

    TCMD viewer:
    4d4e56aa-64c9-4517-a922-4e558629a886-kép.png

    System: Windows 7 32 bit
    NPP: 8.2.1 (previous version did the same thing)
    Encoding: ANSI

    Could you fix this bug?

    L 1 Reply Last reply Jan 31, 2022, 12:28 AM Reply Quote 0
    • L
      Lycan Thrope @PeterAdam
      last edited by Jan 31, 2022, 12:28 AM

      @peteradam ,

      I’m no expert, but…aren’t you missing some information these folks need to properly understand your problem? Debug info under the ? in the menubar would help, plus the language you’re actually using. I grabbed a bunch of random SQL code and threw it in a file named with the .sql extension with the kinds of quotes you put in and this is what I got:
      SQLShot.PNG

      It took the default syntax highlighting just fine, so I have no idea what your code language really is so can’t really talk to it, but I think you need to provide more information before they can help you.

      Lee

      P 1 Reply Last reply Jan 31, 2022, 4:37 PM Reply Quote 3
      • P
        PeterAdam @Lycan Thrope
        last edited by Jan 31, 2022, 4:37 PM

        @lycan-thrope ,

        language, as stated twice, is SQL. But, as stated, it was tested with plain text “language”. There is nothing more in the debug info that I would like to disclose, like company, product name in the “command line” line. Version information, etc. stated.

        The “Bespin” style is problematic, some others - including “Default (stylers.xml)” - are working.

        P 1 Reply Last reply Jan 31, 2022, 4:50 PM Reply Quote 0
        • P
          PeterJones @PeterAdam
          last edited by PeterJones Jan 31, 2022, 4:51 PM Jan 31, 2022, 4:50 PM

          @peteradam said in NPP dislikes more than three equals sign in a row:

          The “Bespin” style is problematic,

          Do you have the most recent Bespin style XML file ? Because even with updates, user-editable config files don’t always update (because Notepad++ avoids overwriting user-editable config files when possible, to not lose your customizations). But that means that your Bespin may be out of date. You can close Notepad++, download the XML and put it overtop your installed Bespin.xml, then restart Notepad++, and see if that fixes it.

          And, if that isn’t enough, you are allowed to fix/edit your theme yourself – compare it to a working theme, and look at what’s different/missing that would cause your problem. And if you wanted to, you could make a PR to submit the fixed theme to the repository, so the fixed version will be in the next release.

          P 1 Reply Last reply Jan 31, 2022, 4:58 PM Reply Quote 2
          • P
            PeterJones @PeterJones
            last edited by Jan 31, 2022, 4:58 PM

            … and if I take a fresh 8.1.2 portable unzip, and switch to Bespin, I see all the comment lines like the ones you said were hidden, if I’ve understood:

            bd13f211-644b-4728-9572-da30bd54fe1f-image.png

            So I think you can just update your Bespin.xml.

            If not, please use the </> on the toolbar, and share an example snippet of text that shows the problem, and maybe even give us the contents of your Bespin.xml. For example, here is the file I have the screenshot for:

            /* Normal comment */
            /* Normal comment with post Ácute Ãnd Õther Àccents ================== */
            IF (expression)
            BEGIN
            	blah
            END
            /* ==================Normal comment with pre/post and Ácute Ãnd Õther Àccents================== */
            
            IF (expression)
            BEGIN
            	blah
            END
            
            1 Reply Last reply Reply Quote 2
            1 out of 5
            • First post
              1/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors