Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    "Foreground color" greyed out in "Selected text color?"

    Help wanted · · · – – – · · ·
    4
    7
    3504
    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.
    • Thomas Koch
      Thomas Koch last edited by

      Hello.

      I wanna be able to change color of text permanently, but seems like this function is greyed out (it only allows me to change the background color which is irrelevant to me). I am new to this program and I’m using 64 bit Windows, so yeah, don’t know if that has much to say. Maybe there’s some function to enable but I’ve been unable to find the answer, which is why I’m writing this post. Any help would be appreciated.

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Thomas Koch last edited by

        @Thomas-Koch

        don’t know of I understand it correctly but do you use style configurator?
        If so, it should work. Maybe you wanna describe in detail (screenshots??) what
        you did?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Scott Sumner
          Scott Sumner last edited by

          Along with Claudia, I’m not sure what the OP is asking for, but maybe this post helps?:

          https://notepad-plus-plus.org/community/topic/11039/foreground-options-for-selected-text

          1 Reply Last reply Reply Quote 0
          • Thomas Koch
            Thomas Koch last edited by

            Okay, so I just want the simplest of things; I wanna be able to color some text instead of all the text. I looked in the guide but it didn’t say anything about it. Is this really not possible? In the screenshot I attached the “Foreground colour” is greyed out, I can choose it in some of the other options (f.eks. Default Style) but then it colours all of the text, I just want it to colour selected text (otherwise, why would this program have an option called “Selected text colour” if this was not possible?) hope somebody has the answer. Thanks. link text

            1 Reply Last reply Reply Quote 0
            • MAPJe71
              MAPJe71 last edited by

              Selected text colour colours the background of the text that is selected during left-mouse-click + hold + drag.
              After a selection you can mark/colour the text by assigning a style token i.e. right-click on the selected text, select one of the Using ... Style entries in the Style Token > context sub-menu .

              1 Reply Last reply Reply Quote 0
              • Thomas Koch
                Thomas Koch last edited by

                Thanks for the replies. But it only changes the background of the text, isn’t there a function to just color the text itself and not the background behind it?

                Claudia Frank 1 Reply Last reply Reply Quote 0
                • Claudia Frank
                  Claudia Frank @Thomas Koch last edited by

                  @Thomas-Koch

                  so let me try to summarize.
                  You ALWAYS have random text and random words which you wanna color different, correct?
                  If so, no, npp doesn’t have such functionality natively, because it is mainly an programmer editor
                  and as such, it colors, depending on the language, always the same words.
                  Plugins like Python Script, Lua Script, nppexec etc… can provide another way
                  solving your issue but therefore we would need more DETAILS what exactly
                  needs to be done.

                  If you are looking for a way to always color the same words, then you can easily define
                  a user defined language and put your words into one of the keyword field.
                  Choose a color and set your newly defined language via the language menu.
                  Done.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors