• Login
Community
  • Login

Как поменять цвет и размер шрифта уведомления в окне поиска?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 4 Posters 2.6k 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.
  • U
    User1727
    last edited by Apr 27, 2024, 4:04 PM

    Здравствуйте.
    Скажите, пожалуйста, как изменить цвет и размер шрифта уведомления, отображаемого фиолетовым цветом в окне поиска?
    4fbe95a7-777a-4f0e-aaf7-0458ba5ea246-image.png
    Спасибо.

    A P M 3 Replies Last reply Apr 27, 2024, 4:10 PM Reply Quote 0
    • A
      Alan Kilborn @User1727
      last edited by Alan Kilborn Apr 27, 2024, 4:13 PM Apr 27, 2024, 4:10 PM

      @User1727 said in Как поменять цвет и размер шрифта уведомления в окне поиска?:

      Hello.
      Can you please tell me how to change the color and size of the notification font displayed in purple in the search box? Thank you.

      It is currently (v8.6.5) not possible, I don’t believe – there’s a chance I could be wrong about it…?
      You could make a FEATURE REQUEST for it.
      Note: It is much more likely that color could be changeable, than size.

      1 Reply Last reply Reply Quote 1
      • P
        PeterJones @User1727
        last edited by Apr 27, 2024, 4:31 PM

        @User1727 said in Как поменять цвет и размер шрифта уведомления в окне поиска?:

        how to change the color … of the notification displayed in purple in the search box?

        I was really hoping it would follow one of the Tones in the Settings > Preferences > Dark Mode > Tones, but unfortunately, it does not.

        548bab9b-21da-4653-af65-59b9455a2e53-image.png

        There are actually 3 different colors for that status bar, and none of them follow any of the Tones:

        1. Count or Mark (whether or not sucessful) => 02274a7f-088c-47ff-b992-ebf97e90a282-image.png 3c5bc1ce-93de-4bc4-adf8-b4ad5e926684-image.png
        2. Successful Find => 9ca319ef-ca74-42ca-80d4-65663f799979-image.png (only some successful finds show anything there, usually on wrap)
        3. Failed Find or Invalid Regex => 23356a7a-7b76-4206-8dfd-becfae55ac45-image.png 1273f8be-b744-4a59-b8c4-275b44b0b311-image.png

        it’s actually possible to choose a Main color that makes one of those three invisible:
        a79a00ec-4ca6-4881-bb76-909b4e104584-image.png

        If you were to follow @Alan-Kilborn’s suggestion and make a feature request, I would suggest that you ask that it follow the Error Tone when it’s not a match or has a regex error, and that two new Tones be added for the Count/Mark and the SuccessfulFind.

        Or, if it’s not in the Tones section, then having those three colors selectable in the Settings > Preferences > Searching section would make the next most sense.

        A 1 Reply Last reply Apr 27, 2024, 4:38 PM Reply Quote 2
        • A
          Alan Kilborn @PeterJones
          last edited by Alan Kilborn Apr 27, 2024, 4:40 PM Apr 27, 2024, 4:38 PM

          @PeterJones said in Как поменять цвет и размер шрифта уведомления в окне поиска?:

          and that two new Tones be added for the Count/Mark and the SuccessfulFind.

          Or, it could be simpler and just use one color (currently the green, but to be made programmatic) for both.

          make a feature request

          Actually, I think there was an old feature request for this, from a visually impaired user (and this predates the time when there was a dark mode).

          The colors would ideally be made configurable for either dark or light modes.

          P 1 Reply Last reply Apr 27, 2024, 9:54 PM Reply Quote 1
          • A
            Alan Kilborn
            last edited by Apr 27, 2024, 5:49 PM

            See issue 5087 and issue 9309 .

            1 Reply Last reply Reply Quote 2
            • U
              User1727
              last edited by Apr 27, 2024, 8:36 PM

              Всем большое спасибо за ответы.
              Буду ждать решения проблемы в следующих обновлениях.
              Было бы идеально, если бы в темном режиме эта строка отображалась белым цветом

              A 1 Reply Last reply Apr 27, 2024, 8:42 PM Reply Quote 0
              • A
                Alan Kilborn @User1727
                last edited by Apr 27, 2024, 8:42 PM

                @User1727 said in Как поменять цвет и размер шрифта уведомления в окне поиска?:

                Thank you all very much for your answers.
                I will wait for a solution to the problem in the next updates.

                Well, we here don’t control development, so…don’t count on anything happening, but… be glad if it does

                It would be ideal if in dark mode this line was displayed in white

                If it is programmable, you can set white if you like; I’m sure a suitable default will be chosen for all modes.

                1 Reply Last reply Reply Quote 0
                • M
                  mkupper @User1727
                  last edited by Apr 27, 2024, 9:44 PM

                  @User1727 This forum thread from the year 2020 also mentions the issue. Unfortunately, the code in FindReplaceDlg::drawItem has not changed in years and is hardwired for three colors for light mode and another set of three for dark mode.

                  1 Reply Last reply Reply Quote 1
                  • P
                    PeterJones @Alan Kilborn
                    last edited by Apr 27, 2024, 9:54 PM

                    @Alan-Kilborn said in Как поменять цвет и размер шрифта уведомления в окне поиска?:

                    Or, it could be simpler and just use one color (currently the green, but to be made programmatic) for both.

                    I added a comment to Issue #9309 with my suggested ideas of either using colors from Tones, or having the colors choosable in Preferences > Searching .

                    I’m not hopeful that anything will ever come of that, but at least the suggestion is there.

                    1 Reply Last reply Reply Quote 2
                    7 out of 9
                    • First post
                      7/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors