Community
    • Login

    Special characters in Notepad++

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 2 Posters 5.7k 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.
    • Murray SobolM Offline
      Murray Sobol
      last edited by

      I have a table defined as:
      CREATE TABLE a1_error_handler
      (
      error_code char(9) not null,
      language_code varchar2(10) DEFAULT ‘EN’ not null,
      title_nbr number(5) not null,
      description varchar2(500) not null,
      CONSTRAINT pk_a1_error_handler PRIMARY KEY (error_code, language_code)
      using index
      tablespace smartsoft_index
      )
      tablespace smartsoft_data
      /

      It contains data as follows:
      ‘400MX0146’,‘EN’,17,‘A file name can’‘t contain any of the following characters: \ / : * ? " < > |’
      Notice the special characters: \ / : * ? " < > |
      How do I define them in Notepad++ (or add to them)??

      Thanks
      Murray

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Murray Sobol
        last edited by

        Hello @Murray-Sobol,

        what do you mean by

        How do I define them in Notepad++ (or add to them)??

        ??
        In regards to coloring in SQL?
        Or do you have problems adding datasets containing such chars to the table?
        Then it isn’t a npp question rather than a SQL or database question.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Murray SobolM Offline
          Murray Sobol
          last edited by

          In regards to coloring them…
          If I add a few more special characters I would like to see them also colored.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Murray Sobol
            last edited by

            Hello @Murray-Sobol,

            well it depends, when using a UDL then you can easily add it to the already configured keyowrds/operators etc… by using the Language->Define your language and select the proper UDL.
            When using a builtin lexer than you can only add it as keywords by using
            Settings->Style Configurator->Select the lexer and fill in user defined keywords.

            1 Reply Last reply Reply Quote 0
            • Murray SobolM Offline
              Murray Sobol
              last edited by

              I used the Style Configurator to add keywords like MERGE etc for SQL
              Thanks 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