Community
    • Login

    Notepad++ release 8.9

    Scheduled Pinned Locked Moved Announcements
    24 Posts 7 Posters 2.0k 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.
    • J
      joemidnite
      last edited by

      Hi,

      I am using 8.9 and I just noticed when I go to edit JavaScript (.js) file, all of the lines are highlighted. I looked into preferences and styles and found nothing that was turned on or off to account for this. Can you please help? The highlighting makes it very hard to read the code unless I am on just one line.

      I checked the other files, and it does not happen with the language I code. It seems this is only for JavaScript (.js) files.

      Joe Ruffino
      Web Programmer

      e3b4d63f-40df-4138-bb03-29f87aa0ecf3-image.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @joemidnite
        last edited by

        @joemidnite said in Notepad++ release 8.9:

        am using 8.9 and I just noticed when I go to edit JavaScript (.js) file,

        As I said a couple days ago, “The Themes FAQ has been updated to include instructions for explaining and fixing the JavaScript if you upgraded to v8.9 and it messed up your JavaScript syntax highlighting.” The instructions are there.

        J 1 Reply Last reply Reply Quote 0
        • J
          joemidnite @PeterJones
          last edited by

          @PeterJones

          I see the instructions, but, it does not address the 2nd JavaScript theme. Would the new install delete the 2nd theme, or should I delete both before I do the update?

          Joe Ruffino

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @joemidnite
            last edited by PeterJones

            @joemidnite said in Notepad++ release 8.9:

            it does not address the 2nd JavaScript theme. Would the new install delete the 2nd theme, or should I delete both before I do the update?

            I don’t know what you mean by that. The instructions tell you how to fix JavaScript in your active theme.

            Specifically, it says, and I quote, “You can just copy the entire <LexerType name="javascript.js" desc="JavaScript" ext="">...</LexerType> section from the downloaded theme(s) and paste it overtop that same section in your Config Directory and/or Installation Directory theme file(s), then save and restart to get it to take effect.”

            So you download the newer file to some temporary location and open it. Then you open your active theme (in either the install directory or AppData, depending on whether you’ve customeized your theme or not), and you paste the javascript.js section from the temporary file overtop the javascript.js section from your active file. Then you save, and restart Notepad++.

            if you haven’t customized your theme at all (no changes to font or color or user keywords or user extensions anywhere), then it’s even easier: just download the file, and save it in your install directory’s themes subdirectory, and restart.

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