• Login
Community
  • Login

Highlight specific part within a word/text

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 163 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.
  • T
    thomyka
    last edited by May 21, 2021, 12:20 AM

    Hi all!
    Help me, I cannot find the solution for the following problem:
    I want to highlight the word “step” at any part of a document opened in notepad++. At the moment I use Operators setting within own language, opening tag is “ste” and closing is “p”. It nearly works, but of course anywhere where the word “system” is present, everything is highlightes after “sy” until a “p” character comes.
    How the heck can I set to cancel the highlight, if not a “p” character comes directly after “ste”? I tried the escape (actually “escaping” from the highlight), but it seems it does something totally other.

    Thanks forward for the helping answers!
    Th

    P 1 Reply Last reply May 21, 2021, 12:29 AM Reply Quote 0
    • P
      PeterJones @thomyka
      last edited by May 21, 2021, 12:29 AM

      @thomyka ,

      In a UDL, you should be able to make step a keyword, rather than trying to split it into some strange set of operators or delimiter pair.

      But maybe I haven’t understood what you want correctly.

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