EmEditor (text editor) Forum Index EmEditor Core Bug Reports
Comment marker starts comment even from inside string | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Flint | Posted on: 6/4/2008 1:46 am |
Home away from home ![]() ![]() Joined: 10/9/2006 From: Moscow Posts: 155 |
Comment marker starts comment even from inside string Here is the Perl code:
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: If I remove the sign "#" (a line comment character in Perl) from the string, the highlighting returns to normal: EmEditor 7.00.9 Pro, WinXP SP3. |
| Yutaka | Posted on: 6/9/2008 2:23 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Comment marker starts comment even from inside string Quote:
This is strange. I cannot reproduce your problem. Can you try resettings all configurations or Perl configuration?
|
| Flint | Posted on: 6/10/2008 12:55 am |
Home away from home ![]() ![]() Joined: 10/9/2006 From: Moscow Posts: 155 |
Re: Comment marker starts comment even from inside string Yes, 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. |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




