Community
    • Login

    Find window font size

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    23 Posts 9 Posters 6.1k 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.
    • dinkumoilD
      dinkumoil
      last edited by

      @Scott-Sumner

      You are right, this technique causes the dialog to grow in size.

      Regarding S1PC2P (BTW a nice one :-) ): In german there is a proverb “Wash me but do not make wet my fur”…

      1 Reply Last reply Reply Quote 2
      • S ItzikS
        S Itzik
        last edited by

        Hi there,

        Ok I did what you suggested dinkumoil . It indeed solved the text size issue in Find box - Thank you! , but now (as others mentioned) the find box became really big (I changed the size to 14).

        @Scott-Sumner said:

        @Meta-Chuh said:

        E.P.S. is not exactly right in this case. In this case it is more of S1PC2P…Solving 1 Problem Creates 2nd Problem

        it sounded like ONLY the find window seems to have small fonts, but they should have the same font size as all other menus

        I know what the OP is saying. I think the fact that other things are also small is not as big of a deal as the fields in the Find window being small. Find is used very often while text editing; other things, (usually) not so much…YMMV

        Couldn’t write it better :-)

        Scott SumnerS 1 Reply Last reply Reply Quote 1
        • Scott SumnerS
          Scott Sumner @S Itzik
          last edited by

          So disregarding the font size on the Find window entirely…and thus going off-topic to the thread…

          I often find the Find window just plain annoying when on-screen. Don’t get me wrong, I like having ready-access to it, but it just seems to be always in the way. With my super-duper 3 monitor setup it is not terrible: I have N++ maximized to one monitor (the middle one), and I keep the Find window on the left monitor near the top right edge–close to N++ but not covering any part of it.

          When I’m on my laptop with only 1 screen, the situation is worse: If I leave Find open then it is always on top of something else of N++'s. In this case I usually have the Find result panel or the Pythonscript console window open (at the bottom of N++), so I put the Find window on top of these but over on the right-hand side.

          Sure, I could close/open/close/open/etc Find as I need it…that gets annoying too. I like the way the Incremental Search window is unobtrusive, but it doesn’t have the power I want in a find feature.

          The best situation for me is when I can just use the Select and Find Next (or Previous) feature…which I consider a “killer app” feature for Notepad++.

          Just some random ramblings… :-)

          Meta ChuhM 1 Reply Last reply Reply Quote 2
          • Meta ChuhM
            Meta Chuh moderator @Scott Sumner
            last edited by

            @Scott-Sumner

            i never knew until your last post, but NOW i’d like to have a completely 2d rendered, zoomable find window (graphics and font scaling)

            ctrl+mouse wheel inside find/replace should scale the whole find window to the size one needs, and if one desires, zoom it out completely to make it a thumbnail …

            … and if it is a thumbnail, one click on it should suffice to zoom it back to the smallest readable size and collapse it again as soon as you change the window focus, like clicking anywhere else ;-)

            Scott SumnerS 1 Reply Last reply Reply Quote 1
            • Scott SumnerS
              Scott Sumner @Meta Chuh
              last edited by

              @Meta-Chuh said:

              i never knew until your last post

              Sorry for making you aware.
              Is it like when you see something you don’t want to see, and then wish you could unsee it? :-)

              Sad to say, but I’ve seen feature-requests for improved Find interactivity just sit and sit and sit. To Don the current interface must be the most-awesomest Find interface ever created. Thus I just put some “ramblings” forward here instead of creating another real feature request to improve it…

              Meta ChuhM 1 Reply Last reply Reply Quote 2
              • Meta ChuhM
                Meta Chuh moderator @Scott Sumner
                last edited by

                @Scott-Sumner

                Is it like when you see something you don’t want to see, and then wish you could unsee it? :-)

                almost exactly, but this time i DO want to see it ! lol

                feature-requests for improved Find interactivity just sit and sit and sit

                maybe such a 2d rendered, smart-scaleable find window is creating more spreaded awareness to fire up some coder’s ego trip, despite being about the most complicated thing ever to do … and it gets done and commited (i wish ;-)

                and … maybe … just maybe … some “ramblings” can help creating ideas that are to cool to be unseen or forgotten ever again

                1 Reply Last reply Reply Quote 2
                • guy038G
                  guy038
                  last edited by

                  Hello, @dindkumoil, and All,

                  Oh, wonderful ! Just two minutes and I got the right exe :-))

                  Personally, I don’t have any screen problem. so, having, only the Find/replace window a bit taller is just what I want to !. Of course, I did some tests :

                  The fonts mapped to the labels MS Shell Dlg and MS Shell Dlg can be found, below :

                  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes

                  On my Win XP machine, these are :

                  • MS Shell Dlg => Microsoft Sans Serif

                  • MS Shell Dlg 2 => Tahoma

                  So, I tried, with size 10, MS Shell Dlg, MS Shell Dlg 2 and, also, Arial, Verdana, Comic Sans MS, Trebuchet Ms, Consolas, Courrier New and even with no font between doubles quotes !

                  • I got a window S/R a bit taller, than default Font 8, "MS Shell Dlg", for Tahoma, Arial, Comic Sans and Consolas fonts

                  • Size of the S/R window is more important for Verdana, Courier New, Trebuchet MS and without any font name

                  I think that a good compromise would be the Consolas mono-spaced font, in size 10, which seems to display text in a pseudo-bold way, having any character with a same width ! Note that I was not able to get the bold variation of all the tested fonts, although I’ve read, carefully, information from, below :

                  http://forums.codeguru.com/showthread.php?448521-Question-about-Dialog-Font-in-RC-File&p=1697034#post1697034

                  https://docs.microsoft.com/fr-fr/windows/desktop/menurc/font-statement

                  https://docs.microsoft.com/fr-fr/windows/desktop/api/wingdi/ns-wingdi-taglogfonta

                  Many thanks, Dinkumoil, for, both, pointing out this nice utility and giving us this work-around ;-))

                  Best Regards,

                  guy038

                  Scott SumnerS 1 Reply Last reply Reply Quote 6
                  • Scott SumnerS
                    Scott Sumner @guy038
                    last edited by

                    @guy038

                    I think it is particularly important to have a monospaced font (e.g. Consolas) for the Find what and Replace with zones, as most people are used to a monospaced font in their main editor tab windows, and when you paste into the default Find what and Replace with boxes, it is jarring to see non-monospaced text appear there (for example, lowercase i characters are very annoying).

                    1 Reply Last reply Reply Quote 3
                    • Alan KilbornA
                      Alan Kilborn
                      last edited by Alan Kilborn

                      For readers/followers of this thread: Notepad++ 7.8 (and presumably later versions) gives the Find what and Replace with boxes monospaced fonts, thus making their contents easier to read. From the N++ 7.8 change log:

                      • Make Combobox font monospace in Find dialog.
                      1 Reply Last reply Reply Quote 3
                      • guy038G
                        guy038
                        last edited by guy038

                        Hello, @alan-kilborn, @Dinkumoil and All,

                        Yes, Alan, but the counterpart is that, if we try, again, the @Dinkumoil technique, with the help of the Ressource Hacker utility, on notepad++.exe file ( v7.8.1 RC2 ) it does change change the police and/or its size, in the 4 tabs of the Find dialog, except for, unfortunately, the 4 user fields :

                        • Find what:

                        • Replace with:

                        • Filters

                        • Directory

                        So, if we still would like to modify the police and/or its size, it would be necessary to ask @don-ho to add these two settings when choosing the option Settings > Preferences > MISC. > Use Monospaced font in Find dialog Don’t know if it’s worth to, anyway !?

                        Best Regards,

                        guy038

                        1 Reply Last reply Reply Quote 2
                        • Michael Maardt 0M
                          Michael Maardt 0
                          last edited by

                          Dinkumoil. Thank U so much. I have been looking for this for years !!

                          1 Reply Last reply Reply Quote 0
                          • Jon ShawJ
                            Jon Shaw @S Itzik
                            last edited by

                            @S-Itzik THIS IS AWESOME. Thank you so much for sharing! So much time wasted on errors with small text.

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