Community
    • Login

    Notepad++ 8.4 Release - Keep standing up for Ukraine

    Scheduled Pinned Locked Moved Announcements
    25 Posts 10 Posters 16.8k Views 5 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.
    • F Offline
      ffgmusik
      last edited by

      Hi!

      The default colors of html and php codes in the editor do not work as expected.

      1.png

      PeterJonesP rdipardoR 2 Replies Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @ffgmusik
        last edited by

        @ffgmusik ,

        The PHP lexer renders tag names using the Style Configurator > PHP > DEFAULT style. And the initial setting for that style is black text on white background, which is what your screenshot shows.

        79aa1b20-8c0d-48ab-abc0-3d4a0df30149-image.png

        The HTML would render similar text slightly differently:

        2c8a5e36-760c-4354-9f5f-8a6e951b689c-image.png

        This is because it uses the HTML > TAG style for rendering tag names:
        ac0cc4b5-219b-478e-8b98-11d87439ec83-image.png

        1 Reply Last reply Reply Quote 1
        • rdipardoR Offline
          rdipardo @ffgmusik
          last edited by

          @ffgmusik,
          previous Notepad++ versions did automatically activate HTML tag highlighting when opening PHP files (as well as *.asp and *.jsp files):

            else if ((type == L_HTML) || (type == L_PHP) || (type == L_ASP) || (type == L_JSP))
            {
               execute(SCI_SETLEXER, SCLEX_HTML);
               // ...
            }
          

          The code providing this feature was accidentally removed during the Scintilla 5 upgrade, just before the 8.4 release. It will work again in the next release: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/2fbac354ed00a7723b18f688f922a2ffb114cb13

          1 Reply Last reply Reply Quote 4
          • Kevin SmileyK Offline
            Kevin Smiley
            last edited by

            Notepad++ 8.4 “Print Selection” is printing the selected text along with highlights as shown on screen making the print hard to read as it is black text with dark grey background on a black and white printer. We have uninstalled, and moved back to Notepad++ 8.3.3 and the issue is no longer present.

            1 Reply Last reply Reply Quote 0
            • donhoD donho unpinned this topic on
            • F Offline
              ffgmusik
              last edited by

              I found a problem with the scroll in version 8.4 and needed to go back to the previous version (8.3.3). I use a laptop and a touchpad. The page instead of going line by line, rolls several lines at the same time obstructing the view of the code. In version 8.3.3 this problem does not occur.
              I have already changed the options in settings > preferences > editing and do not resolve.

              1 Reply Last reply Reply Quote 0
              • rdipardoR rdipardo referenced this topic on
              • PeterJonesP PeterJones locked this topic on

              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