- AuthorPosts
- June 4, 2008 at 9:46 am #5872CaptainFlintParticipant
Here is the Perl code:
print "Hello #World!n" if ($something);
The “if ($something);” part is highlighted as comment, except for highlighting of the keyword “if” and special sign “$” takes precedence here. That is, highlighted line looks like following:
print "Hello #World!n" if ($something);
If I remove the sign “#” (a line comment character in Perl) from the string, the highlighting returns to normal:
print "Hello World!n" if ($something);
EmEditor 7.00.9 Pro, WinXP SP3.
June 9, 2008 at 10:23 pm #5887Yutaka EmuraKeymasterFlint wrote:
Here is the Perl code:print "Hello #World!n" if ($something);
The “if ($something);” part is highlighted as comment, except for highlighting of the keyword “if” and special sign “$” takes precedence here. That is, highlighted line looks like following:
print "Hello #World!n" if ($something);
If I remove the sign “#” (a line comment character in Perl) from the string, the highlighting returns to normal:
print "Hello World!n" if ($something);
EmEditor 7.00.9 Pro, WinXP SP3.
This is strange. I cannot reproduce your problem.
Can you try resettings all configurations or Perl configuration?June 10, 2008 at 8:55 am #5890CaptainFlintParticipantYes, resetting fixed this. Now I remembered that I played a bit with manual comment highlighting (because of this problem, still unsolved), and my highlight rule remained from those experiments. Strange, that I did not notice it before…
Sorry for the false alarm.
- AuthorPosts
- You must be logged in to reply to this topic.