Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4894

    CaptainFlint
    Participant

    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.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone