Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Lionel LagardeL

      C++11 raw string literal syntax hightlighting

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      62 Views
      PeterJonesP

      @Lionel-Lagarde said in C++11 raw string literal syntax hightlighting:

      Is it true or something went wrong the last time I updated notepad++ (it already happen, my global styles are modified and the update process failed to merge the two styles)?

      Nothing went wrong. Just nobody has pointed out to the developer that the entry for name="STRINGRAW" styleID="20" should be added to the stylers/themes.

      If you want to add it yourself,

      Exit Notepad++ app completely If you are using a theme other than stylers.xml, check if you have a copy in %AppData%\Notepad++\themes\ – if not, copy from C:\Program Files\Notepad++\themes\ to the AppData path (create the themes folder if needed) you don’t want to edit the copy in the installation directory, because your next update will just lose that Open Notepad++, and edit either %AppData%\Notepad++\stylers.xml or %AppData%\Notepad++\themes\<YourThemeHere>.xml Search for name="cpp" Add in the following line, picking whatever color you want (maybe something similar to the STRING or CHARACTER color, but it’s up to you; my example was based on the same as the default stylers.xml STRING color, but added slightly more red to the grey tint):<WordsStyle name="STRINGRAW" styleID="20" fgColor="A08080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""></WordsStyle>

      With that, I can get Notepad++ to highlight the raw string literal:
      ac9d31fb-d5e5-459a-82ad-34b57b240c3b-image.png

      If someone (like you) were to put in an official feature request (checking if one exists first; if it already does, upvote it, and put a link here), it wouldn’t be hard for a interested contributor to work up a quick PR to add that missing style to the stylers/themes for a future version of Notepad++. (And with N++ now automatically adding missing styles to your local themes the next time you update, it would be made available to everyone.)

    • Vitalii DovganV

      NppExec Manual: CHM vs. HTML version [poll]

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      6
      0 Votes
      6 Posts
      321 Views
      PeterJonesP

      @Vitalii-Dovgan said in NppExec Manual: CHM vs. HTML version [poll]:

      Somebody, stop me! It has been 2 weeks I’ve been updating and improving the HTML form of the Manual!

      Sorry, it is not possible for me to stop someone from improving documentation. ;-)

    • donhoD

      Notepad++ v8.9.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      11
      5 Votes
      11 Posts
      449 Views
      donhoD

      New RC3, which fixes the issue of installed auto-completion files not overwritten after update, is available:
      https://github.com/donho/notepad-plus-plus/releases/tag/RC3

    • Robk BlueR

      Tidy2 or other HTM L plugins

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      57 Views
      No one has replied