Community
    • Login

    How to change colour/color of a piece of text within other text

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.4k Views 2 Watching
    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.
    • George BizasG Offline
      George Bizas
      last edited by

      In Notepadd++ I am using a custom made language to view easily CNC G/M Code that is shown in continuous lines. Here is a small extract of the code

      M436(AGB CLOSE)
      G4U0.2
      M6
      G4U0.2
      G13.1G18G97G99G113
      M89M94M96M124
      G0X#814+1.0Z-1.0

      I would like to highlight pieces such as G13.1 or G0 or M89 or G99 etc. individually with different colours. How should I add these in the styler boxes?

      Kind regards

      George

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @George Bizas
        last edited by

        @George-Bizas

        one way would be to set it like prefixed keywords.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors