• 0 Votes
    1 Posts
    82 Views
    No one has replied
  • Avoiding Tabbed Spaces

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    123 Views
    CoisesC

    @James-Burke-0 said in Avoiding Tabbed Spaces:

    Is there a toggle for NPP to NOT insert tabbed spaces at the beginning of a line? Somewhere in Preferences, perhaps?

    You probably want Settings | Preferences… | Indentation | Indent using: Space character(s).

  • 0 Votes
    10 Posts
    518 Views
    SuperCPUS

    @mpheath

    I had to save the UDL with and it worked very well, thank you very much!

  • Show no-break space

    Help wanted · · · – – – · · ·
    8
    1 Votes
    8 Posts
    41k Views
    Laurie StearnL

    Just a heads up for recent N++ users, search for the text no-break space in Windows Character Map, select it at top left and copy/paste into a UTF encoded N++ window with Word wrap and View>Show Non-Printing Characters ticked, it shows up as NBSP highlighted.
    Or, the character is pasted here on the next line:
     
    Works at least in the unposted forum edit box - but not in the preview pane it seems.

  • 1 Votes
    5 Posts
    411 Views
    xomxX

    @Juan-Delgado said in Windows ARM64 25H2 Notepad++ 8.8.7 doesn't start:

    So, I uninstalled the Notepad

    I think it helped due to completely deleting the N++ settings, namely the config.xml file. There is a N++ Smart Highlighting bug (already fixed for the next N++ version), more here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17126#issuecomment-3476961976

  • 1 Votes
    3 Posts
    187 Views
    Matthew HabashM

    @PeterJones Thank you for the explanation and my apologies for the confusion. I meant for both sides of lines to have the same number of dashes. I guess I did not catch that.

    Your regex code worked and that was what I needed. Thank you very much!

  • Default LF and not CRLF

    Help wanted · · · – – – · · ·
    5
    0 Votes
    5 Posts
    333 Views
    PeterJonesP

    @flaviozluca said in Default LF and not CRLF:

    Thanks but in short, so I cant change the default always to default LF?

    In short, your statement is 100% wrong.

    Notepad++ does save the default for new files, as I described above, in detail. Since you don’t seem to want to read that, I will shorten it for you: Open exactly one instance of Notepad++ (no more, no less). Set Settings > Preferences > New Document > Format (Line Ending) to Unix (LF). Exit Notepad++. Then the next time you start Notepad++, all new files you create will use that line ending.

    This obviously doesn’t change the line endings on existing files – existing files are saved with the bytes for either CRLF or LF already. If you open a file that’s already saved with CRLF, you can change the line endings with the Edit > EOL Conversion … sub-menu actions, or by right-clicking on the line-ending indicator on the status bar.

  • Looking for dBASE IV (old DOS versions) UDL

    General Discussion
    24
    2 Votes
    24 Posts
    4k Views
    Lycan ThropeL

    @James-Burke-0 ,
    Yeah…okay, whatever. It’s clear now, you don’t know what you’re talking about and pushing a product that isn’t what you say it is.

    Your statement is false, period. It can’t read all known DBF types, as you state because it can’t read level 7 DBF files, which has been the latest official dBASE file type for the past approx 28 years almost since it’s been written to work in Windows, so I’ll consider your postings to be uninformed spam. Have a nice day.

  • Editar formulas de excel en Notepad

    General Discussion
    10
    0 Votes
    10 Posts
    837 Views
    PeterJonesP

    @john-murphy said in Editar formulas de excel en Notepad:

    You can click on the cell so that the formula goes up to the input window (I don’t know what it’s called). Highlight the formula there, not within the cell itself. Then Cntl C in excel and Cntl V in NP++

    You didn’t actually read the question. The people who answered earlier did. Please don’t try to “help” by giving answers that just use keywords, instead of actually understanding the question asked.

    I cannot prove you are using generative AI, but it sure feels like it. That is expressly forbidden in this forum. You’ve had two posts like that. If you make a third post that has the same unhelpful pseudo-replies, you will be banned.

  • 0 Votes
    7 Posts
    401 Views
    PeterJonesP

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

    Also, go to to the search input window and type name:bbb or whatever you named the file if it’s not bbb. Windows will find it. Of course you need to search from a folder that you can reasonable expect to find the file, so that the search doesn’t take too long.

    That has nothing to do with the question asked. You do not name the file that Notepad++ stores macros in. It’s defined internally, and the answers above already explained where to find them.

    I cannot prove you are using generative AI, but it sure feels like it. That is expressly forbidden in this forum. You’ve had two posts like that. If you make a third post that has the same unhelpful pseudo-replies, you will be banned.

  • 0 Votes
    3 Posts
    238 Views
    SuperCPUS

    @PeterJones

    Changing only the ink color is much better than nothing, it works very well, thank you!

  • 0 Votes
    5 Posts
    202 Views
    Drake_M__D

    @Terry-R

    Your second option \sR(\s|$) worked like a charm.

    Thanks so much for the insight - huge help!

  • 3 Votes
    6 Posts
    5k Views
    Lycan ThropeL

    @donho ,
    And it updated flawlessly. Thank you for getting that smoothed out. When things like that, act up, it gives users the heebee jeebees. :-)

  • XBrackets Lite v2.0 has been released!

    Notepad++ & Plugin Development
    4
    3 Votes
    4 Posts
    2k Views
    Vitalii DovganV

    XBrackets Lite v2.0.3

    Glory to Ukraine! Glory to the heroes! fixed: CXBracketsLogic::OnCharPress was truncating a multi-byte character to a single-byte one, thus incorrectly treating e.g. 0x1D5B as 0x5B which is ‘[’.

    https://github.com/d0vgan/npp-XBracketsLite/releases/tag/XBrackets_v203

  • Columns++ display anomaly

    Notepad++ & Plugin Development
    13
    0 Votes
    13 Posts
    2k Views
    CoisesC

    @Laurie-Stearn said in Columns++ display anomaly:

    Out of interest, getting similar behaviour in a UDL when selecting Arial as font as opposed to Consolas:

    <WordsStyle name="COMMENTS" fgColor="008000" bgColor="000000" colorStyle="1" fontName="Arial" fontStyle="2" nesting="0" />

    As before type a long line of text which overflows the wrap limit thus

    texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext

    Then insert before it the opening comment tag:

    /*

    Solid pink line appears below the long line which prevents any cursor movement below with down-arrow.

    Replacing Arial with Consolas for example doesn’t repro.
    Some rare irreproducible glitchiness with pink lines may occur in other situations by just typing the slash instead of the asterisk.

    Edit: Just realised this is for a plugin not installed - the issue seems to be with N++ itself. Sorry.

    When it happened with my plugin (Columns++) the cause turned out to be a wrapped line getting shorter (due to tab layout changing), so that it needed one less wraps. The solution involved temporarily disabling Scintilla’s line cache: something that can cause slow processing in large files with word wrap on. The problem doesn’t happen when editing itself makes the line shorter; it happens when something done after the editing is complete (like recalculating tab widths, or changing styles) causes the line to get shorter.

    My guess is that in this case, the text wraps to n lines after editing, before the new styling is applied; then, when styling is applied, the text only requires n-1 lines for wrapping, and the leftover line is magenta-marked. That marking is a Scintilla “feature” to show that something went wrong. (Why it doesn’t just correct the wrapping instead, I don’t know. Scintilla is open source, but it’s still pretty much a black box to me.)

    The practical fix is probably to avoid specifying different fonts (or font variations with differing widths) for different styles if you expect to use them with word wrap. For performance reasons, turning off the Scintilla line-wrapping cache would not be something Notepad++ would do.

  • Line wrap on line 1000 can cause continual wiggles

    General Discussion
    3
    0 Votes
    3 Posts
    335 Views
    Alan KilbornA

    @Steve-Rhoads

    This is a known issue, reported several times. Here’s one of those times (that links to some others): https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13341

  • 0 Votes
    3 Posts
    233 Views
    NicholasN

    winget install Notepad++.Notepad++

    I think the sandbox has winget. It has been a while since I have used it. Use -i if you want to select install options.

  • 0 Votes
    3 Posts
    374 Views
    xomxX

    @Freon-Sandoz-0 said in Feature Request: Ask before deleting record of current files:

    from the record

    Maybe it’s about the already opened N++ session files and not about the recent files list?

    If so, rather check the Preferences > Backup > Remember inaccessible files from past session.

    More info in: https://npp-user-manual.org/docs/session/#inaccessible-files-in-an-active-session

  • Project files updated

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    403 Views
    PeterJonesP

    @Ollivier_64_fr said in Project files updated:

    Hello everyone,
    I have a question about project management: would it be possible to update project content without having to delete all the files and recreate the project? I searched the options without finding a solution… it might be more convenient.
    I hope this question hasn’t already been asked. I searched the forum before posting here without finding anything.
    Thank you for your answers.

    What exactly do you mean by “update project content”? The project panels (https://npp-user-manual.org/docs/session/#project-panels) aren’t “live”, in that they don’t automatically add or remove files from a folder (because “projects” are meant to be independent of the underlying folder structure). But you can manually add or remove files from a given project at any time, without deleting and recreating it.

    If you are looking for something that’s directory based, rather than manually adding/removing files, then the closest feature to what you want is Folder as Workspace (https://npp-user-manual.org/docs/session/#folder-as-workspace), though that shows all files in the folder hierarchy, rather than just specific filetypes.

  • Help for a JSON formatting.

    General Discussion
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    @Mudassir-Raza said in Help for a JSON formatting.:

    That JSON snippet looks fine — it’s just not indented properly, so it’s hard to read.

    And has syntax errors, since there are four arrays and two objects which are not properly terminated.

    You can format JSON in a few ways:

    In Notepad++, install the JSON Viewer plugin (as you already did).

    Or the JsonTools plugin mentioned above. I tried both on the original data: JSON Viewer refused to format it, because of the syntax errors. JsonTools warned about the syntax errors, but then made its best guess to close off the arrays and objects and then formatted it.

    Or, if you just want something quick in the browser, try a free online JSON viewer — it shows tree view and highlights errors instantly.

    This is a Notepad++ forum. Unless Notepad++ has no way of doing it, and especially for first-time posters, it is frowned upon suggesting external tools. And since both JSON Viewer and JsonTools can help with that messy data, to some extent, there is no reason to advertise external tools – they both have error detection, they both have pretty-printers, and they both have tree-view panels available, which covers all the features you mentioned of the website, so I can see no good reason to bring up that site.

    Given that the conversation was a year old, and the only new information you added was the advertisement for an external website, I was tempted to ban you as a spammer. And since I’m still not convinced that website traffic isn’t the only reason you posted, I am de-linkifying your post. Anyone who is curious about the site you’ve advertised will still be able to figure out where it is, but it will prevent automatic crawlers from wasting site bandwidth here as a redirect to the site you advertised.