Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    General Discussion
    2
    6
    2420
    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.
    • Telealex
      Telealex last edited by

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

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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
        • Telealex
          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
          • Telealex
            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
            • Telealex
              Telealex last edited by

              I can’t edit message. here is some comment

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

              Claudia Frank 1 Reply Last reply Reply Quote 0
              • Claudia Frank
                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
                Copyright © 2014 NodeBB Forums | Contributors