Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • NAGARAJGOUDA PATIL

      Find replace with itiration
      Help wanted · · · – – – · · · • • NAGARAJGOUDA PATIL

      13
      0
      Votes
      13
      Posts
      50
      Views

      NAGARAJGOUDA PATIL

      @neil-schipper
      thanks for your help

    • Taije Park

      [Suggestion] Add The library tab in the Find and Replace window to reuse Regexes mainly
      General Discussion • feature request • • Taije Park

      12
      0
      Votes
      12
      Posts
      139
      Views

      guy038

      Hi, @alan-kilborn and All,

      Yes, your proposition seems sensible ! In this new Find and Replace Library window, we should stay concerned about options relative to the WAY of searching and/or replacing.

      And all the other parameters :

      Regarding the direction of the search ( Backward direction, Wrap around options )

      Regarding the scope of the search ( Filters: and Directory: fields )

      Regarding the tracking of the search ( Bookmark line and Purge for each search options )

      would be defined by the user, before running the process

      Thus, this leads to have, at the bottom of that window, two rows of options :

      Case sensitive, Whole word and Normal

      Extended, RegExp and RegExp (Dot=All)

      Just a suggestion, of course !

      Best Regards,

      guy038

    • Xavier Beaume

      ANSI escape sequences color rendering
      General Discussion • • Xavier Beaume

      8
      0
      Votes
      8
      Posts
      135
      Views

      PeterJones

      @ekopalypse ,

      Looks good.

    • ?

      bug: deletion of text by tab/enter
      Help wanted · · · – – – · · · • • A Former User

      7
      0
      Votes
      7
      Posts
      103
      Views

      Ekopalypse

      If that works for you, that’s fine, but really it should have worked with these settings and probably does for most.

    • Alan Kilborn

      Mouse cursor visibility when typing starts
      General Discussion • • Alan Kilborn

      6
      1
      Votes
      6
      Posts
      48
      Views

      PeterJones

      @alan-kilborn ,

      I verified with SciTE 5.2.2, so it’s still a problem. I added a comment to the bug report so that they would not dismiss it as “a Notepad++ problem”.

    • hcchen

      PythonScript - How to get status of Ctrl , Alt , Shift keys also CapsLock and Scroll lock
      Help wanted · · · – – – · · · • python script pythonscript keyboard • • hcchen

      5
      0
      Votes
      5
      Posts
      54
      Views

      hcchen

      @alan-kilborn Ha, this worked. Thank you very much!

    • Francisco

      Data search, in text with columns
      General Discussion • • Francisco

      5
      0
      Votes
      5
      Posts
      39
      Views

      Terry R

      @francisco said in Data search, in text with columns:

      Terry, my post has been “edited” by the system,

      I thought as much. The system will adjust posts according to it’s “formatting rules”. To prevent these issues please read the post pinned at the start of this section of the forum titled “Please Read This Before Posting”. It outlines what is needed when posting examples. So if you happen to post again it is VERY important you follow those examples, otherwise you may find (again) the solution doesn’t fit your needs.

      It’s good to know that in this instance you were easily able to adjust to fit your requirements.

      Terry

    • pwgeers

      What did Notepad++ interpret to result in an "ESC" character?
      Help wanted · · · – – – · · · • • pwgeers

      4
      0
      Votes
      4
      Posts
      54
      Views

      pwgeers

      @peterjones
      Yep, now that I understand the syntax of the Esc-sequence it was easy for me to remove them using the replace function of Notepad++. The ESC was shown as square in the Replace-dialog but worked fine.

      To me it was not important to see the formatting just the content (and I wanted to be sure that I did not remove content), luckily there were just 2 or 3 variants of Escape sequences used.

      And yeah it’s funny how that sometimes related topics become active at the same time.

    • Alexey Ivanov

      Cant find plugin - textfx characters
      Help wanted · · · – – – · · · • • Alexey Ivanov

      4
      0
      Votes
      4
      Posts
      73
      Views

      Alexey Ivanov

      @patrickdrd Спасибо большое, на 32 плагин появился .

    • JillPlaysMC

      Text Gone
      Help wanted · · · – – – · · · • • JillPlaysMC

      4
      0
      Votes
      4
      Posts
      103
      Views

      Ekopalypse

      @jillplaysmc

      If this programme was able to display the contents of your file, then recuva should also be able to do so.

    • Atlas Wong

      Bug for horizontal scrolling
      General Discussion • • Atlas Wong

      3
      0
      Votes
      3
      Posts
      44
      Views

      Alan Kilborn

      From this issue @Ekopalypse links to, it appears there will soon be a fix for this, probably in the release after 8.4.1.

    • shayginat

      Json Plugin not working well after upgrading to latest version
      Plugin Development • • shayginat

      3
      0
      Votes
      3
      Posts
      60
      Views

      R

      @shayginat, have a look at Notepad++ 8.3.2 doesn’t work with JSON Viewer plugin 1.4.0.

      Unfortunately the source of the problem hasn’t been discovered yet. Sometimes it helps to trash everything under %AppData%\Notepad++ before major version jumps.

    • Asger Jørgensen 0

      How to exclude some folders from find in files
      Help wanted · · · – – – · · · • • Asger Jørgensen 0

      3
      0
      Votes
      3
      Posts
      42
      Views

      Asger Jørgensen 0

      @peterjones Thanks you very much Peter, it works like a charm.

    • Thespikedballofdoom

      Icons by filetype thread 2
      Plugin Development • • Thespikedballofdoom

      3
      -2
      Votes
      3
      Posts
      48
      Views

      Thespikedballofdoom

      Even though I’m not asking for icons to be made, I’m just asking for the ability to associate them if they exist, I doubt that any developer of the project would ever be willing to implement that, so instead I’m gonna link this method here for any wandering into this thread wanting what I want.

      Special thanks to nicholas, I’m gonna spam this script everywhere on my system, I didn’t know it was this easy to manipulate icons.

      https://community.notepad-plus-plus.org/topic/22760/different-icons-for-file-extensions/3?_=1652831346795
      @nicholas said in Different icons for file extensions:

      Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.css\OpenWithProgids] "Notepad++.css"="" [HKEY_CLASSES_ROOT\Notepad++.css] @="CSS Source File" [HKEY_CLASSES_ROOT\Notepad++.css\DefaultIcon] @="C:\\Program Files\\Microsoft VS Code\\resources\\app\\resources\\win32\\css.ico" [HKEY_CLASSES_ROOT\Notepad++.css\shell] [HKEY_CLASSES_ROOT\Notepad++.css\shell\open] [HKEY_CLASSES_ROOT\Notepad++.css\shell\open\command] @="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""

      Replace .css with the file extension you want. Set the DefaultIcon path to what you want to use. If using x64 version of Notepad++ then remove the (x86). Save the file with a .reg extension and then run it.

      Next time you open a file you will be prompted to choose an application open with. Select Notepad++ and then the icons should update.

    • Mark Sondergard

      Viewing Recient modifications top my file
      General Discussion • • Mark Sondergard

      3
      0
      Votes
      3
      Posts
      42
      Views

      Mark Sondergard

      Thank you Peter, That really does help a lot!!

    • lincoln Cavalcanti

      Porque não tenho a linguagem Clipper?
      General Discussion • • lincoln Cavalcanti

      3
      0
      Votes
      3
      Posts
      59
      Views

      Lycan Thrope

      @terry-r ,
      For a lot of the language, that would be fine, with the exception of the Clipper specific language extentions, which if they use the basic dBASE or in NPP’s case, the xbase language UDL located on github here: https://github.com/MAPJe71/Languages/tree/master/xBase/Config and then modify it as you need.

      The dBASE UDL I’ve done recently, is primarily only usable by the Object-Oriented Programming version of dBASE begun with the dBASE 5.0 for Windows and above, mostly for dBASE Plus, since a lot changed between that original version and the smoothed out version of dBASE Plus.

    • LookMAAAnohands

      Help replacing spaces between wildcards between quotes
      Help wanted · · · – – – · · · • • LookMAAAnohands

      2
      0
      Votes
      2
      Posts
      14
      Views

      PeterJones

      @lookmaaanohands

      Thanks for showing what you already tried, and showing before/after data. That’s helpful.

      FIND="([\w=-]+)\h([\w\h-]+)"
      Same replacement as you used (or I phrase it as "${1}=${2}")

      You may have to do Replace All multiple times to get them all, but you don’t have to change the expression.

      In the first “term”, i search for word characters (alpha, numeric, underscore) or equals-sign (to allow it to do the multiple joins like you showed in the later examples) or the minus-sign (to allow text-text). In the second term, allow only word, hyphen, or horizontal spaces (that way, it handles the 3-or-more-word quoted terms correctly).

      This also assumes that your last line in the final result

      "text=text-text=text-text text"

      was actually intended to be

      "text=text-text=text-text=text"

      Because you didn’t give a rule that would have left any spaces in your problem description (which sounded like you wanted all spaces between the quotes to become equals).

      You could also use the generic regex for “Replacing in a specific zone of text” which is linked in our generic regex FAQ, which could accomplish the same thing in a single Replace All. The beginning and ending expressions (BSR and ESR) would just be simple quote marks, the find-expression (FR) would be a space or the \h equivalent, and the replacement (RR) would be the equals-sign. (I would have suggested that first, but since you’d already put in the work for your custom expression, so I thoguht I’d give you the tailored version)

    • Lynda Wilson

      Copy text complete with syntax highlights and markings
      Help wanted · · · – – – · · · • • Lynda Wilson

      2
      0
      Votes
      2
      Posts
      31
      Views

      PeterJones

      @lynda-wilson ,

      I assume you are using the Plugins > NppExporter > Copy RTF To Clipboard or similar to get the syntax highlighting. @chcg officially supports that plugin, and there’s an issue tracker for that plugin. Some time ago (oh, two years ago tomorrow), I put in that request, but after a brief response, nothing happened. You might want to go put in your upvote and an explanation of why it would be useful to you.

      Also, that issue referenced a discussion here… that discussion has scripts for the PythonScript plugin which might copy the extra formatting that you want. If you are willing to install that plugin, then those scripts might tide you over while waiting for an update to the NppExporter plugin.

    • William Pigott 0

      How do I remove arguments from the function view 8.4.1
      General Discussion • • William Pigott 0

      2
      0
      Votes
      2
      Posts
      41
      Views

      PeterJones

      @william-pigott-0 ,

      Each programming language has its own function list definition – and they are customizable. So no one here can tell you how to fix it unless you give us some information, like which language you were using, and what version of Notepad++ you used to use: with that, we could at least look through the revision history for that language’s definition. (The official default language definitions rarely change, so I am betting that you actually had a customized function list definition, maybe that you got from someone else, which you didn’t replicate when you moved to the a new machine, or that you deleted all your old customized configs when you installed v8.4.1, and thus lost the customization. Because upgrades don’t generally overwrite edited config files, so if you had done a normal upgrade, it should have kept your older functionList definitions.)

    • Vitalii Dovgan

      Question about the Dark Mode's dark scrollbars and toolbars
      Plugin Development • • Vitalii Dovgan

      2
      1
      Votes
      2
      Posts
      46
      Views

      PeterJones

      @vitalii-dovgan ,

      Well, as of v8.4.1, there is the new messages NPPM_ISDARKMODEENABLED and NPPM_GETDARKMODECOLORS (which will eventually be documented at the usermanual, the next time it’s published)… but I don’t know if that’s sufficient for you to then change the colors of the toolbar yourself. (And, of course, it won’t work before v8.4.1)