Community
    • Login

    Notepad++ v8

    Scheduled Pinned Locked Moved Announcements
    49 Posts 19 Posters 10.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PeterJonesP
      PeterJones @donho
      last edited by

      @donho ,

      Correct. They were .txt / None (Normal Text), so no lexer was active.

      1 Reply Last reply Reply Quote 1
      • Vitaliy DovganV
        Vitaliy Dovgan @Alan Kilborn
        last edited by

        About the “dark mode” and plugins…
        Guys, I’m not good in painting. Will there be a volunteer who would like to draw a “dark” version of NppExec’s Console icon?
        Also, I have no idea how “transparency” works in icons. For example, NppExec’s Console icon on the docked panel has black lines at the top and at the bottom. I don’t know why so. Could anyone advise on this?

        PeterJonesP 1 Reply Last reply Reply Quote 2
        • mere-humanM
          mere-human @PeterJones
          last edited by

          @PeterJones said in Notepad++ v8:

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

          Is this autocompletion problem reprodicuble with Dark Mode OFF?

          BTW, I think we should include the Dark Mode setting into the Debug Info as well.

          PeterJonesP Michael VincentM 2 Replies Last reply Reply Quote 1
          • PeterJonesP
            PeterJones @mere-human
            last edited by PeterJones

            @mere-human said in Notepad++ v8:

            Is this autocompletion problem reprodicuble with Dark Mode OFF?

            My auto-complete experiments were in non-DarkMode only.

            edit: I just tried in Dark Mode with the 6MB / 130k-line file, and it still took 10-15sec for qu to show the autocomplete box for quick

            1 Reply Last reply Reply Quote 1
            • PeterJonesP
              PeterJones @Vitaliy Dovgan
              last edited by PeterJones

              @Vitaliy-Dovgan said in Notepad++ v8:

              About the “dark mode” and plugins…
              Guys, I’m not good in painting. Will there be a volunteer who would like to draw a “dark” version of NppExec’s Console icon?
              Also, I have no idea how “transparency” works in icons.

              I did a screen-capture of the dark-mode toolbar, and then pasted in your existing icon – it doesn’t look too bad as is in the Dark Mode, so in theory, you could just use that. (I think you could put the same pointer in both the normal and dark-mode slots in the structure.)

              For the transparency, I’m not really sure. I downloaded your ico file, and it properly has transparent pixels. And per @dinkumoil’s 2019 post here, the upper-left corner of the bitmap should be used as transparent color, so that should still work.

              For example, NppExec’s Console icon on the docked panel has black lines at the top and at the bottom. I don’t know why so. Could anyone advise on this?

              Regarding the black lines and docked icons, I looked through a couple of the icon files from Notepad++ docked panels, and icons used in other plugins for their docked panels, and also doing some screenshots of the docked tab bar – it looks like NPP is maybe using a 14x14 icon rather than 16x16 icon for the docked panel (and some of the plugins just provide a 12x12 icon for that). Maybe when Notepad++ is squishing your 16x16 to fit in the 14x14, it is either not handling transparency correctly, or it “averaged” from the transparent and non-transparent together, and decided that “black must be the best choice for those pixels”. So you might want to have a separate icon structure for the toolbar (16x16) compared to the icon you use for the docking icon (14x14 or 12x12).

              I don’t have a system for compiling plugins and trying icons out live… but I might spend some time this evening making a few colored and maybe even “fluent-style” icons, and attach them to the NppExec issue #39 – since I’m the one who requested the change to your plugin, I should at least try to help. Warning: I have the know-how to create an icon file with the tools available to me; I do not guarantee it will “look good” in anyone else’s opinion. But I’ll try.

              1 Reply Last reply Reply Quote 2
              • Michael VincentM
                Michael Vincent @mere-human
                last edited by

                @mere-human said in Notepad++ v8:

                Is this autocompletion problem reprodicuble with Dark Mode OFF?

                Yes, I do NOT use dark mode at all and I had the same long wait result with 8.0.

                1 Reply Last reply Reply Quote 0
                • donhoD
                  donho
                  last edited by donho

                  Regarding Auto-completion performance issue in v8, I’ve created an issue here:
                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9975

                  The bug has nothing to do with dark mode, but related to the commit One button to compile them all (with auto-completion performance issue), since the previous commit Fix Copy command in Search result is available as there's no selection has no performance issue:

                  4e1ae21d-dfd6-4da1-b364-f47d95e1b340-image.png

                  I have tried different compiling/linking optimization options with both Notepad++ project & Scilexer project in VS, but without remedying the problem.

                  I’ll keep looking for the solution, you’re welcome to check it as well. If there’s no solution, the following commit will be reverted :
                  https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ab58c8ee3ed1b8f8fa84a06c0f7d304fb0f0cd76

                  and SciLexer.dll will separate from Notepad++ as before.

                  Toni FelfeT Ivan KI 2 Replies Last reply Reply Quote 1
                  • Toni FelfeT
                    Toni Felfe @donho
                    last edited by

                    @donho i confirm!

                    1 Reply Last reply Reply Quote 0
                    • Toni FelfeT
                      Toni Felfe @donho
                      last edited by

                      @donho but it’s new with v8, something must have been changed

                      1 Reply Last reply Reply Quote 0
                      • Ivan KI
                        Ivan K @donho
                        last edited by

                        Quickly scanning, and this may be way off, so sorry in advance, but is it possible that Scintilla is being built in debug mode even in release? I just quickly looked at some changes, and see a line was commented out so maybe %scintilla_debug% will take on whatever it was previously assigned (maybe 1)? appveyor.yml :

                        ...
                        (removed)    - if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1
                        ...
                        (added - note the # at the start of the line)
                              #- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1
                        ...
                            - if "%Platform%"=="mingw-w64_810_X64" mingw32-make %scintilla_debug% -j%NUMBER_OF_PROCESSORS%
                        ...
                        
                        
                        donhoD 1 Reply Last reply Reply Quote 1
                        • M-VerhoevenM
                          M-Verhoeven
                          last edited by

                          Notepad v8 64-bit

                          Dutch language

                          CTRL-O / Open prompts screen with text on ‘Open button’ = “Save”
                          Clicking the button to open a file works fine though.

                          M-VerhoevenM Alan KilbornA 2 Replies Last reply Reply Quote 0
                          • M-VerhoevenM
                            M-Verhoeven @M-Verhoeven
                            last edited by

                            @M-Verhoeven Open-save-Notepad++.png

                            1 Reply Last reply Reply Quote 1
                            • Alan KilbornA
                              Alan Kilborn @M-Verhoeven
                              last edited by Alan Kilborn

                              @M-Verhoeven said in Notepad++ v8:

                              CTRL-O / Open prompts screen with text on ‘Open button’ = “Save”

                              Known issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9966
                              Fix is already in progress: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9973

                              1 Reply Last reply Reply Quote 3
                              • donhoD
                                donho @Ivan K
                                last edited by donho

                                @Ivan-K said in Notepad++ v8:

                                Quickly scanning, and this may be way off, so sorry in advance, but is it possible that Scintilla is being built in debug mode even in release?

                                That’s an interesting assumption. However, I rebuilt libSciLexer.lib x64 release then notepad++.exe to make sure there’s no problem of link, the result remains the same (libSciLexer.lib x64 Debug is not built therefore even absent from the disk).

                                Ivan KI 1 Reply Last reply Reply Quote 4
                                • Ivan KI
                                  Ivan K @donho
                                  last edited by

                                  Ah ok cool. I just looked at that commit and saw all the new build files and wondered if some debug checks were turned on, or optimizations turned off. At any rate I browsed to Github and see you guys are onto things. Thanks for the program; been using it for years.

                                  1 Reply Last reply Reply Quote 0
                                  • Richard WulfR
                                    Richard Wulf
                                    last edited by

                                    Will the other icons in fluent ui also be submitted later, for example “fold” and “unfold all”?

                                    1 Reply Last reply Reply Quote 0
                                    • donhoD
                                      donho
                                      last edited by

                                      FYI, the regression of auto-completion performance issue has been fixed in v8.1 RC:
                                      https://community.notepad-plus-plus.org/topic/21335/notepad-v8-1-release-candidate

                                      1 Reply Last reply Reply Quote 0
                                      • Jean Michel DecoretJ
                                        Jean Michel Decoret
                                        last edited by Jean Michel Decoret

                                        Hi Notepad++ team
                                        Great job, for this effort to reach a dark mode !

                                        Just a few artifacts I have seen:

                                        • document commutator : headers of columns haven’t switched in dark mode
                                          533a80a5-9da5-4672-8b92-5e805203101b-image.png

                                        • document commutator : the scroll bars do not switch to dark mode at first time (after reboot). In my case, I had it open with many files while in light mode. After a switch to dark mode and reboot notepad++, when it repoened, then scroll bars of document commutator were still in normal/light mode. I have to close all files (scroll bar were hidden), then reopens lot of files until scroll bar are displayed to see them in dark mode ! strange !

                                        • I use NppFTP extension (always opened), which do not switch to dark mode
                                          c286ba57-ece7-421f-8f99-c8575d0266c6-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • donhoD
                                          donho
                                          last edited by

                                          @Jean-Michel-Decoret

                                          document commutator : headers of columns haven’t switched in dark mode

                                          Yes, we are aware of this. Some parts are not yet in dark mode. We will work on them in the future version.

                                          I use NppFTP extension (always opened), which do not switch to dark mode

                                          Plugins should use the API NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR for getting the background color from Notepad++ then change its panel background color by using the value it’s got. I’ll try to do a demo in NppPluginDemo plugin.

                                          dinkumoilD 1 Reply Last reply Reply Quote 3
                                          • dinkumoilD
                                            dinkumoil @donho
                                            last edited by

                                            @donho said in Notepad++ v8:

                                            Plugins should use the API NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR for getting the background color from Notepad++ then change its panel background color by using the value it’s got.

                                            That’s not sufficient. A user can also set a dark theme (e.g. Zenburn or Obsidian) but still running light mode. The main difference of dark and light mode is, from the view of a plugin developer, the style of the icons. Simply querying the editor background color says nothing about current icon style. That’s the reason why I filed issue #9809.

                                            IMO we need a message/API that plugins can query to figure out whether dark mode is currently active or not. Additionally it would be useful to have a notification message that is fired when dark mode is activated or deactivated.

                                            I know, the preferences dialog says that Notepad++ has to be restarted after (de-)activating dark mode but indeed it looks like this is not really neccessary - dark mode goes (in-)active instantly. Having a “dark mode switched” message would also allow plugins to instantly change their UI.

                                            These additional messages I’m talking about in the above text would streamline Npp’s UI and would help to give it a professional look, something a fantastic software like Notepad++ highly deserves.

                                            1 Reply Last reply Reply Quote 6
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors