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

      How to adjust the rate of horizontal scrolling ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      166 Views
      S

      Ah, and you can adjust the horizontal scroll rate like this

      I find for the Logitech MX Master 3S the value of 30 is very pleasant for long, 8000 character lines.

      call set "NEW_WheelScrollChars=30" & ( call reg add "HKCU\Control Panel\Desktop" /v WheelScrollChars /t REG_SZ /d %NEW_WheelScrollChars% /f & call RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters & ( reg query "HKCU\Control Panel\Desktop" | findstr /i scroll ) )

      0d15e8f4-cbec-4b98-b811-13daaf3a82f4-image.png

      This will take effect only for application launched after this is changed.

    • P

      search in open tabs (not DropDown)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      85 Views
      Alan KilbornA

      @PeterJones said :

      search the names of the files/tabs

      If this is the case, NavigateTo plugin really shines to achieve the goal.

    • Mister SmittM

      Why is the forum so scary?

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      7
      -3 Votes
      7 Posts
      286 Views
      PeterJonesP

      @Mister-Smitt ,

      As you are just here to whine and complain and curse, I will move this “topic” to “Boycott Notepad++”, where such belongs.

      And then, since I have that Category set so that I never see new posts there, I can hopefully just ignore anything else you post.

      Good luck with your whining, ad hominem attacks, and anti-social behavior. <sarcasm> It will serve you well in life. </sarcasm>

    • U

      Possible error or not?

      Watching Ignoring Scheduled Pinned Locked Moved Translation
      3
      1 Votes
      3 Posts
      27 Views
      U

      @PeterJones
      Thank you very much. Now “everything has fallen into place.”

    • M

      Meenu Hinduja Dheeraj Sudan - Best Plugins for Improving Productivity in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      48 Views
      PeterJonesP

      @MHindujaDheerajSudan said in Meenu Hinduja Dheeraj Sudan - Best Plugins for Improving Productivity in Notepad++:

      code formatting,

      Depends on what language your code is in. For example, for formatting XML, I recommend XMLTools; for formatting JSON, I recomment JsonTools.

      For most programming languges, there are standard executable-based formatters that are considered “best practice” for that language. Instead of having a dedicated plugin for each language you write in, my recommendation is to use a plugin to route the files through that external formatter.

      The “Pork to Sausage” (P2S) plugin is actually good for that: you can define “transformations”, where it passes the content of the file thru an executable, and replaces the contents with the output of that executable (unfortunately, you have to do a Ctrl+A to select the whole text first, before running hte P2S. this post my @Michael-Vincent, and the follow-on a couple posts down, give an example script for the NppExec plugin that routes various filetypes to their appropriate formatter/pretty-printer executables.

      Also, our compile/convert FAQ shows examples of how to do that sort of thing with both P2S or using NppExec to drive it – both are common solutions among the power-users here.

      comparison tools

      ComparePlus plugin. Hands down. No reason to consider anything else. It’s awesome.

      session management.

      The only session management plugin I can think of is Session Manager. I don’t use it, but I seem to remember people like it.

      Which plugins do you personally rely on, and are there any compatibility concerns with recent versions?

      Rely On: NppExec and ComparePlus are in my standard workflow for code development. And I use PythonScript for scripting tasks inside Notepad++ (like macros, but on steroids, because it has the full power of Python behind it), but that doesn’t fall within the types of tasks you were look for plugins for.

      Compatibility: Pork2Sausage, NppExec, and ComparePlus are all actively maintained, and definitely don’t have any compatibility issues. I don’t know how Session Manager is doing for maintenance.

    • E

      NPPftp Linux dot-directories

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

      … also, you specifically called out dot-directories in the title.

      Whether or not an Open dialog will show dot-directories is definitely a function of WINE itself. See, for example, https://forum.winehq.org/viewtopic.php?t=1624

    • Maik CM

      Moving a tab to another monitor doesn't work corectly.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      108 Views
      Maik CM

      @PeterJones Thanks for the explanation, that makes now sense to me.

    • waskomaW

      Cant change cursor color, and latest version shortcut to start batch file claims it cant find it

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      195 Views
      PeterJonesP

      @waskoma said in Cant change cursor color, and latest version shortcut to start batch file claims it cant find it:

      <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="87"> c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &quot;$(CURRENT_DIRECTORY)&quot;</Command>

      I cannot replicate the problem (so far)

      content of c:\64start.bat:

      @echo ran command `%0 %*` @pause

      content of shortcuts.xml entry:

      <Command name="Waskoma Command" Ctrl="no" Alt="yes" Shift="no" Key="87">c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &quot;$(CURRENT_DIRECTORY)&quot;</Command>

      I tried with two files each, once with v8.4.1 and once with v8.9.2.

      For ...\FileNameNoSpaces.txt:

      v8.4.1 results: ran command `"C:\64start.bat" FileNameNoSpaces.txt FileNameNoSpaces.prg "C:\usr\local\apps\npp\npp.8.4.1.waskoma"` Press any key to continue . . . v8.9.2 results: ran command `"C:\64start.bat" FileNameNoSpaces.txt FileNameNoSpaces.prg "C:\usr\local\apps\npp\npp.8.9.2.waskoma"` Press any key to continue . . .

      For ...\File Name With Spaces.txt:

      v8.4.1 results: ran command `"C:\64start.bat" File Name With Spaces.txt File Name With Spaces.prg "C:\usr\local\apps\npp\npp.8.4.1.waskoma"` Press any key to continue . . . v8.9.2 results: ran command `"C:\64start.bat" File Name With Spaces.txt File Name With Spaces.prg "C:\usr\local\apps\npp\npp.8.9.2.waskoma"` Press any key to continue . . .

      So both worked for me, and Notepad++ had no trouble running the 64start.bat, whether in v8.4.1 or v8.9.2

      However, this works on the assumption that there wasn’t really the newline before c:\64start.bat in your XML. It shouldn’t matter, but it also shouldn’t be there; so if there is the extra newline, delete it.

      Also, my test works on the assumption that your 64start.bat will do the “right thing” with spaces in the filename without quotes, which I am highly dubious of. My working theory is that the problem is actually either the missing quotes, or something that’s being called inside your batch file.

      Notepad++ has been undergoing changes in which XML reader library it is using for parsing the config files like shortcuts.xml… so if you’ve actually got that newline, or if you have more entities than &quot; which you haven’t told us about, it might be behaving differently between the two, and that might explain the difference in behavior.

      As an experiment, if removing the newline wasn’t enough to fix it, you might want to try renaming your 64start.bat and putting in a new version that’s got my contents. If it properly runs and gives similar results to what I showed in my experiment, then the problem is likely the quoting. If it doesn’t properly run, even though you are using the same <Command...> entry, then I am betting you edited your command entry before posting it here, and whatever you edited out is the culprit.

    • Guy PrzytulaG

      colour matching braces/brackets does not work in php

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      186 Views
      Guy PrzytulaG

      @PeterJones yes, many thanks : global override was the cause
      now all highlighting is correct as set/wanted
      best regards, Guy

    • Linen GrayL

      Adblock360Updater Batch File Keeps Appearing

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

      @Linen-Gray
      Nothing in that batch file refers to Notepad++. I think you have associated the update of Notepad++ with the appearance of the message, however you do not show anything to suggest Notepad++ is the cause of this message.

      A quick Google search even suggests that Adblock360 might be malware. Use a good A/V system to thoroughly inspect your computer. I could even suggest Malwarebytes as it has a very good reputation in this area.

      Terry

    • TomásT

      suggestion

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      86 Views
      NicholasN

      @Tomás Preferences > Highlighting > Smart Highlighting > Highlight another view

    • Muhammad Nihal NaseerM

      Replace all entries in a row

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      66 Views
      PeterJonesP

      @Muhammad-Nihal-Naseer ,

      Unfortunately, your example data (both before and after) wasn’t good enough to clarify what you wanted.

      There are lots of regex that will do what you want on that specific piece of data. But until you define what you actually want under multiple conditions, it will be impossible to make you happy.

      For example,

      Is Ns what causes it to be “a particular row” Is it possible for there to be “a particular row” that has something other than five numbers Are all your numbers single digits? Or can some of them be multiple digits (like Ns 0 11 2 33 4444)? Are there any spaces before the Ns? Are those spaces or tabs between columns?

      The best advice for asking for search/replace help is to give a block of data, showing both things that change, and things that should stay the same.

      For example,

      Ms 0 1 2 3 4 Ns 0 1 2 3 4 Ps 0 1 2 3 4

      would work (by my definition, based on my interpretation of your incomplete spec) with

      FIND = ^(Ns) \d \d \d \d \d REPLACE = $1 1 1 1 1 1 SEARCH MODE = Regular Expression

      ending up with

      Ms 0 1 2 3 4 Ns 1 1 1 1 1 Ps 0 1 2 3 4

      … but it would do nothing to the text

      Ms 0 1 2 3 4 Ns 0 11 2 33 4444 Ps 0 1 2 3 4

      Assuming the rule is “match a line starting with Ns followed by 5 integers of 1 or more digit each”, the FIND would be ^(Ns) \d+ \d+ \d+ \d+ \d+ and the REPLACE would be as I described above. That updated FIND would then turn the “do nothing” text the same way my original did.

      But it all depends on what your real data looks like.

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • K

      Plugins Admin gets Curl Error

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      89 Views
      xomxX

      @KelltimeOG

      https://github.com/notepad-plus-plus/wingup/issues/103

    • W TXW

      How to change keyword colors in VHDL?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      59 Views
      FreeMeowF

      @W-TX under Settings -> Style Configurator
      You can choose a language, VHDL is in there, choose what kind of word you want to change ( default, comment, number, etc. ) and you can change color and font.
      I don’t know VHDL specifically so I can’t be more specific, but this should suffice for you to play with.

    • Jeff EspositoJ

      Notepad++ VERY slow to open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      21
      0 Votes
      21 Posts
      13k Views
      PeterJonesP

      @Gerard-Kiekens said in Notepad++ VERY slow to open:

      I agree with you that the size should not change, but it did.

      Hard to argue my side cogently when you provide no data.

      Editing a fresh Darkmode_Default afterwards solved the problem. This one also increased in size, but kept working as fast as it should.

      But not from 220kB to 500MB.

      If you want to "play"with it, you can find it here:
      https://www.key-can.nl/Info/DarkModeDefault.xml

      The file you linked there is only about 220kB as well. And the reason it’s a different size than the actual DarkModeDefault is because it obviously started from an old version of Choco.xml, as evidenced by the copyright notice starting:

      <?xml version="1.0" encoding="Windows-1252" ?> <!--// choco Copyright (c) 2008 Fabio Zendhi Nagao <http://zend.lojcomm.com.br/>

      I can tell it’s an old copy of choco, though, because it is still “Windows-1252”. That was changed to UTF-8 in v7.9.3 from 2021.

      DarkModeDefault was originally derived from Zenburn.xml, since the time it was created (it started with the full zenburn preamble, but eventually pared it down to

      <!-- Dark mode default style for Notepad++. This file is based on Zenburn them (zenburn.xml) License: GPL2 -->

      As you will probably know you can find the themes in %users%\Appdata\Roaming\Notepad++\Themes

      That’s where you find your customizations. The originals (kept up to date with each update of the program) are in c:\program files\Notepad++\themes. Historically, Notepad++ would just leave your customized themes completely alone, so they would never show you any of the new styles that had been added/enabled over the last 5 years; in the recent Notepad++ releases (starting in v8.8.9, though I recommend skipping 8.8.9 and 8.9.0 and going directly to 8.9.1-or-newer because of bugs in the first two releases of this feature), it will add any missing styles or missing languages to your active theme, so that way, your Style Configurator will allow you to edit colors for new styles or languages without losing all your old theme customizations.

      So the small size difference between your Choco-based theme and the actual DarkModeDefault can be explained by being based on the old Choco. The huge 500Mb size that you reported from earlier cannot be explained by anything that’s been said yet, and I still don’t understand how it could have happened inside Notepad++. And without a hint as to what the edited XML looked like for the super huge file, there’s really no way that mystery will ever be solved.

    • T

      NP++ making new folders and opening them in tabs

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      62 Views
      PeterJonesP

      @Tangfolio ,

      From a Windows command line, to pass a filename with spaces to an application, you need to put quotes around the filename. This is the way that Windows defines the command-line interface, and not something specific to Notepad++

      update: sorry, that was an abbreviated response. Real life interrupted, so I posted what I had so far, at the time. continuing where I left off:

      So, from the command line, notepad++.exe word1 word2.txt would try to open word1 and word2.txt in the current directory, which presumably don’t exist, whereas notepad++.exe "word1 word2.txt" would properly try to open the file with spaces in the name.

      If you are using the right-click context menu in Explorer, the normal Edit with Notepad++ (which gets added via NppShell.dll, when you do a normal Notepad++ installation), then it should handle the spaces just fine. But if you created your own Notepad++ entry using regedit or a registry .reg file, you have to make sure that your entry says, "c:\Program Files\Notepad++\notepad++.exe" "%1", with the quotes around each, otherwise it will behave as you described.

      Again, requiring the quotes around the filename is just the way Windows OS has defined the command-line interface (but similar is true in other operating systems, as well, because any OS must be able to tell the difference between program file1 file2.txt trying to work on two different files and program "word1 word2.txt" trying to work on one file with a space in the name.)

    • Zuan JhoZ

      How to add Translate plugin in NotePad++?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      3k Views
      Ulysses CastroU

      @PeterJones

      npptranslate64 didn’t work for me.

      For me working very well https://github.com/pot-app/pot-desktop

      There is a video on YouTube in Portuguese that explains step-by-step how to install it. You can change the subtitles to English on YouTube or enable auto-dubbing in English.

      https://www.youtube.com/watch?v=rM1HgS3RjzA&list=WL&index=33&t=347s

    • Bill RichB

      Error Code2 ShellExecute-ERROR

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      5k Views
      hadush drbushH

      @Bill-Rich said in Error Code2 ShellExecute-ERROR:

      When I try to “run” in Chrome (the default browser) I get the above msg.

    • Wally WilsonW

      DSpellCheck not underlining misspelled words

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      1k Views
      Six PS

      @PeterJones said in DSpellCheck not underlining misspelled words:

      current

      Downloading a library was only half the fix for me.
      I also had to switch to ‘Current User’ (was ‘All Users’).
      Otherwise I got a Windows error message ‘Can’t create directory .\plugins\config\Hunspell’
      Hope it’s helpful.

    • donhoD

      Upcoming Migration & Possible Interruptions

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      4 Votes
      1 Posts
      143 Views
      No one has replied