Notepad++ v8



  • Notepad++ v8 is coming out:
    https://notepad-plus-plus.org/news/v8-dark-mode/

    Here is its change log:

    1. Add Dark Mode. (Implement #9183 & #7692)
    2. ARM64 build is available. (Implement #5158)
    3. One button to build them all - build Notepad++ with Scintilla static lib and Boost RegExpr headers. (Implement #9594)
    4. Add new Fluent UI icons for toolbar. (Implement #9742)
    5. Add new feature “Distraction Free Mode” (Menu “View->Distraction Free Mode”).
    6. Add new API NPPM_ADDTOOLBARICON_FORDARKMODE for dark mode (Implement #9928).
    7. Add 1 click action (SHIFT-click) on close button to close all tabs in dockable panel (Implement #8922.
    8. Add ability of changing select text foreground color (optional). (Fix #3397 & #1314)
    9. Allow Replace to stop after replacement (optional). (Implement #4437)
    10. Fix append extension feature not working in save dialog. (Fix #9939)
    11. Add ability to reverse line order. (Implement #9837)
    12. Add ability to style only current instance of text. (Fix #9263)
    13. Fix duplicated entries in Auto-Completion pop-up window. (Fix #9711)
    14. Fix Python Function List not showing functions in some circumstance. (Fix #9844)
    15. Enhance Folder as Workspace performance while adding/removing files in bulk. (Fix #9203)
    16. Add Ada, Fortran, Fortran77 & Haskell in function lists. (Fix #9698)
    17. Improve performance of “Open all” command in Search results. (Fix #9819)
    18. Add “Copy Pathnames” command to Search results context menu. (Fix #9821)
    19. Catch regex search exceptions and show exception message. (Fix #9565)
    20. Add MarkAll Preference settings for case and word. (Fix #9751 & #5148)
    21. Fix regression: Handle “Default Directory” setting correctly in Open/Save File Dialog. (Fix #9767)
    22. Fix a special character in UTF16 file crash issue (regression). (Fix #9797)
    23. Add “Append extension” checkbox to Save As dialog. (Implement #9515)
    24. Fix Copy command in Search result is available as there’s no selection. (Fix #9757)
    25. Add padding ability in the edit zone. (Fix #2323)
    26. Make new tab name translatable. (Fix #2837)
    27. Improve character case handling in RegEx. (Fix #9636)
    28. Fix dragged out UDL file is not applied to UDL in the new instance. (Fix #3451)
    29. Add command line parameter for adding specified string to app title bar. (Implement #9539)
    30. Fix Auto-Completion ignoring case issue. (Fix #3997, #4833 & #4998)
    31. Fix “Match Whole Word” option being enabled in RegEx Search. (Fix #9766)
    32. Fix sort with column key selection that appears after tab characters. (Fix #9682)
    33. Fix “Reload Workspace” menu command not working issue. (Fix #9350)
    34. Fix view file in Edge browser failure issue if name contains spaces. (Fix #9313)
    35. Add ability to avoid accumulating multiple search results. (Fix #8777)
    36. Fix UTF-16 decoding/encoding for code points above U+FFFF. (Fix #9597, #3747 & #5754)
    37. Fix “Save As” command removing original path from recent files history issue. (Fix #9673)
    38. Fix function List button tool tips mixed up issue. (Fix #9804)
    39. Remove Microsoft Bing from Notepad++ for Search on Internet command, due to its poor reliability. (Ref)

    Please let me know if you find any critical bug or regression in this release.

    Thank you everyone here for testing/support/reporting bug/code contribution/etc…
    Without you, v8 won’t be here.

    Enjoy your Notepad++ in Dark Mode and/or ARM64 build.



  • When you turn on dark mode, toolbar auto switches from standard icons small to fluent ui small.
    however when you turn off dark mode, toolbar does not switch back to standard icons and stays at fluent ui small.
    also at fluent ui small you cannot see Compare buttons in toolbar.



  • notepad-toolbar.png



  • @ZanzaZanzara

    The extra icons that you show on the right as missing are not standard Notepad++ icons but belong to a plugin.
    Toolbar icon handling has been changed with v8 of Notepad++.
    Plugin authors will have to change their icons in order to work with v8.



  • @Alan-Kilborn said in Notepad++ v8:

    @ZanzaZanzara

    The extra icons that you show on the right as missing are not standard Notepad++ icons but belong to a plugin.
    Toolbar icon handling has been changed with v8 of Notepad++.
    Plugin authors will have to change their icons.

    I see.
    But it is still weird about the toolbar ui switch.



  • @ZanzaZanzara said in Notepad++ v8:

    at fluent ui small you cannot see Compare buttons in toolbar.

    The Compare Plugin maintainer has been notified: https://github.com/pnedev/compare-plugin/issues/261

    But it is still weird about the toolbar ui switch.

    You might not like it, but it’s not “weird”, really. When Notepad++ switches to Dark Mode, it changes the Settings > Preferences > General > Toolbar icon setting. Once it does that, it loses track of which icons were previously selected.

    You might reasonably expect it to remember it in the same instance of Notepad++. But Dark Mode highly recommends re-starting Notepad++, so even if it did try to remember in that instance where you made the change, once you restarted, it would have no memory of the previous setting, so no way to determine what you want to go back to.

    The fact that the Developer left the old icons as an option at all was quite nice; he could have just decided to switch completely over to Fluent UI, and just made you wait for the plugin authors to catch up.



  • Print jobs while in dark mode have a very light, nearly unreadable output.



  • Problem 1.

    Typing with a drop-down suggestion enabled in a large file became extremely slow with complete freezes while Notepad++ collects data for its suggestion drop-down. Reverted back to 7.9.5 and the problem goes away and there are again only occasional & barely noticeable (100ms or so) freezes for that.

    Problem 2.

    The dark mode is still incomplete:

    • the settings dialog is bright white
    • the suggestion drop-down as well

    Problem 3.

    Gut reaction - ugh… Is there a way to get the old ‘fuller’ toolbar icons back? Not certain I would not get used to them, but at first glance they seem way too thin & tiny and my eyes are having trouble navigating through them.



  • Problem 1.

    Typing with a drop-down suggestion enabled in a large file became extremely slow with complete freezes while Notepad++ collects data for its suggestion drop-down. Reverted back to 7.9.5 and the problem goes away and there are again only occasional & barely noticeable (100ms or so) freezes for that.

    For the record, tested this with a file of this size:

    • 79696 lines
    • 472885 words
    • 4237456 bytes


  • @Jurko-Gospodnetić

    The dark mode is still incomplete

    Yes, it will probably be a while before all elements are tracked down and dealt with.

    Is there a way to get the old ‘fuller’ toolbar icons back?

    I think they are gone for good.



  • @Jurko-Gospodnetić said in Notepad++ v8:

    Is there a way to get the old ‘fuller’ toolbar icons back?

    There is still the Settings > Preferences > General > Toolbar > Standard Icons: Small option available. When you first switch to Dark Mode, it changes to one of the Fluent icon sets… but you can override that decision and go back to the Standard Icons. They don’t work great with Dark Mode (especially the greyed-out inactive icons), but it is technically the old icons.

    at first glance they seem way too thin & tiny and my eyes are having trouble navigating through them.

    You could try the Fluent UI: Large versions rather than the Small, and see if that works better for you.



  • Notepad++ Toolbar Layout Notes

    version 8.0 changes toolbar icons in menu: \Settings\Preferences…\General

    • adds Fluent icons:
      •    'Fluent UI: small'                  (thin black outline on white)
        
      •    'Fluent UI: large'                  
        
      •    'Filled Fluent UI: small'           (solid black on white)
        
      •    'Filled Fluent UI: large'
        
    • renames ‘Standard’ icons to ‘Standard icons: small’
    • removes:
      •    'Small icons'
        
      •    'Big icons'
        

    invoking the ‘dark mode’ setting(s) forces a change to one of the Fluent icon sets

    Customize Toolbar plugin

    • is designed to handle the pre 8.0 ‘Standard’ icons
    • (I have NOT experimented with the use of any of the Fluent icons)
    • does support the 8.0 ‘Standard icons: small’ icons
    • changes to the toolbar may result in the unexpected update of:
      • …\plugins\Config\CustomizeToolbar.dat
      • (i.e., the loss of the previous toolbar layout configuration)
    • a previously saved copy of ‘CustomizeToolbar.dat’ can be used to replace the current/future version
      •   ONLY replace the config file when not in a Npp edit session
        
      •   the config file save MUST have occurred before the toolbar was changed/updated/etc
        

    When upgrading from 7.95 to 8.0:

    • save a copy of the 7.95 config file: …\plugins\Config\CustomizeToolbar.dat
      •    use a different name or a different folder location
        
    • upgrade to 8.0
    • change the menu: \Settings\Preferences…\General
      • to select ‘Standard icons: small’
    • exit Npp 8.0
    • replace the config file with the previously saved file (from 7.95)
    • restart Npp 8.0
    • expect to lose the toolbar layout when changing to dark mode or selecting any of the Fluent icons

    These notes are based on my personal observation and have not been reviewed or endorsed by anyone else.



  • sorry for the messy markdown, still navigating this sites interpretation & Akismet flagged my attempted edit as spam



  • download error (ver. 64-bit)

    Fastly error: unknown domain: github-releases.githubusercontent.com.
    
    Details: cache-ams21079-AMS
    


  • Typing with a drop-down suggestion enabled in a large file became extremely slow with complete freezes while Notepad++ collects data for its suggestion drop-down. Reverted back to 7.9.5 and the problem goes away and there are again only occasional & barely noticeable (100ms or so) freezes for that.

    Does anyone have the same issue here?



  • @donho said in Notepad++ v8:

    Typing with a drop-down suggestion enabled in a large file became extremely slow with complete freezes while Notepad++ collects data for its suggestion drop-down. Reverted back to 7.9.5 and the problem goes away and there are again only occasional & barely noticeable (100ms or so) freezes for that.

    Does anyone have the same issue here?

    I assume by “suggestion drop-down”, that’s talking about the auto-completion on words feature.

    I just took my portable v8-64bit, and created a file with about 4 million lines of the quick brown fox jumps over the lazy dog, for >100MB file. I made sure auto-completion was turned on I inserted a blank line at the top; when I started typing the, and it started doing background processing (presumably to do auto-completion)… a few minutes later (including starting this reply to this point), and it hadn’t finished bringing up the auto-completion popup

    Notepad++ v8   (64-bit)
    Build time : Jun  6 2021 - 18:38:25
    Path : C:\usr\local\apps\npp\npp.8.0.portable.x64\notepad++.exe
    Command Line : C:\usr\local\apps\npp\npp.8.0.portable.x64\quickfox.txt
    Admin mode : OFF
    Local Conf mode : ON
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit) 
    OS Version : 1903
    OS Build : 18362.1256
    Current ANSI codepage : 1252
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
    

    .

    I took the same >100MB file and opened in a fresh portabl v7.9.5-64bit, and it took maybe 15sec or so in order to bring the auto-complete suggestion box – so slow, but not impossibly-so.

    Notepad++ v7.9.5   (64-bit)
    Build time : Mar 21 2021 - 02:13:17
    Path : C:\usr\local\apps\npp\npp.7.9.5.portable.x64\notepad++.exe
    Admin mode : OFF
    Local Conf mode : ON
    OS Name : Windows 10 Enterprise (64-bit) 
    OS Version : 1903
    OS Build : 18362.1256
    Current ANSI codepage : 1252
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
    

    So yes, I can replicate the auto-completion problem – the v8 is significantly slower on large files.

    I now see that the OP only had 4MB, not the >100MB of my file. In v7.9.5, I dropped my quick-brown-fox to 130k lines for 6MB, and typing quick or brown brought auto-complete within a fraction of a second like the OP. Taking the 6MB quick-brown-fox file to v8, typing the qu or br for quick or brown autocompletion took 10-15sec for it to try to auto-complete. Once again, even with the 4MB file, I was able to replicate that v8 was much slower than v7.9.5 on the auto-complete pulldown.

    edit: the quick-brown-fox file was the only file open in either instance, so there wasn’t any other files being processed; and it was a .txt file, so no lexer was active.



  • @donho said in Notepad++ v8:

    Does anyone have the same issue here?

    Yes, but only for larger files than I typically use (which is probably why I never noticed it during testing v8). I tried with a 1M text file and didn’t notice anything. I tried with a 7M text file and autocomplete is very slow to respond - thus making typing of letters appearing slowdown considerably - in Notepad ++ v8, 64-bit. Trying with the same files on 7.9.5 64-bit - there is no difference between the 1M and 7M files - autocomplete is rather instantaneous.

    Using these settings on both tests:

    6af2ccf1-662a-4d8e-8475-d1355eb9f2d3-image.png

    Cheers.



  • @Jurko-Gospodnetić Same to me - confirm problem 1. Version 8 is unusable in a 15000 lines text file. What a pity. May be the user can force N++ to index the document in a first step to come back to 7.x versions speed.



  • @PeterJones @Michael-Vincent @Toni-Felfe
    All the test files you use are “Normal Text” (Language: None), right?



  • @donho said in Notepad++ v8:

    All the test files you use are “Normal Text” (Language: None), right?

    Yes, mine were.

    Cheers.


Log in to reply