Community
    • Login

    howto assingn color for "Strings"/'Strings' and NUMBERS in plain txt file

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 2 Posters 2.7k 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.
    • TelealexT
      Telealex
      last edited by

      help me please assign color for “Strings” and NUMBERS in plain txt file
      thanks

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Telealex
        last edited by

        @Telealex

        you need to define an user defined language as described here.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • TelealexT
          Telealex
          last edited by

          ok, thanks. I found this possibility

          here is one more question:
          how to assign this new style for all new/opened txt files?

          1 Reply Last reply Reply Quote 0
          • TelealexT
            Telealex
            last edited by

            question 3 - about “STRINGS”

            I’ve added in TAB “OPERATORS & DELIMITER” at 1st delim style
            OPEN ’
            CLOSE ’

            and want to add in ESCAPE field ENDLINE symbol but don’t know how todo this (I’ve selected & copied in text editor this new line (CR LF) and pasted to this field, but it doesn’t work ;( )

            help me, help me, pleeeease.
            thanks)))

            1 Reply Last reply Reply Quote 0
            • TelealexT
              Telealex
              last edited by

              I can’t edit message. here is some comment

              p.s. \r\n OR \n not worked too

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC
                Claudia Frank @Telealex
                last edited by Claudia Frank

                @Telealex

                how to assign this new style for all new/opened txt files?

                currently npp doesn’t support a udl to be the default language so you need to tweak it
                like stated here.
                If it is only about already created files you can of course assign an file extension to the
                udl, see udl dialog Ext field.

                q3: is it really needed? I thought multiline is the default behavior. If you still need
                to define eol, here is described how.

                Cheers
                Claudia

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