Community
    • Login

    'fi' should be bold and blue in SH files

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 1.3k 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.
    • peterhammerP
      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.

      peterhammerP 1 Reply Last reply Reply Quote 0
      • peterhammerP
        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 FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          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 FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            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
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors