• Login
Community
  • Login

How to configure so that the current Style affects current text input only

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 749 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.
  • J
    jokinjo
    last edited by Jan 21, 2019, 7:13 PM

    I have a text file that I want to annotate with a text style that stands out from the original content.
    I tried global Style: Global Override AND Global Style : Default Style (in the Style Configurator). Each of these reformats the original content as well as the current input text (for the annotations.)
    As far as I can see, nobody has wanted to do this? Thanks! I am hoping that this is an easy one and not a duplicate question.

    E 1 Reply Last reply Jan 21, 2019, 7:26 PM Reply Quote 0
    • E
      Eko palypse @jokinjo
      last edited by Jan 21, 2019, 7:26 PM

      @jokinjo

      that is basically what lexers do, which means you need to define your own
      user defined language or if it is all about having some text highlighted in a different
      color then you might think about using (mouse-right-click in document) Style token
      feature.

      J 1 Reply Last reply Jan 21, 2019, 9:23 PM Reply Quote 3
      • J
        jokinjo @Eko palypse
        last edited by Jan 21, 2019, 9:23 PM

        @Eko-palypse
        I finally got it using a user-defined language.

        Thank You So Much!

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