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
    • PeterJonesP

      Config Files Need Updating, Too

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion pythonscript config-files stylers.xml langs.xml syntax highlight
      46
      9 Votes
      46 Posts
      14k Views
      PeterJonesP
      ConfigUpdater Plugin v2.2.1

      ConfigUpdater Plugin has released v2.2.1, available thru GitHub release page, with bugfix improvements, mostly to Validation Dialog:

      Error handling for null handle ⇒ to prevent potential crashes Disable logfile Monitoring Mode ⇒ it triggers callbacks for many file-changed events, which can bog down setups that use plugins/scripts that add many callbacks Fix progress bar on ConfigUpdater dialog ⇒ makes more-visible progress as each file is processed ValidationDialog: say Line#123 instead of #123 in the Validation dialog error list ⇒ Makes it more clear to the user that the number is the line number, not just some internal tracking number ValidationDialog: Rename Done -> Close ValidationDialog: Rename Go to Model -> Open/Align Model in Other View ValidationDialog: Disabled Validate button when no file selected ValidationDialog: Add ephemeral “Please select a file to validate” choice as initially-selected “file” for validation, which will go away once you’ve made a choice ValidationDialog: Open/Align Model now allows opening the model even when there are no validation errors (or when you haven’t even validated yet) it was previously not allowed because the vector it was looking at to find which line number in model-file was 0-length if there were no errors (or no validation done yet); I was able to update the logic to choose line 0 if there was no selection or no validation errors Update langs.xsd to check for duplicate <Keyword name="xyz"> entries NOTE: if you want this feature, you have to delete the old ...\plugins\config\ConfigUpdater\langs.xsd before launching the ConfigUpdater or ValidateConfigFiles dialogs (only need to delete the file once; after it is regenerated, the new error checking will be available in the future) Only allow one Validator dialog ⇒ It could cause problems if more than one dialog were trying to validate at the same time, and there is no compelling reason for allowing multiple instances of that dialog
    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      45
      2 Votes
      45 Posts
      65k 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)

    • dave-userD

      Customize Toolbar - New Version 4.1

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      45
      0 Votes
      45 Posts
      64k Views
      MAPJe71M

      OK, the GitHub link @andrecool-68 provided already pointed to a description of how I did it.
      Did not remember that.
      What can I say: “Now also available for Notepad++ 64 bit!” :-D

      @andrecool-68 I agree, same toolbar button functionality as the build-in Function List toolbar button i.e. indicating active/inactive by changing the button background color.

    • pinuzzu99P

      delete line between bookmark

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      45
      0 Votes
      45 Posts
      19k Views
      pinuzzu99P

      @guy038 tank you so much, your last string (?-s)^((?!.+@).+\R?)+ work very well for my purpose! Regards.

    • Scott RaskinS

      renumbering/incremental

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      45
      0 Votes
      45 Posts
      15k Views
      Alan KilbornA

      If you’ve used a script in this thread, you might want to double check your copy of it for a bug I’ve discovered.
      Look to previous postings in this topic thread where the script has been changed – find the text moderator edit (2024-Jan-14).
      There’s a link there that describes the bug in more detail, and shows what needs to be changed in an old copy (or you can simply grab a copy of the current version).

    • Joshua HartwellJ

      DLL Hack in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      44
      1 Votes
      44 Posts
      59k Views
      Claudia FrankC

      @Gilberto-SC

      you can use procmon in order to find out which dll gets loaded, from where and when.
      Run procmon, define a filter for npp and then start npp.
      It needs a bit of training but if you are really interested in finding out what does what
      check out the sysinternals tools as well as everything Mark Russinovich has posted/blogged.

      Once you are at the level to understand how process, threads, libraries, drivers … work together
      download hxd and start investigating memory.

      Other useful tools can be found at nirsoft.

      Cheers
      Claudia

    • Alguem MeuglaA

      Is there a way/plugin that makes notepad++ run code on a file when we open it?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      44
      0 Votes
      44 Posts
      37k Views
      Alguem MeuglaA

      @Claudia-Frank said:

      just for clarification, you are happy? No further modification needed?

      Yeah, it looks good enough. Ty.

    • Steve LaLondeS

      Preview Plugin

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      44
      1 Votes
      44 Posts
      28k Views
      PeterJonesP

      Glad I decided to log in on a Saturday.

      Thanks for getting that released, @vor0nwe. Much appreciated.

      It means I’ll probably finally get around to upgrading to 64-bit at home.

    • Web MasterW

      Replacing variable length file paths in a GEDCOM file

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      44
      2 Votes
      44 Posts
      5k Views
      Web MasterW

      @paul-wormer The replacement string is constant so it’s a one-time entry into the expression the guys have devised for me.

    • Artur HarisonA

      Russian Translation

      Watching Ignoring Scheduled Pinned Locked Moved Translation
      43
      0 Votes
      43 Posts
      55k Views
      Alan KilbornA

      @guy038 said in Russian Translation:

      Personally, I think that the exact meaning of this option, in English should be :
      Dot (.) matches ‘End of Line’ chars, too

      The problem is, there is limited room on screen to display the text.

      I checked another regex program (RegexBuddy) and it uses Dot matches line breaks for this, which is longer than N++'s English text and shorter than Guy’s suggestion.

    • John SparkJ

      Who is responsible for viewing and claiming users suggestions ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      43
      0 Votes
      43 Posts
      60k Views
      John SparkJ

      #4, Ability to exclude numbers from Auto-Completion.
      And ability to exclude specific strings from Auto-Completion per file or default for anything opened !

    • Herofiles.H

      Replace 1 + lines?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      43
      0 Votes
      43 Posts
      38k Views
      AZJIO AZJIOA

      As a result, several plugins, but there is much to strive for.
      https://yadi.sk/d/VYtvMq8ECMou9g

    • dr ramaanandD

      Negative lookbehind regular expression not working on Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      43
      0 Votes
      43 Posts
      10k Views
      dr ramaanandD

      @guy038 Oui, merci beaucoup!

    • Shawn RickmanS

      NP++ on Linux?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      42
      8 Votes
      42 Posts
      151k Views
      vstepaniukV

      Try Geany
      https://www.geany.org/

    • donhoD

      Notepad++ v8.3.2 release - Declare variables, not war

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      42
      9 Votes
      42 Posts
      20k Views
      Vitalii DovganV

      @vitalii-dovgan said in Notepad++ v8.3.2 release - Declare variables, not war:

      Hmm, I tried to reproduce it today with different scenarios - and could not. Though it was stably reproducible yesterday.

      Now I’m having a strong confidence that the issue was connected to improper invocation of Notepad++ from my side. Sorry for the previous misleading.

      Anyway, as the result I’ve created a batch script that can be used to add a context menu item “Edit with Notepad++” for a single file and “Open in Notepad++” for a folder, using either a portable or an installed version of Notepad++. If interested, you can place this file directly into the Notepad++ folder and run it there.

      The content of “npp_context_menu.cmd” :

      @echo off echo Initialization... set EXEDIR=%~dp0 set "EXE=%EXEDIR:\=\\%notepad++.exe" set REGFILE=npp_context_menu.reg if exist "%REGFILE%" del "%REGFILE%" echo Writing "%REGFILE%"... 1>>"%REGFILE%" echo Windows Registry Editor Version 5.00 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell] 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell\notepadpp_edit_file] 1>>"%REGFILE%" echo @="Edit with &Notepad++" 1>>"%REGFILE%" echo "Icon"="\"%EXE%\",0" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell\notepadpp_edit_file\command] 1>>"%REGFILE%" echo @="\"%EXE%\" -nosession \"%%1\"" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell] 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell\notepadpp_edit_folder] 1>>"%REGFILE%" echo @="Open in &Notepad++" 1>>"%REGFILE%" echo "Icon"="\"%EXE%\",0" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell\notepadpp_edit_folder\command] 1>>"%REGFILE%" echo @="\"%EXE%\" -multiInst -nosession -openFoldersAsWorkspace \"%%1\"" 1>>"%REGFILE%" echo. REM Converting to UCS-2 LE (not mandatory) if exist "%~dp0..\sfk\sfk.exe" set PATH=%PATH%;%~dp0..\sfk sfk atow "%REGFILE%" -tofile "%REGFILE%" if not exist "%REGFILE%" goto ErrorNoRegFile echo Registering "%REGFILE%"... start "Registering %REGFILE%" "%REGFILE%" goto Done :ErrorNoRegFile echo ERROR: "%REGFILE%" does not exist! pause goto Done :Done

      This invokes Notepad++ using its -nosession command line argument to not affect the opened file history (this is especially useful when opening a folder).

    • Wayne LedfordW

      Orange line next to anything I type now, cant seem to figure out how to turn it off.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      42
      1 Votes
      42 Posts
      48k Views
      Alan KilbornA

      @PeterJones said:

      It does stay off, unless you have multiple instances open simultaneously. In which case, as has always been the case, settings changes do not propagate from one instance to a different, already-open instance, and only one instance has authority to write its configuration to disk. This is nothing new.

      User manual REFERENCE for this for @rebber2.

    • Eko palypseE

      Enhance UDL lexer

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion udl
      41
      4 Votes
      41 Posts
      16k Views
      EkopalypseE

      @c-siebester

      The only pitfall I see at the moment might be that your UDL name is not ml but something else.
      When you run the script, do you see any errors in the console?
      I assume you copied the whole script and not just the part you mentioned here, right?
      If you click on the script from the Python script menu while holding down the CTRL key, will the expected script open in Npp?

    • donhoD

      Notepad++ v7.4 released

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      41
      0 Votes
      41 Posts
      59k Views
      Boris UskovB

      Salut, @donho! The issue with hungin npp on large files preview is successfully fixed in the Notepad++ 7.4.1. Thanks!

    • donhoD

      Notepad++ 7.5.6: A message from outer space

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      41
      2 Votes
      41 Posts
      64k Views
      Scott SumnerS

      @Allan-Marques,

      It doesn’t seem to do that for me, but maybe I’m not doing it exactly the way you are–can you provide more detail/screenshots?

    • patrickdrdP

      file associations (file types to open with npp)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      41
      2 Votes
      41 Posts
      13k Views
      patrickdrdP

      well, thank you very much, you found the problem!

      which was in deleting the whole

      ...\FileExts\.txt\

      I was able to maintain my machine code too,
      here is the new version (final I hope) with my associations,
      anyone can adjust it to his needs of course of replace HKLM to HKCU if he wants:

      https://textuploader.com/1awwn/raw