Community
    • Login

    'fi' should be bold and blue in SH files

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

            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