• Login
Community
  • Login

change "this" color

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 3 Posters 1.5k 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.
  • G
    Giliann Sauret
    last edited by May 17, 2018, 12:49 PM

    Hi!

    I want to change color of keywords in Language->Define your language->…
    I changed keywords like “true” or “false” which are alone or between spaces but for keyword like “this” which is follow by “.” and something as in “this.departureTime” i failed to change only “this” color.

    There is a function or a special keyword in Npp? Does it have a list of these function/special keywords?

    thanks

    1 Reply Last reply Reply Quote 1
    • J
      Jim Dailey
      last edited by May 17, 2018, 3:17 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • J
        Jim Dailey
        last edited by May 17, 2018, 3:28 PM

        @Giliann-Sauret

        Your best bet may be to define “.” as an operator on the Operators & Delimiters tab in the Operators 1 box and set the Styler for the period (and any other operators you may define) as desired.

        1 Reply Last reply Reply Quote 1
        • G
          Giliann Sauret
          last edited by May 23, 2018, 11:46 AM

          Thanks Jim Dailey but it change only the point color. I wish that point has the same comportment than a prefix but whith the two next words.

          C 1 Reply Last reply May 23, 2018, 12:21 PM Reply Quote 0
          • C
            Claudia Frank @Giliann Sauret
            last edited by May 23, 2018, 12:21 PM

            @Giliann-Sauret

            seems to work for me, or did I misunderstand something?

            Cheers
            Claudia

            G 1 Reply Last reply May 23, 2018, 2:55 PM Reply Quote 1
            • G
              Giliann Sauret @Claudia Frank
              last edited by May 23, 2018, 2:55 PM

              @Claudia-Frank
              Thanks
              it matches perrfectly with i want to do. Do you know other commands like “((EOL))”?

              C 1 Reply Last reply May 23, 2018, 3:02 PM Reply Quote 0
              • C
                Claudia Frank @Giliann Sauret
                last edited by Claudia Frank May 23, 2018, 3:02 PM May 23, 2018, 3:02 PM

                @Giliann-Sauret

                no, ((EOL)) is the only special variable you could use together with UDL.

                Cheers
                Claudia

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