• 0 Votes
    1 Posts
    33 Views
    No one has replied
  • 0 Votes
    2 Posts
    37 Views
    bdoserrorB

    @Bob-Smith
    Settings | Style Conifigurator

    Choose “C” from the Langugae dropdown
    Enter “sc” in the “User Ext.” box at the bottom left

    b0b56e34-e32b-477e-b902-1e9bbcc2a9a2-image.png

  • 0 Votes
    5 Posts
    1k Views
    Bob SmithB

    @iChal2112 That worked. Thank you :).

    I will add the steps in case anyone finds this post with google.

    Click the settings icon in the notepad ++ ftp plugin, profile settings, click a profile you want to edit, cache, click the … button by add new button, set a local path I chose C:\Users\user_name\Downloads, set a external path I chose /, click the add new button

    An odd thing to note. I am using Windows 11. I also have admin privileges on my computer but still needed to do this. Not sure why I was having trouble. This issue occurred on a red hat server. The red hat server has time out issues all the time.

    I have zero problems on my sunos servers. I did not change my cache settings at all on my sunos servers.

    Someone that is good with copilot pointed out another option is to use winscp with notepad ++. This required no setup. Just use winscp to open your remote file in notepad++. I have notepad ++ setup as my default text editor. Not sure if this is the case for all Linux/Unix servers but scp is more stable on the red hat server I am using.

  • Notepad++ v8.9.2 Release

    Pinned Announcements
    3
    1 Votes
    3 Posts
    559 Views
    PeterJonesP

    @donho ,

    Regression with UDL. See #17520 for details.

    Steps to Reproduce

    Launch fresh portable v8.9.2 In Language > User Defined Language > Define your language…, set KEYWORDS1 = ABILITYCATEGORY Paste the following:ABILITYCATEGORY:Haunted VISIBLE:QUALIFY ABILITYCATEGORY:Background / Quirk VISIBLE:INVISIBLE ABILITYCATEGORY:Arcane VISIBLE:QUALIFY Set Language > User-Defined Crash

    Issue report has NppDump.dmp file.

    Same steps work just fine in fresh portable 8.9.1, so it’s a regression in this version.

    (This occurred while I was trying to create my reply here – it would crash when I was trying to create the new UDL in v8.9.2, but if I went to v8.9.1 portable, it worked just fine.)

  • 0 Votes
    4 Posts
    96 Views
    PeterJonesP

    @Jerry-D ,

    You need to add : to the Operators 1 list on Operators & Delimiter, so that the UDL text parser can see that the : isn’t meant to be part of the non-keyword string ABILITYCATEGORY: instead of the keyword string ABILITYCATEGORY

    Here’s replicating your issue (with a small example):
    e9dc8ed7-a0a9-4ef6-9524-da69412c6974-image.png
    Note that ABILITYCATEGORY, Background, VISIBLE, and QUALIFY are all defined as keywords, but none are highlighted.

    Now edit Operators & Delimiter > Operators 1 list (with operator style set RED to make it obvious):
    31e1f3d6-6108-47e2-ab2c-0510807e80b8-image.png

  • Notepad++ v8.9.1 Release

    Announcements
    18
    6 Votes
    18 Posts
    10k Views
    PeterJonesP

    @Drift91 said in Notepad++ v8.9.1 Release:

    the user had outdated themes, which didn’t have the KEY style for either Langage:INI or Language:Properties.

    Were the preinstalled themes out-of-date,

    Yes. Only stylers.model.xml and themes\DarkModeDefault.xml were guaranteed to have all updates; all other themes were up to the original theme author and/or other volunteers to keep up to date, and volunteer ever took real ownership of them. That’s why I implemented the new feature, to make sure that themes would never get hopelessly out of date again.

    I didn’t see a changelog entry about it.

    The changes involved in this new feature were announced as:

    v8.8.9 Announcement, Item 8 v8.9 Announcement, Item 7 v8.9.1 Announcement, Item 10 (above)
  • 0 Votes
    4 Posts
    135 Views
    Michael KönigM

    Thx for your answers
    @Coises: I’ll give it a try

  • 0 Votes
    3 Posts
    120 Views
    temp trashT

    @PeterJones

    Ah VERY HELPFUL.

    I did not realize that what I had quoted was actually a listing of tab headers.

    The shading was too subtle for me to recognize that this was not an errmsg, but were actually clickable tabs.

    When v8.9.1 started, the tab which was active when opening PluginAdmin was (for whatever reason) the ‘Incompatible’ tab which was entirely blank – leading me to make my error.

    Old people are such fun!

    Thank you so much, all is well. Well, at least it is with NPP, which is the most one can hope for at the moment - the wider world seems to be slipping beyond repair.

  • 5 Votes
    20 Posts
    2k Views
    CoisesC

    @guy038 said in Columns++ version 1.3: All Unicode, all the time:

    So, I don’t see exactly which rule should be applied, regarding the word definition !?

    and in Columns++ version 1.3: All Unicode, all the time:

    Again, I don’t understand clearly these differences between the two last columns !

    This is not going to be a complete response yet, but some further explanation.

    Even when using ICU, Boost::regex does not implement the same regex language as described in Unicode Technical Standard #18: Unicode Regular Expressions. Some of the differences are more-or-less dictated by the architecture of Boost::regex; others appear to be choices.

    This is a list of category definitions used by Boost::regex when using ICU; the table comes from matching up char_pointer_range in get_default_class_id and char_class_type in lookup_classname:

    alnum U_GC_L_MASK | U_GC_ND_MASK alpha U_GC_L_MASK blank mask_blank cntrl U_GC_CC_MASK | U_GC_CF_MASK | U_GC_ZL_MASK | U_GC_ZP_MASK d U_GC_ND_MASK digit U_GC_ND_MASK graph (0x3FFFFFFFu) & ~(U_GC_CC_MASK | U_GC_CF_MASK | U_GC_CS_MASK | U_GC_CN_MASK | U_GC_Z_MASK) h mask_horizontal l U_GC_LL_MASK lower U_GC_LL_MASK print ~(U_GC_C_MASK) punct U_GC_P_MASK s U_GC_Z_MASK | mask_space space U_GC_Z_MASK | mask_space u U_GC_LU_MASK unicode mask_unicode upper U_GC_LU_MASK v mask_vertical w U_GC_L_MASK | U_GC_ND_MASK | U_GC_MN_MASK | mask_underscore word U_GC_L_MASK | U_GC_ND_MASK | U_GC_MN_MASK | mask_underscore xdigit U_GC_ND_MASK | mask_xdigit

    Comparison with the table you referenced shows that Boost::regex does not use the same definitions. In particular, lower and upper are defined to be identical to General Categories Ll and Lu, alpha is defined to be identical to General Category L, and word does not contain all the characters mentioned in the Unicode specification.

    For the most part, Columns++ follows the Boost::regex definitions, though I did not include Mn in word. Also the Boost::regex code for isctype implements some of the classifications directly; I think I am close, but not necessarily identical, for those. It looks as if Boost::regex does define xdigit according to the Unicode spec.

    I think that Boost::regex defines word boundaries in terms of word characters (i.e. \b is equivalent to (?<!\w)(?=\w)|(?<=\w)(?!\w)) and that I wouldn’t be able to change that without forking and modifying Boost::regex code.

    I think the questions are whether Boost::regex is more accurately considered wrong, or just different in its implementation of character classes; and if the latter, which is preferable.

    At present, my estimation is that it would be time-consuming, but not impossible or fragile, to implement the Unicode definitions (aside from word boundaries) as listed in Annex C: Compatibility Properties in Columns++.

    Whether that’s what should be done might still be an open question.

  • np++ and USB moving to another PC

    General Discussion
    3
    0 Votes
    3 Posts
    106 Views
    PeterJonesP

    @cashfields ,

    Your post would have been much easier to read if you actually typed your text in the post, rather than typing your text in the image.

    It looks like what you would like is the ability to have the file history be set to “relative” instead of “absolute”. Unfortunately, the developer already rejected a feature request which requested that you be able to store a session (File > Save/Load Session… commands) automatically as relative. And if sessions were too complicated to do that for, in his mind, then doing it for the file history is definitely right out.

    However, if you save a session, and then edit it to be relative, I believe it works … so you could then load the relative session anytime your USB changes drive letter, and it would hopefully work for you.

    (I know it’s not exactly what you’re asking for, but given his rejection of that feature request, it’s the best you’re going to get.)

    Or, for a poor-man’s session: make a batch file that opens each file relatively in the batch file.

  • 1 Votes
    8 Posts
    4k Views
    Paweł AdamP

    @PeterJones Hi, and thank you for your answer. Yes, the problem was partly due to the language, but I managed to address it before you replied. However, the other issue was actually a conflict with a shortcut from another application.

    Cheers!

  • Redact Selection feature

    General Discussion
    1
    0 Votes
    1 Posts
    77 Views
    No one has replied
  • Notepad++ v8.9.2 Release Candidate

    Announcements
    2
    3 Votes
    2 Posts
    431 Views
    donhoD

    FYI, v8.9.2 RC has been updated to RC2:
    https://github.com/donho/notepad-plus-plus/releases/tag/RC2
    See original announcement for more information.

  • 0 Votes
    2 Posts
    85 Views
    PeterJonesP

    @pasha-19 said in styler.xml/WordsStyle/keywordClass association with langs.xml/Language/Keyword/Name:

    I was looking to add a WordsStyle with a keyword list to an existing language.

    That’s not the way it works. Existing languages are hardcoded (compiled) internally with a list of available styleIDs, and only particular styleIDs have keyword lists associated with them. You cannot just add a WordsStyle with its own styleID and a list of keywords, and hope that the lexer will magically see them. It will not.

    My question concerns the styler.xml/WordsStyle/keywordClass that appears to match langs.xml/Language/Keyword/Name. There are some seemingly standard keywordClass values instre1, instre2 and type1 to type7 and maybe type8. Do these seemingly standard values have any additional meaning besides providing a link from the keywordClass in styler.xml to the Language/Keyword/Name in langs.xml?

    They have an integer value (0-8). Those correspond to the 9 available keyword lists inside the lexer, which any given lexer may reference zero or more of.

    If you use the wrong keywordClass, Notepad++ will not be able to pass the list of words to the lexer. And if you make up a keywordClass or use one that’s not already defined for a given language, the lexer won’t see it, and those keywords won’t get highlighted.

    [can] any keywordClass/Name that matches could be used?

    Nope, sorry. Each lexer has a predefined list that Notepad++ will pass on to the lexer and that the lexer will recognize.

    To sum up: the official list of available keywordClass/name values for any given lexer are listed in the copy of langs.model.xml that ships with a given version of Notepad++: that will always list all the ones that Notepad++ knows about, and if you try to define others than those for any given language, Notepad++ cannot pass it on to the lexer.

    However, it may be that your langs.xml or stylers.xml are out of date. If you haven’t updated to v8.9.1 yet, run that update, and the first time you run, Notepad++ will update langs.xml and stylers.xml (or any other active theme) to include any missing styles. You might find that the language you want to customize has more keyword lists available in the Style Configurator now.

    If a given language doesn’t have enough different styles to give you differently-colored sets of keywords, you cannot just trick Notepad++ into creating more for you. However, using the EnhanceAnyLexer plugin (you can install it using Plugins Admin from the Plugins menu), you could define a regular expression to match the keywords you wanted. For example, for a given lexer language, if you wanted to add three keywords with red foreground and four with a blue foreground, you could use the following in the EnhanceAnyLexer configuration file (whcih you can easily access using Plugins > EnhanceAnyLexer > Enhance current language.

    [LexerName] 0x0000FF = \b(red1|red2|red3)\b 0xFF0000 = \b(blueA|blueB|blueC|BlueD)\b

    This will give:
    ad688e24-5716-46a9-beae-934a6017df82-image.png

    The EnhanceAnyLexerConfig.ini has documentation in its comments, explaining that it’s 0xBBGGRR for the hex colors, and how to get those colors to only apply within certain parent styles, etc. And https://github.com/Ekopalypse/EnhanceAnyLexer/ is the homepage for the plugin.

  • Notepad++ community on nodebb.org

    Announcements
    33
    6 Votes
    33 Posts
    11k Views
    donhoD

    @PeterJones
    Fixed.
    Thank you for reminding me!

  • Highlight color not correct

    General Discussion
    3
    0 Votes
    3 Posts
    96 Views
    David Smith 2D

    @Alan-Kilborn
    Current line background colour is now white, also tried minty green
    Selected text is now the minty green
    Multi-selected text color is also minty green

    minty green for all 3 then Current line background colour white.

    green-white.jpg

  • Why is the forum so scary?

    General Discussion
    3
    -3 Votes
    3 Posts
    111 Views
    PeterJonesP

    @Mister-Smitt said in Why is the forum so scary?:

    I chose the dark style. I create a new theme and some simply incredibly disgusting additional black and white window appears in the form of some kind of cutout from the main one, which does not even move.
    Who is your stylist?

    The forum’s themes and skins come from the authors of NodeBB. If you don’t like the free themes that they make available to this Notepad++ community for free, that’s really your problem. You don’t need to be a jerk about it.

  • -1 Votes
    3 Posts
    76 Views
    PeterJonesP

    @Mister-Smitt said in Where does this nasty line highlighting come from??:

    2026_02_12_22_0838.png

    How to fix this?

    Read this FAQ

    And I would like you to spit in the face of the person who did this when you are next to him.

    Okay, I just spit in my own face. Does that make you feel better?

    (New features sometimes have bugs. The new feature of updating your horribly-outdated theme to give you access to all the modern styles that have been hidden from you for years was a great idea, but the original implementation, under certain circumstances, had unintended side effects. And the relatively few people who updated to v8.8.9 or 8.9.0 have to go through a bit of extra effort; those who skipped those two versions will not have the side effects. But if spitting in my face helps you, go ahead.)

  • 0 Votes
    36 Posts
    1m Views
    PeterJonesP

    Moderator note: with the recent post in this Topic, my attention was drawn here. And I saw that at least one of the most recent links was a malicious download site, so I removed that link. But that has made me revisit all the links in this Topic. Any that are direct links to an actual alternative editor’s official site, or a github page, are left. Ones that are ad-ridden “blogs” with dubious reviews of editors are being removed, because they are all years out-of-date and/or possibly malicious downloads: honestly, if you can type the words “alternative for Notepad++ on Mac”, you can do your own modern websearch and find dozens of those “alternative to” websites which claim to review applictions, and we don’t need this forum to be a link to outdated ad/“review” sites; such links are not helpful to anyone here.

  • Bug Report

    Boycott Notepad++
    9
    0 Votes
    9 Posts
    2k Views
    C CC

    I have been using Notepad++ for years. I frequently get this message, usually after a Windows 11 restart.
    84e247a1-494a-4e82-8eec-d4fd39f06a65-image.png

    I’ve updated Notepad++ whenever prompted, I’ve reinstalled to try to fix the problem. The problem seems to come with the program. I don’t know why I would get this message or what they want ME to do about it. I don’t even know where to find the extra DLL.

    Help?