Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Vince AmanV

      Save and Restore Change History Markers

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      1 Votes
      10 Posts
      444 Views
      Vince AmanV

      @mpheath ,

      Thanks again for you reply! I plan to test your BufferRestore script after my next “break” in my current project(s). After looking closer at your post and web page, this looks to be a good option for me to use until NP++ has a built in tool…

      I do own a rack of servers and plan to spin up a couple extra VMs once I release my own platform/environment for my apps (within the next couple months). The challenge with one of the (main) current platforms which I’m using is, while I pay annually to be a developer for them, their licensing does not allow me to run on more than 1 PC at a time, so it requires me to log out/in each time I switch between PCs or VMs. I can’t maintain the variable “state” if forced to log out.

      There are many additional issues with Windows Rebooting… When the current test environments get “killed”, all the opened files are now locked and all the variables are flushed. So it requires unlocking the files, and recreating the previous workflow to recreate the variable “state”. Using a log file doesn’t work well in this environment, because it typically goes back beyond the last save… and could only be applied if the saved file was in the exact state as when the log file was started… not sure if that makes sense?

    • Barry LortB

      Move Line Up

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      1 Votes
      6 Posts
      277 Views
      Barry LortB

      @guy038

      More good information. Thank you!

      Barry

    • h-jangraH

      Inline markdown preview & better note taking plugin idea

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      308 Views
      h-jangraH

      Thanks @Coises & @rdipardo
      I tried this and its working but still not better. You can suggest anything if I can add more styling.

      10f9d4ce-57f8-4d4c-a375-a9f4450b524e-image.png

      h-jangra/BetterMarkdown/releases/tag/0.1

    • J

      Replacing text blocks with ToolBucket

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      40 Views
      PeterJonesP

      @JuergenBelle ,

      Further to what @h-jangra said, since N++ v8.8.6, you can just paste your multi-line text into the Replace, and use the Search @h-jangra suggested, and you don’t need the plugin at all…

      If your replacement has parentheses () or dollar signs $, it might not work as you expect, so you might have to escape them, as described in the user manual (https://npp-user-manual.org/docs/searching/#substitutions)

    • Wilson Azambuja Porto Alegre RSW

      Mover abas

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      271 Views
      Mark OlsonM

      I seem to recall that there was a bug in the main GitHub repo about this kind of issue, where it was extremely slow to move tabs when a lot of tabs were open.

      I also seem to recall that this issue was solved, probably in the last year. I’d recommend that @Wilson-Azambuja-Porto-Alegre-RS install the most recent Notepad++ version and see if that fixes the problem.

    • AlanA

      notepad++,exe- bad image

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      232 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.

    • MM tsuchiM

      Notepad++ 8.8.7 "select and search next/previous (Ctrl-F3 / Ctrl-Maj-F3) don't work anymore

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      42 Views
      Terry RT

      @MM-tsuchi said in Notepad++ 8.8.7 "select and search next/previous (Ctrl-F3 / Ctrl-Maj-F3) don't work anymore:

      Notepad++ 8.8.7 "select and search next/previous (Ctrl-F3 / Ctrl-Maj-F3) don’t work anymore, neither with menu or shortcut keys.

      I can confirm that the newly portable versions of both 8.8.5 and 8.8.7 64bit DO work with the “select and search next/previous” (out of the box).

      However my “installed” version of 8.8.7 64bit does not (it has been updated for a couple of years or more). At least it did not until I ticked the option “fill find field with select text” under Settings/Preferences/Searching. Then I went into the 8.8.5 portable version and deselected the “fill find field with select text” but the “select and search next/previous” still worked.

      So all I can gather at the moment is that is seems that the “select and search next/previous” process relies on something else (to be enabled/disabled). Nothing in the online manual suggest any other settings need to be set to operate this search mode.

      Terry

    • donhoD

      Notepad++ 8.8.8 release candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      7 Votes
      2 Posts
      874 Views
      donhoD

      FYI, v8.8.8 RC has updated to RC2 to enhance the security of auto-update.

    • h-jangraH

      NppVim 1.6.0.0 Release - what's next macros?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      3 Votes
      1 Posts
      44 Views
      No one has replied
    • Jeff EspositoJ

      Notepad++ VERY slow to open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      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?

    • h-jangraH

      New Vim modal editing plugin release

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      1 Votes
      6 Posts
      4k Views
      h-jangraH

      @PeterJones @guy038 @W-H @Ava-Thompson and everyone

      Thanks a lot for checking out NppVim and for all the support. Really appreciate the feedback and the nice words.

      Quick updates:

      Repo here: https://github.com/h-jangra/NppVim I’m still actively working on the plugin, adding more motions, fixing bugs and making things feel closer to real Vim. More text objects, better repeat for t/f etc all in progress.

      I’m glad to hear interest in supporting the project. I’ll set up GitHub Sponsors soon and will update this thread.

      Thanks again for trying it out and giving feedback, it motivates me to keep improving it.
      Please feel free to open issues on GitHub for any bugs or features you want prioritized.

    • Michal ŠunkaM

      Update CLI command

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      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' }
    • Chuck Rheault 0C

      Issue with XML Tools Pretty Print

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      127 Views
      No one has replied
    • Dan McGovernD

      using the command line switches, but not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      112 Views
      PeterJonesP

      @Dan-McGovern ,

      -openFoldersAsWorkspace works just fine with -settingsDir and -titleAdd and other similar options, in my experiements.

      But, as far as I can tell, once -openFoldersAsWorkspace is specified anywhere on the command line, all path arguments are treated under the rule, “if it’s a folder, put it in the FolderAsWorkspace panel, and don’t open any file-paths directly”.

      That seems like the intent, because I don’t think it was considered that notepad++.exe myfile.txt -openFoldersAsWorkspace SomeDirectory\ would be a normal use-case (ie, when adding the feature, didn’t think that you’d want to open a file from one location, plus a folder-as-workspace from another, in the same command-line)

      If you don’t have the -multiInst argument, and if you don’t have the multi-instance preference set, then you could break it up into two calls of notepad++.exe

      "%np%" -settingsDir="..." -openFoldersAsWorkspace "%workspace%" "%np%" -settingsDir="..." "%file%"

      In that incantation, the oFAW has to come first, because of the known-and-never-solved issue that oFAW doesn’t work on an already-running instance of Notepad++.

      … But since I seem to remember that you do have the multi-instance preference set, that’s not likely to work for you. In which case, until you do a feature request, and it was accepted and implemented and released, I don’t know that you’ll get exactly what you want.

      I’ll update the manual to better explain current behavior with the oFAW option.