Community

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

    'fi' should be bold and blue in SH files

    General Discussion
    2
    4
    1029
    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.
    • peterhammer
      peterhammer last edited by

      Hi there!

      Been using NP++ for a while now, and i’ve seen that the ‘fi’ statement closing an ‘if-then’ block is not bold and blue, as the ‘if’ or ‘then’ are in any SH file.

      Maybe you guys could add that to the standard version of NP++.

      Anyhow, this is by far the most useful tool for a programmer.

      Thanks in advance.

      Best,
      Federico.

      peterhammer 1 Reply Last reply Reply Quote 0
      • peterhammer
        peterhammer @peterhammer last edited by

        @peterhammer
        EDIT: This happens with any special word, when left alone in the last line it does not get recognized.

        So this is not a problem with ‘fi’. The problem is a single special word in the last line. It does not get bolded and blued.

        Sorry I could not edit the post, realized this past the three minute window.

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

          @peterhammer

          this is normal behavior as a lexer needs to have some indicator like space or
          end of line chars to trigger the action.

          Cheers
          Claudia

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

            @Claudia-Frank

            sorry, needs to be modified to

            this is normal behavior as the lexer needs …

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors