Viewing 1 post (of 1 total)
- AuthorPosts
- October 31, 2007 at 3:52 pm #4894CaptainFlintParticipant
EmEditor always uses the # character in Perl syntax as a beginning of a comment, even when it should not be treated so, for example, when it’s inside a regular expression. For example, I have the following code:
if ($line =~ m/^#/) {
# $line contains a comment, do nothing
}In this case EE highlights the ‘#’ character and rest of line as comment. It would not be a large problem, but as you can see, the line includes an opening brace. It is ignored by EE, and other braces become mismatched (Ctrl+] jumps to wrong place).
PS: I’m using EE 7.0 beta 25, but as I remember, the same problem occured in 6.0 too.
- AuthorPosts
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.