Notepad++ 7.4.1 release



  • @guy038 said:

    In addition, it’s rather annoying because you cannot determine, easily, how many files are replaced and how many are not !

    I have always used the tab colors for this. Prior to a change/replace on all opened files I do Ctrl-Shift-S to do a save-all. That both makes sure I have a backup of the files available should I make a mistake with that mass search/replace and it changes the colors all of the tabs to be blue. I then do the search-replace using replace-all-in-all-opened-documents. The tabs of the files that were changed turn red.

    Granted - that does not give you a count of the number of files that were changed. I suspect it would be easy to add the count to the status line message though adding a count of the number of files not changed seems like overkill. For example “Replaced 400 occurrences in 304 files. (Search text not found in 196 open files)”

    Related to this is I’d also like to see “Close all that are not dirty” added. Sometimes I have hundreds of files open and use replace-all-in-all-opened-documents. While it’s easy to scroll through the document list using Ctrl-PageDown or Ctrl-PageUp it’s hard to spot the blue/red tabs when scrolling rapidly. Thus I’ve wished for at times a “Close all that are not dirty” feature that would close all files that have not been changed leaving me with just the red tabs. I could then inspect those, using Ctrl-Z (undo), F3 a bunch of times to view the results of the search-text, and Ctrl-Y (redo) as needed to inspect the changes in that file. For now what I’ve been doing is to go to a clean (blue) tab and to hold Ctrl-W (close) down letting the keyboard auto-repeat. That will close long strings of blue tabs. When it hits a red tab the save yes/no? warning pops up. I let go of the Ctrl-W, hit ESC to cancel the warning, and Ctrl-PageDown to the next blue tab. That works but is painful when it’s a random mix of clean/dirty files.



  • Hi, mkupper,

    Oh yes , you’re right ! It just that I, mainly, did all my tests, with the Replace in Files dialog. With that feature, any modified file is automatically re-written ! But, if I click on the Replace All in All Opened Documents button, of the Replace dialog, as Claudia did, the modified files are not saved and, therefore, their icons have the red colour. Unfortunately, some icons keep their blue colour, as not modified :-((

    BTW, I vote for the your more complete message : Replaced xxx occurrences in yyy files

    Best Regards,

    guy038



  • @mkupper

    I’d also like to see “Close all that are not dirty” added

    This is easy enough to do with a bit of Pythonscripting; here’s CloseAllSavedFiles.py:

    for (filename, bufferID, index, view) in notepad.getFiles():
        notepad.activateFile(filename)
        if not editor.getModify():
            notepad.close()


  • Is it possible to turn off the document peeker - I agree with Mkupper (above), these are really horrible and pointless. I mean unless perhaps I was building images out of coloured characters, I can’t think of anything they would be good for!



  • @David-Bailey

    Settings->Preferences->MISC uncheck Peek on tab etc…

    Cheers
    Claudia



  • Preferences >> MISC. >> Auto-indent, does not work



  • Hello, @андрей-бобровский,

    The auto-indent feature does work for me, on a fresh de-zipped v7.4.1 version of N++, with the default plugins

    So, you should try without any plugin, by renaming,temporary, the Plugins folder or by launching N++ with the -noPlugin option, in a DOS console windows.

    Best Regards,

    guy038



  • I gave up on this version after it ‘hung’. What seemed to happen was that one window hung with an odd icon in the tab. Other windows still responded.

    I’ll try 7.4.2 when it comes along!

    David



  • @Андрей-Бобровский said:

    Preferences >> MISC. >> Auto-indent, does not work

    Auto-indent works but I suspect it does not do what you expected and so you’ll need to explain more about what you did, what happened, and what you expected. Also, what type (language) of files are you editing? If auto-indent worked for you before then what version of Notepad++ were you using?

    When enabled auto-indent does two things:

    1. it copies the leading spaces/tabs on the current line when you press <enter> to add a new line. For example, in a new/empty file do:
      <space>a<enter>b<enter><tab>c<enter>d<enter>
      If auto-indent is enabled then you should see:
      ⎵a
      ⎵b
      ───>c
      ───>d
      ───>(cursor is here)
      the b and d lines were auto-indented and the last blank line with cursor is also auto-indented to match line d.

    2. Some of the languages supported by Notepad++ employ auto-indenting to make code blocks more visible. If your problem is related to one of languages then you likely should spin off a separate thread unless it’s something that broke when upgrading to v7.4.1.



  • Could you detail a bit more please the certificate chain verification function, and the security / usability trade-offs created by disabling certificate chain validation/verification at start-up?
    Depending on the security sensitivity of each user, this may need to be a configurable option.
    thank you.



  • @Claudia-Frank
    по русский
    Опции - Настройки - Разное - блок Document Peeker галка Peek on tab



  • @ayushkov

    Спаси́бо.

    приве́т
    Claudia
    (That’s it :-) - don’t expect more Russian words, the rest I know has to do with cooking, борщ and пельме́ни)



  • I honestly described my opinion bona fide in this thread:

    https://notepad-plus-plus.org/community/topic/13893/is-np-starting-to-lose-its-way

    You absolutely right! The phenomenon is known to modern psychologists as programming addiction. Many programmers never grow up and they can’t live without programming.

    The programmer of Notepad++ showed those disturbing signs beginning with version 6. Granted, he had to fix a few bugs. But he couldn’t control himself and added several features that, in turn, added several bugs. It is the vicious cycle of programming: Add new features, therefore add new bugs, therefore new versions are mandatory.

    The new feature in version 7.4 is a case-in-point for psychologists. The ungrown child had to satisfy his programming addiction by adding that horrendous Browser-like Preview of tabs. The feature is USELESS alright. The problem is, that feature introduced new terrible bugs (Search-and-replace in All open files or In Files on disk).

    The fact that the programmer of Notepad++ doesn’t even say a word about the very serious issue is a strong indication he has a programming addiction. Yes, there is such a psychological impairment: Severe programming addiction.

    The programmer could channel the negative energy in a positive direction. First of all, he has the chance to fix important issues, especially in the search-replace weeds in the garden. He can also make search-replace work directly with multiple lines ending with Windows EOLs. He can also add what coolheaded programmers call margin offset: more than one blank character at the beginning of a line (NOT counted as a blank space in the line). The author can also fix the annoyance (serious bug) of pressing Home and always going to the beginning of the 1st word instead of the beginning of the line starting with empty spaces.

    And, OH! The Npp author has LONG, LONG WAYS TO GO when it comes to HELP. All decent applications have a Help facility that comes with the application. The author wrote a meager PDF file that only lists the menu features of an early version. Chinese, or Japanese, or American, or NOT — you gotta have an F1 Help facility. The user doesn’t have to go to an Internet destination that is not meant for help, but for bickering. Offline help is mandatory. It must describe in at least one sentence what the function does. An example for each function is also a must of decency.

    The fact that the author is addicted to programming is beyond reasonable doubt: He does NOT care what users say. He only cares about his programming drug addiction. Yes, programming can be a drug. Problem is, the addicted programmer needs users. Kids need an audience when they play with their toys. The author of Notepad++ is now in serious danger of losing his audience. Yes, many users became themselves addicted to Npp. But most Notepad++ users take it as a tool; they do NOT worship a piece of software.

    I do NOT worship Notepad++. I stopped at v7.3.3. I should have stopped earlier. Anyone know of a good free text editor that offers column editing? I still strongly recommend Notepad++ to my software users:

    Edit Lottery data Files with Notepad++

    Unfortunately, they are forced to download the latest version, 7.4.1, which is horrendous and buggy!



  • @mkupper
    thanks, a really good light weight Editor NP++ dont need this things… i love NP++ for many years, but this buggy unusual things let MS implement in Win10…



  • @UlyssesWu I agree. I run N++ on several servers that are not directly connected to the Internet and 7.4.1 gets hung on startup, then shows a few error messages and never starts.



  • @donho I think that at this point the only thing that is missed by Notepad++ is a native support for Code Snippet. Did you plan to add one?



  • @guy038 I need to disable this option. Without plugins, you can really disable it! But with plugins it does not shut off.



  • @donho,
    Your link in the first post is to the 7.4, not the 7.4.1 …



  • What about making NP++ look more modern? The current ‘3d’-borders and stuff is a quite annoying since when using dark code themes these stick out like a sore thumb and is very distracting. A code editor should let the code be the focus of attention, not the UI elements and “fun” toolbars (the toolbar and the bright menu can be hidden though).



  • @libove said:

    Could you detail a bit more please the certificate chain verification function, and the security / usability trade-offs created by disabling certificate chain validation/verification at start-up?
    Depending on the security sensitivity of each user, this may need to be a configurable option.
    thank you.

    I agree here, looks like you’ve just disabled the certification chain validation? I personally would prefer to keep certificate chain validation turned on. Is this something that’s going to be turned back on in future releases?


Log in to reply