'fi' should be bold and blue in SH files
-
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
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.
-
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 -
sorry, needs to be modified to
this is normal behavior as the lexer needs …
Cheers
Claudia
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