• 2 Votes
    1 Posts
    366 Views
    No one has replied
  • 0 Votes
    3 Posts
    96 Views
    Taras TkachenkoT

    @Coises Thanks. “Margins” is not a section I looked in. I thought it would be in “Editing” or “General.”

  • Support for Plugins Admin & NppPluginList

    Notepad++ & Plugin Development
    45
    2 Votes
    45 Posts
    54k Views
    PeterJonesP

    @mh-tp said in Support for Plugins Admin & NppPluginList:

    Answer: I just downloaded the 8.7.8 installer of Notepad++ and the NppPluginList got updated too.

    Or download the most-recent portable copy, where you can get the DLL without having to upgrade the rest, if you don’t want to.

    Confusing was the “no update available…”

    See our “most recent version” FAQ and the User Manual page on Upgrading Notepad++

    The text and the … is very small, but contains important information about the update releases, so you’ll end up ccleaner or plugins tell you npp isn’t up to date, while it self tells you it is…

    I don’t see how the size of the text has anything to do with what cleaner tells you (but after years of CCleaner getting worse and worse, I gave up ever listening to what it told me, and uninstalled it ages ago)

  • 0 Votes
    10 Posts
    343 Views
    Alan KilbornA

    Interestingly (maybe?), I have found a similar issue involving Ditto and attempting to paste into the PythonScript console window; see HERE.

  • 1 Votes
    15 Posts
    294 Views
    guy038G

    Hi All,

    See my important and final comment about my own issue :

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16279#issuecomment-2726313083

    BR

    guy038

  • To all the monetizing companies...

    Pinned Announcements
    9
    24 Votes
    9 Posts
    45k Views
    Avanish VyasA

    @donho Thank you & God bless you.

  • 2 Votes
    2 Posts
    79 Views
    CoisesC

    @Richard-Darwin

    Most likely you are editing a file with Windows line endings, which are \r\n, not just \n.

    I would suggest:

    Leave . matches newline unchecked — you don’t want that .+ to cross lines

    Use \R to represent the break between lines — it matches \r, \n or \r\n

    You don’t need the $ when it’s immediately followed by a line-ending character, nor the circumflex immediately after (though they don’t hurt, either)

    So, try: ^(.+)\R\1Ɣ$ and see if that matches as desired; leave . matches newline unchecked. If you are using Windows line endings, use \1\r\n\1=Z to replace. (On the status bar at the bottom, towards the right side, you’ll see either Windows (CR LF), Unix (LF) or Macintosh (CR), which tells you the current line ending setting for your file.)

  • Fold Margin Style Box Tree

    Help wanted · · · – – – · · ·
    7
    0 Votes
    7 Posts
    157 Views
    PeterJonesP

    @AlanRobbo-69 said in Fold Margin Style Box Tree:

    @Alan-Kilborn
    Yes.

    @AlanRobbo-69 is a different username than @Francis-Robinson – are you the same person? If so, please use one account for posting, so the conversation don’t get confused.

    Alan’s incredulity is that that you seem to think that Fold Margin has no purpose, just because you cannot customize it for built-in languages. That’s an interpretation that he cannot fathom. I understand it’s annoying to you, because you found a bug, but if the Lexilla library had properly implemented the right folding rules for VB, you wouldn’t think it needed to be customizable in order to serve a purpose – so I think your “cause - effect” pair of “it’s not customizable - thus, it doesn’t serve a purpose” is fallacious. You had bad data, so you came to a bad conclusion; it happens. If you wanted to say at this point, “fold margin for Visual Basic does not serve my needs, because it is currently broken” that’s completely reasonable (but a very different statement than you made). And my response to such a hypothetical statement would be, “that’s too bad; hopefully ScintillaOrg will fix Lexilla, so that Notepad++ can be updated. too; until then, I guess you won’t be able to fold, unless you cleanly indent your code; sorry.”

  • 0 Votes
    5 Posts
    464 Views
    Jhon DavidJ

    This issue appears to stem from how Notepad++'s GUP (Get Update Package) process accesses web resources, rather than a specific version problem. It mirrors a previous issue where the webhost or content delivery network (CDN) intercepted the GUP process. Previously, this interception was due to a CAPTCHA, but now it seems to involve a JavaScript-based verification. In both cases, the GUP process is flagged as an “invalid” access by the host or CDN. Essentially, the host or CDN’s security measures are preventing Notepad++ from successfully retrieving update information.

  • Running Notepad++ from a bat file

    General Discussion
    4
    0 Votes
    4 Posts
    191 Views
    Alan KilbornA

    I just want to add a note here, that if someone wants to use the method Peter has suggested to run a search-and-replace macro, that macro would not be “general purpose”.

    That is, you cannot, say, pass search strings or replacement strings in this way, because macros, when made and saved, have their search string, replace string, directory (if “in files”), and other options all “hard-coded”.

    I say this because this is the kind of thing people would want to do.

    The above doesn’t sound like a problem for @Kelly-A , who needs an operation that is by its nature NOT parameterized.

    You can, of course, write script code to do any search/replacement you’d like, but that requires greater programming skills, which not everyone has, or wants to invest the time into.

  • 0 Votes
    7 Posts
    1k Views
    Lycan ThropeL

    @Monsterray ,
    In addition to what @PeterJones is saying, while you have a functional ability that he suggests, you could create your own UDL mirroring the stuff that is already accessible to you from the main language you want to copy from, like Keywords, background colors, foreground colors, font Name, font size, font style, and helpfully, the Names that the word style is applied to from the stylers.xml file, so you can duplicate it inside of the UDL with applicable mapping to the UDL components of Operators 1 & 2 and Delimiters, Comment and Number, Folding & Default and Keyword Lists. You can also then work on the Function List aspect and the AutoComplete that would be tailored to your use case and preferences. We don’t have control over the parsing and application and customization that writing the lexer does, but if you work hard enough and learn the intricacies of working with the UDL and customizable features available, you can make a pretty good alternative to the original’s capability…but it will take learning and work. :-)

    The people here can help you do it, if you want to, or you can do what @PeterJones suggests to do it the easy way. :-)

    Below here are the mappings from the Python section of the stylers.xml file you’ll need to map to the UDL categories and properties.

    <LexerType desc="Python" ext="" name="python"> <WordsStyle bgColor="FFFFFF" fgColor="000000" fontName="" fontSize="" fontStyle="0" name="DEFAULT" styleID="0" /> <WordsStyle bgColor="FFFFFF" fgColor="008000" fontName="" fontSize="" fontStyle="0" name="COMMENT LINE" styleID="1" /> <WordsStyle bgColor="FFFFFF" fgColor="FF0000" fontName="" fontSize="" fontStyle="0" name="NUMBER" styleID="2" /> <WordsStyle bgColor="FFFFFF" fgColor="808080" fontName="" fontSize="" fontStyle="0" name="STRING" styleID="3" /> <WordsStyle bgColor="FFFFFF" fgColor="808080" fontName="" fontSize="" fontStyle="0" name="CHARACTER" styleID="4" /> <WordsStyle bgColor="FFFFFF" fgColor="0000FF" fontName="" fontSize="" fontStyle="1" keywordClass="instre1" name="KEYWORDS" styleID="5" /> <WordsStyle bgColor="FFFFFF" fgColor="FF8000" fontName="" fontSize="" fontStyle="0" name="TRIPLE" styleID="6" /> <WordsStyle bgColor="FFFFFF" fgColor="FF8000" fontName="" fontSize="" fontStyle="0" name="TRIPLE DOUBLE" styleID="7" /> <WordsStyle bgColor="FFFFFF" fgColor="000000" fontName="" fontSize="" fontStyle="1" name="CLASS NAME" styleID="8" /> <WordsStyle bgColor="FFFFFF" fgColor="FF00FF" fontName="" fontSize="" fontStyle="0" name="DEF NAME" styleID="9" /> <WordsStyle bgColor="FFFFFF" fgColor="000080" fontName="" fontSize="" fontStyle="1" name="OPERATOR" styleID="10" /> <WordsStyle bgColor="FFFFFF" fgColor="000000" fontName="" fontSize="" fontStyle="0" name="IDENTIFIER" styleID="11" /> <WordsStyle bgColor="FFFFFF" fgColor="008000" fontName="" fontSize="" fontStyle="0" name="COMMENT BLOCK" styleID="12" /> <WordsStyle bgColor="FFFFFF" fgColor="880088" fontName="" fontSize="" fontStyle="1" keywordClass="instre2" name="BUILTINS" styleID="14" /> <WordsStyle bgColor="FFFFFF" fgColor="FF8000" fontName="" fontSize="" fontStyle="2" name="DECORATOR" styleID="15" /> <WordsStyle bgColor="FFFFFF" fgColor="808080" fontName="" fontSize="" fontStyle="0" name="F STRING" styleID="16" /> <WordsStyle bgColor="FFFFFF" fgColor="808080" fontName="" fontSize="" fontStyle="0" name="F CHARACTER" styleID="17" /> <WordsStyle bgColor="FFFFFF" fgColor="FF8000" fontName="" fontSize="" fontStyle="0" name="F TRIPLE" styleID="18" /> <WordsStyle bgColor="FFFFFF" fgColor="FF8000" fontName="" fontSize="" fontStyle="0" name="F TRIPLEDOUBLE" styleID="19" /> <WordsStyle bgColor="FFFFFF" fgColor="000000" fontName="" fontSize="" fontStyle="0" name="ATTRIBUTE" styleID="20" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle1" name="USER KEYWORDS 1" styleID="128" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle2" name="USER KEYWORDS 2" styleID="129" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle3" name="USER KEYWORDS 3" styleID="130" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle4" name="USER KEYWORDS 4" styleID="131" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle5" name="USER KEYWORDS 5" styleID="132" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle6" name="USER KEYWORDS 6" styleID="133" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle7" name="USER KEYWORDS 7" styleID="134" /> <WordsStyle bgColor="FFFF80" fgColor="000000" fontName="" fontSize="" fontStyle="0" keywordClass="substyle8" name="USER KEYWORDS 8" styleID="135" /> </LexerType>
  • Hide Fold Lines

    Help wanted · · · – – – · · ·
    34
    1 Votes
    34 Posts
    4k Views
    Ruben NevesR

    @leonardchai Thank you very much. I searched for your plugin in the plugin admin menu and there it was. Works great!

  • 0 Votes
    3 Posts
    76 Views
    Artur MonhoA

    @Alan-Kilborn

    Solved. Thanks

  • 0 Votes
    13 Posts
    461 Views
    xomxX

    I just remembered similar “file does not exist” issue in the N++ v8.7.1+ caused by an interfering SW (in that case by the corporate telemetry spyware Teramind, monitoring all the files opened by user):

    https://community.notepad-plus-plus.org/topic/26462/file-does-not-exist

  • 0 Votes
    4 Posts
    211 Views
    NianBrokenN

    @PeterJones @xomx
    When I switched the rendering mode to “GDI (most compatible),” the font display ended up looking even stranger than before, especially with Chinese fonts. It felt like I’d been transported back 60 years.

    Image
    Image

  • 0 Votes
    3 Posts
    127 Views
    Jean-Michel KisslingJ

    @PeterJones
    Hello, thanks for your fast answer.

    I tried switching on and off font smoothing, but it really does nothing on the old version.

    After installing the new 8.7.8 version, MIRACLE, it works with GDI

    0dc785be-7f80-4ae7-b778-0f6b6ad9811c-image.png

    Thanks a lot for the update and the help.

    Best regards.

  • 0 Votes
    6 Posts
    118 Views
    PeterJonesP

    @Bharath-k ,

    That is not the same as the regex I gave you: it will match ANY line with the text on the right side of the | , not just the ones that have the prefix you described.

    If it “works” for you, great. But it doesn’t match your original request.

  • 0 Votes
    2 Posts
    83 Views
    Lycan ThropeL

    @GM-Bobby-B ,
    First off, you should go to the Notepad++ menu bar, select the ?->Debug info...->Copy debug info to clipboard and add that to this message thread so people can see what you’re working with. This is vital information before beginning any serious troubleshooting of your issue. It would also help if you read over the FAQ Threads of the forums in particular this one 'FAQ:Why can’t I just say “Most Recent Version” ’ to learn things about posting, information required to help, etc.

  • 0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    @VarunAgw

    I think that with the current version of Notepad++ available as of today’s date, you’ll find that Ctrl+h will work when you are on the Find tab, to take you to the Replace tab.

  • 0 Votes
    7 Posts
    226 Views
    mkupperM

    @pixelstuff said in Suggestion: Pin or favorite languages in the language menu?:

    I find it somewhat tedious to keep scrolling down to the bottom of that menu to constantly get to XML, PHP, SQL, etc.

    I use the keyboard to switch languages.

    XML is Alt+L+X. PHP is Alt+L and while continuing to hold the Alt key down P+P+P then Enter. SQL is Alt+L and then S. As SQL is a ways down the list I tend to use the down arrow key rather than tapping S until I get to SQL.