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

      6.9 - A little fun interrupted by a period.

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      38
      1 Votes
      38 Posts
      100k Views
      CC007C

      Folder as workspace is a great improvement. One thing to make it even better is to allow for the option to collapse folders that only contain a sub-folder. This would very useful for java programmers, since their package names (and thus underlying folder structure) contains many nested folders.

      This is also true for scala and any other language that uses nested packages/namespaces

    • Alan KilbornA

      Pythonscript show console on error

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

      @Claudia-Frank

      Just to clarify the “hang” is a really hard hang where I have to kill N++ and restart it, not just a long delay…

    • donhoD

      Notepad++ 7.5.4 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      38
      10 Votes
      38 Posts
      56k Views
      Carlo TNXC

      @Carlo-TNX said:

      @dail
      @donho

      sorry for delay, I didn’t get the notification…

      I was completly wrong, access time doesn’t matter in my problem (it changes after file status auto-detection).

      I’m on Windows 7 / 10 and files on a debian machine, it’s something related to network samba shares, since I can’t reproduce with local files.

      On network I reproduce in this way:

      open a file change and save it leave (blur) n++ window wait 10 seconds focus n++ window change alert shown

      I’ll update this thread as soon I find more details.

      @donho

      I’ve finally solved the file status auto-detection problem.
      It was a Win7 <> SMB2 cache problem (it didn’t affect N++ before 7.5.2).
      I’ve solved adding:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters\FileInfoCacheLifetime[DWORD] = 0

      Thanks to: https://serverfault.com/a/487401

    • Dana WrightD

      How to change/convert the format of a timestamp?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      38
      1 Votes
      38 Posts
      11k Views
      PeterJonesP

      Thank you, @guy038. I had been trying the notation similar to (?(1)00:01) in the replace, rather than (?{1}00:01), which is why I wasn’t able to get the conditional to work right.

    • RazR

      Highlight modified text

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      38
      0 Votes
      38 Posts
      20k Views
      EkopalypseE

      I haven’t thought about the old post and that it might generate trouble, therefore, better
      just leave it as it is and don’t worry about it anymore.

      Thx for all insights and tips. :-)

    • P0rsche-911P

      Translation spanish.lng, latest version

      Watching Ignoring Scheduled Pinned Locked Moved Translation
      38
      0 Votes
      38 Posts
      8k Views
      P0rsche-911P

      @PeterJones
      This was the answer I was waiting for.

      Thank you very much

    • JillPlaysMCJ

      Horizontal line question

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      38
      0 Votes
      38 Posts
      12k Views
      Snabel42S

      @peterjones if it’s interesting, I finally hunted down the relevant UltraEdit wiki page as well as a screenshot of it being used

      53912d41-6bdc-41b2-8ef1-f32e5a520a63-image.png

    • donhoD

      Notepad++ v8.4.8 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      38
      9 Votes
      38 Posts
      13k Views
      Terry RT

      @MeanUncleMonster said in Notepad++ v8.4.8 Release:

      is there any way to retain this feature in the later versions

      I think you are referring to “enable scrolling beyond last line” which is under Settings, Preferences, Editing. Just tick the box for that option. I would have thought that option would have been retained from the previous version as it seems you did have it enabled.

      So the option was not removed, but in your case it may have been reset which led you to believe it was removed.

      Terry

      PS i just upgraded from and to the same versions as you refer to. In my situation the option was still enabled after the upgrade.

    • George MarshallG

      Find in Files not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      37
      0 Votes
      37 Posts
      38k Views
      PeterJonesP

      @SuHaIl-MaJiD said in Find in Files not working:

      I navigated to the APPdata location (~\AppData\Roaming\Notepad++) however i do not see the config.xml file there
      Any suggestions to get this working?

      Your Debug Info (thanks for including that) shows that you have a normal installation, so config.xml and all your other config files should be there. Are you sure Windows isn’t hiding files from you? Or just hiding the extension, so maybe it is just listed as config instead of seeing config.xml? make sure you’ve exited Notepad++ completely, so it’s written the most-recent copy to disk. If you want, you could use Win+R to run cmd.exe /K cd "%AppData%\Notepad++" & dir – if you don’t see config.xml there, then please share the output of that run in your reply.

      If you do find your config.xml, then you can close Notepad++, edit it in MS notepad.exe (you cannot edit config.xml in Notepad++, because Notepad++ overwrites that file when you exit Notepad++, losing any changes you saved), and delete the whole <GUIConfig name="DockingManager"...> section, save and exit, then restart Notepad++, and Find in Files should work for you again. This procedure is found in our FAQ: I Cannot Find My Panel!

    • pnedevP

      Compare Plugin v2.0 updated for Notepad 7.7 and above

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      37
      10 Votes
      37 Posts
      40k Views
      pnedevP

      @Robert-Werner ,

      Read here:
      https://github.com/pnedev/compare-plugin/issues/225

      BR

    • donhoD

      Notepad++ 7.5.7 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      37
      3 Votes
      37 Posts
      40k Views
      W

      @donho Yes, this fixes the problem, thanks!

    • cipher-1024C

      Find and Add To Selection In 7.7

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      37
      0 Votes
      37 Posts
      10k Views
      AndreCunhaA

      Besides enabling Multi-Editing (as explained by @Alan-Kilborn in his comment), I just had to call the functions directly, just like Scintilla documentation specifies:

      SCI_MULTIPLESELECTADDNEXT adds the next occurrence of the main selection within the target to the set of selections as main. If the current selection is empty then select word around caret.

      SCI_MULTIPLESELECTADDEACH is similar to SCI_MULTIPLESELECTADDNEXT but adds multiple occurrences instead of just one.

      For me, it was unnecessary to call SCI_TARGETWHOLEDOCUMENT, so, for selecting all instances of the word at once, you could just call SCI_MULTIPLESELECTADDNEXT followed by SCI_MULTIPLESELECTADDEACH:

      // selects all instances of the selected word (or the word around the caret) sci_sendmsg 2688 // SCI_MULTIPLESELECTADDNEXT sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

      …which has the same effect of simply calling SCI_MULTIPLESELECTADDEACH twice:

      // selects all instances of the selected word (or the word around the caret) sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

      Or, instead of blindly calling it twice, you could check if something is already selected with SCI_GETSELECTIONEMPTY (as used on other comments) and then call it only once:

      // selects all instances of the selected word (or the word around the caret) sci_sendmsg SCI_GETSELECTIONEMPTY if $(MSG_RESULT) == 1 then sci_sendmsg 2688 // SCI_MULTIPLESELECTADDNEXT endif sci_sendmsg 2689 // SCI_MULTIPLESELECTADDEACH

      PS: It would be really nice to have both commands (SCI_MULTIPLESELECTADDNEXT and SCI_MULTIPLESELECTADDEACH) available for hotkeys in “Settings” > “Shortcut Mapper” > “Scintilla commands”.

    • Speedy MercerS

      How to drag selected text to area currently off screen

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · drag and drop selected text
      37
      4 Votes
      37 Posts
      3k Views
      mario ahnerM

      I’m just glad, it is fixed. :-)

      Next time I will cry louder and earlier.

    • donhoD

      Make Apps, not war - Notepad++ v8.3.3 released

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      37
      8 Votes
      37 Posts
      14k Views
      Marjan SavliM

      Cursor movement not visible while I am holding Right or Left arrow key

      I had 32 bit version.
      Installed ver 8.3.3 64 bit.

      Now I can not see cursor movement while I am holding Right or Left arrow key (opened 8Mb XML file https://github.com/msavli/SloKJV/blob/master/SloKJV_sword.xml).
      So I can not see my cursor position. But between holding Right or Left arrow key some cursor occurrences can be visible for a very short moment.

      If I uninstalled XML Tools plugin 3.1.1.12 it is much better. Cursor is again visible when holding Right or Left arrow key. But cursor is not visible at all in a first 5 lines between holding Right or Left arrow key.

      In 32 bit version I also had installed XML Tools.
      Microsoft Windows [Version 10.0.19044.1586]

    • donhoD

      Notepad++ v8.4.2 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      37
      8 Votes
      37 Posts
      12k Views
      Alan KilbornA

      @Dennis-Lüdemann said in Notepad++ v8.4.2 release:

      if this is the wrong place, I am sorry!

      Definitely the wrong place. This thread is for new and critical issues to 8.4.2.

      The rightklick function to switch selected text to UPPERCASE or lowercase does not work with ß (nor ẞ --> which is uppercase of ß)

      It apparently is a complicated topic that Notepad++ itself can do nothing about. Some more reading is HERE.

    • John RussellJ

      Very new to notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      37
      0 Votes
      37 Posts
      5k Views
      John RussellJ

      Above code works perfectly 😁 Thank You 👍

    • guy038G

      Automatic selection of ALL instances of a searched string, in one go

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      37
      5 Votes
      37 Posts
      5k Views
      Alan KilbornA

      @guy038 said in Automatic selection of ALL instances of a searched string, in one go:

      So, here is my updated script, that I called Automatic_Selections_AK.py

      Oh no, the script should fully be called Automatic_Selections_GT.py ! :-)

    • Mohammad Al ThobitiM

      I would like to group all similar domains, not by alphabet.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      37
      0 Votes
      37 Posts
      4k Views
      guy038G

      Hi, @mohammad-al-thobiti and All,

      Again, I’m going to simplify the problem, using a Python script, called Replacements_Lists.py, listed below :

      ''' Refer to : https://community.notepad-plus-plus.org/topic/19889/ - Given TWO files : - A MAIN one, located in the MAIN view, containing a LIST of strings or lines - A SECOND one, located in the SECONDARY view, containing : - A LIST of strings to REPLACE, EACH followed with a TABULATION and its CORRESPONDING replacement string This script replaces EACH expression of the MAIN file by the CORRESPONDING replacement string, found in the SECONDARY file NOTES : - The REPLACEMENT strings may be ABSENT IF you do NOT write anything AFTER the TABULATION separator. Thus, these SPECIFIC searched strings will be DELETED - The strings of the MAIN file, NOT found in the SECONDARY file, are simply REWRITTEN - The LEADING strings of the SECONDARY file, NOT found in the MAIN file, are simply NOT used - The list of the DIFFeRENT ranges < SEARCHED string > \t < REPLACEMENT string > must END with a FINAL line-break or NOTHING else ( \z ) ''' from Npp import editor1, editor2 replacements = dict(line.split('\t') for line in editor2.getText().splitlines() if line) def replace_with(m): try: r = replacements[m.group()] except KeyError: r = m.group() return r editor1.rereplace('(?-s).+', replace_with)

      So, just follow this road map :

      Open your entire file containing all your records ( about 181,170 ) in the main view

      Open your file containing the 1.027 lines, whose all the occurrences must be deleted in the main file

      Move this file in the secondary view ( IMPORTANT )

      I suppose that these two files ONLY contains main domain names, one per line

      Run the Edit > Blank operations > Trim Leading and Trailing Space option for the two files

      Now, in the secondary view, use this regex S/R :

      SEARCH (?<=.)$

      REPLACE \t

      in order to produce a correct replacement list for some domain’s names by nothing

      Move back to your file in the main view

      Run the Plugins > Python Script > Scripts > Replacements_List.py option

      => Immediately, all the lines, of the main view, which match one of the lines of the secondary view, have been replaced with an empty line

      Run the Edit > Line Operations > Remove Empty Lines

      Finally save your uptaded file, in the main view

      Voilà !

      Best Regards,

      guy038

      P.S. :

      If you need to install the Python Script plugin, follow this FAQ

    • Troglo37T

      How Do I Delete Search Entries?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      36
      0 Votes
      36 Posts
      26k Views
      guy038G

      Hello, @troglo37, @peterjones, @alan-kilborn, @ekopalypse and All,

      @troglo37 :

      Well, you could have guessed, with a bit of deduction, even if not aware about technical matters !!

      Firstly, look at the four main fields of the Find in Files dialog ( Ctrl + Shift + F ):

      Find what:

      Replace with:

      Filters:

      Directory:

      Secondly, look at the first 4 attributes of the <FindHistory •••••••••••••••> tag :

      nbMaxFindHistoryPath

      nbMaxFindHistoryFilter

      nbMaxFindHistoryFind

      nbMaxFindHistoryReplace

      Isn’t it obvious ?

      Still confused ?

      Then, let’s re-organize these four attributes, like below :

      nbMaxFindHistoryFind

      nbMaxFindHistoryReplace

      nbMaxFindHistoryFilter

      nbMaxFindHistoryPath

      I hope you get it :-))

      Best Regards,

      guy038

    • Rob PintoR

      Alternative for Notepad++ on Mac

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      36
      0 Votes
      36 Posts
      1m Views
      Stone PUBGS

      this is amazing i m use many time and it’s help me a lot many people AR using that and it’s give much benefit there are many people ate searching for and download it free notepad++ is free total