• Notepad++ VERY slow to open

    16
    0 Votes
    16 Posts
    11k Views
    MarcosM

    Hello!

    I’m having a similar problem with NPP being slow to open, and I believe it’s related to the fact that I have several “draft” (unsaved) files saved, since I have the options enabled: backup and remember last session.
    This has already been reported in another post:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14000

    In my case, I have an SSD and it takes about 20 seconds to load about 200 files. So it spends about 0.1 seconds per file.

    I did some tests using Process Monitor, as shown in the image below.

    notepad.png

    In this case, it seems that NPP keeps trying to create files in the “Program Files” folder, but it gives a “NAME NOT FOUND” error.
    After that, it goes to the “AppData/Roaming…” folder where the backup files are located.

    In short, based on this result, does anyone have any idea how to try to solve this delay, perhaps caused by failures or repeated attempts to read/write the backup files?

  • notepad++,exe- bad image

    3
    0 Votes
    3 Posts
    269 Views
    pbarneyP

    @Alan, listen to @PeterJones when he says to scan your computer for viruses. TextShaping.dll is commonly used in DLL sideloading exploits, and if your executables are trying to call it when it resides in a place it doesn’t belong (your Notepad++ directory), then there’s a good chance your computer has been hacked.

    That doesn’t mean you should freak out just yet, just take some steps to ensure that you’re not hacked.

  • Update CLI command

    4
    0 Votes
    4 Posts
    5k Views
    D

    All the gup.exe does is to check if there is a newer version than specified by the string input parameter is available. It does not handle the update itself. You would have to code it for yourself.

    For example like this in Powershell 5.1 for the 64bit version of Notepad++.

    [string]$ScriptFolder = $PSCommandPath | Split-Path -Parent $Notepad = Get-ItemProperty -LiteralPath 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++' $InstalledVersion = $Notepad.DisplayVersion $UpdateCheck = Invoke-WebRequest -Uri "https://notepad-plus-plus.org/update/getDownloadUrl.php?version=$InstalledVersion" $UpdateCheckAnswer = ([xml]$UpdateCheck.Content).GUP if ($UpdateCheckAnswer.NeedToBeUpdated -eq 'yes') { $Filename = $UpdateCheckAnswer.Location.Split('/')[-1] Invoke-WebRequest -Uri $UpdateCheckAnswer.Location -OutFile "$ScriptFolder\$Filename" & "$ScriptFolder\$Filename" '/S /closeRunningNpp' }
  • Issue with XML Tools Pretty Print

    1
    0 Votes
    1 Posts
    144 Views
    No one has replied
  • WebEdit Plugin for NPP x64 ?

    9
    0 Votes
    9 Posts
    2k Views
    Richárd StockingerR

    Hi everyone!

    I have some good news and bad news.

    The good news is that I’ve finished WebEdit 2.9, which includes several new features: multi-select support, tag recommendations, quick tag addition/editing, and a few other minor upgrades.

    The bad news is that I’ve actually finished all the essential features I wanted to implement, so I’m not planning any further developments for the time being. Of course, you can still report bugs/issues and even make minor development suggestions, but the goal remains to keep the plugin fast, lightweight and easy to use.

    The overview of the (new) features is also available on the module’s main page: https://github.com/Krazal/WebEdit

    What’s next: when I have time, I’d like to return to my own plugin, because it has been full of bugs for months (not my fault!). ^^’

    Thank you for letting me contribute to this plugin, which I hope others will find just as great and useful as me!

  • Using the Language Editor

    4
    0 Votes
    4 Posts
    411 Views
    Lycan ThropeL

    @James-Burke-0 ,
    In addition to what @PeterJones has explained, the only other thing you could do, is bring up dBASEPlus in the Language->User Defined Language->Define your language...User language drop down box, and then `Save As’ and give it a new name.

    At that point, you can play with the settings, keywords, etc… all you want in your own named UDL. Because of the way the entire UDL ecosystem works, however, you’ll lose the ability to use the autoComplete file and the functionList file as well, because of their links to the UDL’s file names that those work with, as well as the overrideMap.xml linkage file, but you’d have JUST the UDL to adjust to your likings and then when you’re satisfied, you could go back to the original dBASEPlus UDL and put the changes that you want into the Dialog boxes for the language and then do as @PeterJones says, and just close and reopen the editor and your changes will be applied to the intalled dBASEPlus UDL definition.

    If you don’t need the Function List or Auto Complete capability, you can just use your newly named version of the dBASEPlus UDL to view and edit dBASE specific files.

    Just in case this is what you meant you wanted to do, to customize the dBASEPlus UDL without losing the original functionality of the original package. I hope this helps.

  • backward search doesn't work any longer

    2
    0 Votes
    2 Posts
    128 Views
    PeterJonesP

    @Jerry-Scannell said in backward search doesn't work any longer:

    All of a sudden searching backwards through a file doesn’t work and I have to have proper case for strings I am searching. Does anyone know about this? Is it a setting that has changed for some reason? I am using version 8.7.5 if that helps.
    Thanks in advance,
    Paul

    That setting hasn’t changed since 2020 (v7.8.7).

    If you are in Regular Expression search mode, you cannot do backward search, unless you have followed the User Manual instructions (https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users) to set the regexBackward4PowerUser attribute in the xml config file, and restarted N++.

    But, as I said, this is nothing new. So a “sudden change” presumably was you choosing Regular Expression mode.

  • How To Read And Edit ASCII File with HEX Values Inside

    6
    1 Votes
    6 Posts
    735 Views
    Tnega TercesT

    Thank you guys all so very much, now that I know that it’s a GVAS file, I’ll chase down that lead and try to get somewhere!!!

  • How to replace a "."

    2
    1 Votes
    2 Posts
    103 Views
    Alan KilbornA

    @Pieter-Hoeben

    You probably have the “Search Mode” set to “Regular expression”. Change it to “Normal”.

  • Avoiding Tabbed Spaces

    2
    0 Votes
    2 Posts
    128 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).

  • How to set a different background color for the text before a certain line?

    10
    0 Votes
    10 Posts
    549 Views
    SuperCPUS

    @mpheath

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

  • Windows ARM64 25H2 Notepad++ 8.8.7 doesn't start

    5
    1 Votes
    5 Posts
    443 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

  • Seperating words in between dash with a line break

    3
    1 Votes
    3 Posts
    198 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

    5
    0 Votes
    5 Posts
    357 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.

  • How to show web links with a different color in Notepad++ ?

    3
    0 Votes
    3 Posts
    252 Views
    SuperCPUS

    @PeterJones

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

  • Marking Sing Letters In a Document To Clear

    5
    0 Votes
    5 Posts
    220 Views
    Drake_M__D

    @Terry-R

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

    Thanks so much for the insight - huge help!

  • 0 Votes
    3 Posts
    247 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.

  • Project files updated

    2
    0 Votes
    2 Posts
    409 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.

  • Strong Flickering

    6
    0 Votes
    6 Posts
    455 Views
    Harold hoangH

    @BUILMOND-interactive same problem on Snapdragon Windows Laptops - once changed to GDI the flickering across the screen is gone - seems the flickering has to do /w the cursor position flicker

  • How to jump to the other end of selection?

    3
    0 Votes
    3 Posts
    264 Views
    fml2F

    @PeterJones ,

    thank you for the description! A did it and it works like a charm! It is indeed amazing what’s possible with Notepad++! Likewise it’s also amazing what a friendly and helpful community it has!