• FORUM: Posting Queue

    Pinned
    9
    12 Votes
    9 Posts
    6k Views
    PeterJonesP

    @donho ,

    Makes sense.

    Since deleting posts was tedious for me, I had recently been looking into whether I could use the API that the forum offers to write a script to automate some of the cleanup (like with purging the deleted posts/topics), but that will take some time to develop.

    update: As of Nov 9, the purge automation is working, and it will run once a week. (Along with purging deleted posts/topics, it will also delete user accounts that are more than a year old where the user never posted and never logged in after the first day – nearly half of the 30000 accounts were in this category)

  • Please Read This Before Posting

    Pinned Locked
    1
    4 Votes
    1 Posts
    7k Views
    No one has replied
  • KNOWN ISSUE: 8.8.2 doesn't appear to be digitally signed

    5
    0 Votes
    5 Posts
    872 Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

  • quick toggle multi-line tab on/off.

    8
    0 Votes
    8 Posts
    1k Views
    N

    @PeterJones
    That’s really unfortunate to find out… Even though it was made possible by mistake, we actually had it! So it’s certainly technically possible to implement. Wish an exception can be made for the Multi-line feature and an ID code can be assigned to be able to call upon it outside of Preferences.
    Well thank you very much for the reply because I know now, so appreciate it.

  • 0 Votes
    4 Posts
    113 Views
    PeterJonesP

    @Neculai-I-Fantanaru said in where exactly can I find the file where the new macro I just saved was saved?:

    you must restart notepad++ in order to see the change on shortcuts.xml

    Specifically, Notepad++ saves changed settings to disk when the application exits.

  • 0 Votes
    9 Posts
    140 Views
    H

    @Terry-R said in Cannot update portable version -- Windows keeps using old version even though it's deleted:

    @helpdata said in Cannot update portable version -- Windows keeps using old version even though it's deleted:

    Well, you don’t know the reason it changed the default application. It may have been you to make that occur even if you deny that was the case.

    As I said, I REPEATEDLY changed the default app for text files to the I: drive version. I literally navigated again and again to that drive and set that version of the program as default. It did not “take” in Windows, perhaps because the executable had the same name, so Windows decided it’s the same program and did not update. A bug.

    Personally I would just install Notepad++ and then if I needed to maintain version control turn off the auto-updater option as I stated in the previous post.

    I’m considering that, although I do like portable apps. Any more problems and that’s what I’ll do.

    PS your statement of “The I: drive where the portable version has always lived,” is clearly incorrect as has been proven.

    Um, no, it has always been on the I: drive, and the I: drive is backed up to the H: drive. This is definitely a Windows issue. Until recently, Windows did not even allow portable apps to be set as default apps:
    https://learn.microsoft.com/en-us/answers/questions/2795276/is-it-no-longer-possible-to-make-a-portable-progra

    Anyway, thanks for the help.

  • Looking for dBASE IV (old DOS versions) UDL

    22
    2 Votes
    22 Posts
    3k Views
    Lycan ThropeL

    @James-Burke-0 ,
    It took you a year to come back and ask this?
    The answer is no.
    I read the documentation of the product a year ago, ascertained that it is basically a DOS emulator run program and the description, time of publishing and hard data capacities and reference to table types means that no, it is not capable of DBF 7 handling. If it was, it would say so.

  • UDL - combining C++ folding and Nasal highlighting

    5
    0 Votes
    5 Posts
    93 Views
    PeterJonesP

    @Joe-Wilton,

    Obviously there is some interaction between the characters in the Operators 1 list and the Folding in Code 1 and 2 styles.

    The intention for UDL is that no given token (symbol or word) is found in two separate fields: they are supposed to be unique, because you cannot style a token both as an Operator and as a Folding-In-Code, as the two are mutually exclusive. There is an internal order they are processed, but that order is not guaranteed (a few versions back, Notepad++ actually changed the order of a couple of the fields, which broke some UDL that were relying on the old order of processing to handle conflicts in their definitions). If you make the UDL without conflicts, you won’t have problems if Notepad++ changes the internals again.

    (By “no given token … is found”, I mean “is found alone”. For example, you could have a fold-open2 of { and an operator of {{ – if it finds double-brace, it will render it as an operator, but a single-brace will be a fold-open2.)

  • 15sec freeze with word wrap

    2
    0 Votes
    2 Posts
    57 Views
    PeterJonesP

    @Cheok-SC said in 15sec freeze with word wrap:

    Is Word Wrap really that heavy of a performance cost?

    Yes.

    There’s a reason that Settings > Preferences > Performance automatically deactivates word-wrap for large files, when all the other performance issues start with the checkboxes off, so you have to decide to also deactivate other features for large files. Word wrap and syntax highlighting are the two biggest performance costs, because they involve processing the entire file

  • Weird crash

    7
    2 Votes
    7 Posts
    176 Views
    N

    @Ekopalypse

    I recompiled with your code modification and I can’t crash Notepad++ anymore ! :)

    So I can confirm your modification fixes the issue on my side. Thank you !

  • v8.8.6 - the function list is not working

    8
    0 Votes
    8 Posts
    249 Views
    PeterJonesP

    @tino-tesu said in v8.8.6 - the function list is not working:

    That was a easy fix. I could add a new line after.

    Great.

    Notepad++ has a long-standing bug wherein if you have a FunctionList parser that includes a class, every class must have one or more whitespace after the last “closing” tag. Usually, it shows up with C/C++ classes, which end with } … but the bug also occurs for other classes in functionLists.

    The reason why v8.8.5 worked without the newline is because the v8.8.5 FunctionList parser for SQL didn’t try to do classes, so didn’t trigger that bug.

  • New Vim modal editing plugin release

    4
    0 Votes
    4 Posts
    3k Views
    W HW

    @h-jangra
    I’ve been waiting for this plugin for quite long, thank you for your contribution!
    I just tried out the initial release (v1.1.00) it works well in recent npp version, and I’m very happy to just navigate using vim commands.

    I’m looking forward to updates! How can I sponsor your work?

  • "New UI" for NPP here

    5
    -2 Votes
    5 Posts
    345 Views
    G

    @PeterJones

    If you have compare plugin installed you can use it, compare english.xml with english_customizable.xml I provided and you’ll see all differences. Anyway below is explanation of couple of them (ones that you didn’t mention).

    Ps. you probably know this but you can make context menu and tab context menu work in both localizations by referring to items by their IDs instead of their names. IDs can be found with NPPUISpy plugin or by reading english.xml localization file.

    renamed “Window” menu as Tabs as to my observations items inside are tabs, not windows.

    “containing folder”. I have not heard this term used anywhere else than NPP. Most common name for showing file folder in explorer is “Show In Explorer”, sometimes also “Open in Explorer”. IMO in this context “current folder” is more intuitive.

    “close multiple documents” --> “close multiple tabs”. How often people use NPP to edit “documents” ? For me I edit mainly script or programming source code, txt, ini, xml files, etc… Document gives completely wrong impression (in my opinion) so tab is a better term.

    “edit - insert”–>“edit - insert date, time”. If you use the program seldom you will not remember what sort of insert options there are inside so better to have more descriptive menu item name.

    “Convert case to”–>“Case”, “Line Operations”–>“Line”, “EOL Conversion”–>“EOL”, unneeded words cluttering UI

    “Auto-Completion”–>“Auto-Complete”, latter is de-facto term used for this feature

    “View - View current file in”–>“View - Open with”, Open with is more common way to describe this feature

    “Encoding - Character Set”–>“Encoding - Non-English Encoding”. Character set is pretty ambigous name but this submenu contains only encoding related to non-english languages so I thought this name would be more descriptive.

    “Language - User Defined Language”–>“Language - UDL Settings”. IMO things related to UDL were maybe most confusing and illogical part of NPP UI. So I did a lot of changes there.

    “Reload from Disk”–>“Reload”. Usually it is called just Reload or Refresh

    “Open in default viewer”–>“Open in default program”

    “Folder as Workspace”–>“Workspace - Panel”

    “Synchronize Horizontal Scrolling”–>“Sync Horizontal”

    “Focus on Another View”–>“Focus on Other View”

    “Open User Defined Language folder…”–>“Open userDefineLangs Folder…”

    “Notepad++ Online User Manual”–>“USER MANUAL”

    “Run…”–>“Open External Program…”

    “Close - Close All BUT This”–>“Close - Other Tabs”

    Close - Close All to the Left"–>“Close - Left”

    “Find in Files”–>“Search in Multiple Files”. This was especially confusing. I had no idea what Find in Files would mean but Search in Multiple Files is pretty self explanatory.

  • Change of the selection mode

    2
    1 Votes
    2 Posts
    114 Views
    PeterJonesP

    @guy038 said in Change of the selection mode:

    Open the search dialog ( Ctrl + F )

    I just tried that. Then I tried doing just a Ctrl+A to select all the text more simply, and the Alt+Shift+UpArrow trick still worked to turn that stream into a zero-width column. That’s actually useful, as I often like getting a column at the beginning of the line. (It’s useful for going the other way – using the column editor to insert the line numbering.)

    But be warned: if the final line of the file doesn’t have a newline, then my method will end up selecting a rectangle from the end of the last line to the beginning of the first line:
    5380904c-9ee6-4c11-a985-d3ba42f4f6c9-image.png
    The regex version avoids that by making sure it only selects lines that end with a newline.

    This usually won’t be a problem for me, since I usually have a newline at the end of my file. I’ve just created a macro of the Ctrl+A then Alt+Shift+UpArrow sequence, and assigned a shortcut. It might just enter my standard workflow. So thanks, @guy038.

    Actually, I just found another difference. @guy038’s regex vesion will only select a “paragraph” worth, since it will stop at the first blank line. So if you have

    intro 1. blah 2. blah 10. blah ending

    If your cursor is on intro or the line after, the regex will select the list. But if you’re on line 1. blah, then it will only select 2 and 10. And if you’re on the last line of the list, then it will actually select the ending paragraph.

    So it depends on what quirks you want, and whether you want “paragraph” or “whole document”, whether you should record the macro with my Ctrl+A or @guy038’s regex, or a slightly modified regex to match your most common use case(s). Since macros record searches, any of those could be made into a macro for a single-keystroke for what you want.

  • notepad++ store version for windows 11?

    11
    0 Votes
    11 Posts
    8k Views
    PeterJonesP

    @DoktorDemento said in notepad++ store version for windows 11?:

    but is there any chance of a Microsoft Store listing for N++?

    Essentially 0% chance. The developer does not want to go through the hoops required for the MS store, regardless of whether they now allow EXE installers or not. He has rejected the suggestion multiple times.

  • How to change colorful Unicode emoji characters to monochrome?

    6
    0 Votes
    6 Posts
    2k Views
    T

    @rdipardo I just ran into this when I tried pasting a webpage of emoticon codes into a new installation of Notepad++ and was very surprised and pleased to see them rendered in color! In my daily NotePad++ they always look like line drawings. I tried playing with preferences but didn’t figure it out, so I Googled it and found the AI summary told me how to enable direct write to achieve this. Apparently when I installed my NotePad++ GDI was the default, but now it’s DirectWrite that is the default! Hooray! 😀

  • Window sort back to original tab order (default) ...

    5
    0 Votes
    5 Posts
    217 Views
    Alan KilbornA

    @James-Wisecup-0 said:

    Maybe it’ll be a feature in the near future .

    Likely not.

  • 0 Votes
    2 Posts
    87 Views
    PeterJonesP

    @Greg-Wille ,

    There’s a workaround: if you use Window > Sort By > Content Length Ascending/Descending, it will sort the tabs by content length, which also sorts the Document List.

    Because that sort feature exists through a different menu, it’s not likely that the developer would add it to the Document List panel as well (and it’s guaranteed that it won’t happen if you only have a post here, because as our FAQ explains, this is not the place for feature requests).

  • Wrong font used

    16
    1 Votes
    16 Posts
    4k Views
    PeterJonesP

    It appears that in my collection of fonts, Text is a variant like Thin, Medm, Bold, etc., because it works as expected with the rendering mode set to GDI instead of DirectWrite.

    I don’t know if the font collection was repackaged on Google and Text was corrected,

    Like I said, Google fonts doesn’t have the Text variant: I had to get that from fontsquirrel

    perhaps it’s still mispackaged internally to IBM, so that it fails for me.

    I doubt that’s it.

    Thanks for your time, it’s greatly appreciated. (Not that it matters any more, but I’m on Windows 11 and my debug info follows.)

    Well, there goes my Win11 theory. :-(

    Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)

    … so this was taken when you were still in DirectWrite.

    Display Info:
    primary monitor: 3840x2400, scaling 300%

    Ooh, that’s interesting. Maybe it’s a high-DPI issue. (Notepad++ still has some pretty weird bugs when you have a high-DPI monitor. Something specific to the Text version of the font might trigger one of those.)

    But, anyway, if GDI works for you, that’s great. (Just be warned that in GDI mode, if you try to use an emoji or other glyph that’s not in your font, Windows might not be able to display the character from another font, like it can when you are in DirectWrite mode.)

  • About UTF-8 encoding...

    1
    2 Votes
    1 Posts
    654 Views
    No one has replied