Community
    • Login

    How can I change (fix) the color coding style for JavaScript "backtick" text

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 767 Views 2 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.
    • thompsopT Offline
      thompsop
      last edited by

      Javascript “backtick” enclosed text show as white on dark gray except for the line the cursor is on which shows as white on off-white. It’s completely unreadable for me. Is there a way to fix the style or make the text on the “current line” legible?

      notepad_plusplus_backtick_style_current_line_unreadable.png

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

        @thompsop ,

        For Notepad++ versions through v7.9.5, the Style Configurator > Global Styles > Selected Text Color defines the background color for selection, but ignores the foreground color of that setting. So you could set the background color to something that contrasts with your active foreground color.

        However, the developers have heard the cries of pain over that setting, and for the v8.0 and newer, the Style Configurator will honor both the background and the foreground if you put the new 0-byte enableSelectFgColor.xml in the same folder as the notepad++.exe executable. Right now, v8 is in Release Candidate mode, and you can download it from the announcement topic, but it will likely be fully released soon (and sent to auto-update shortly after that). If you need that feature right away, feel free to download the v8.0-RC version. Otherwise, you can wait for the full release or for it to be pushed to the Notepad++ auto-updater.

        1 Reply Last reply Reply Quote 2

        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