|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re3: $_ is null in Tk:Scrolled search?by bbfu (Curate) |
| on Dec 08, 2003 at 23:24 UTC ( #313302=note: print w/ replies, xml ) | Need Help?? |
|
I fixed the comment problem. The whole thing is still a little inefficient, I think. If you type at the end of a line with a comment on it, you can see the character appear in black, then change to gray. *shrug* If you are writing a syntax highlighter, as it appears, keep in mind that it's more difficult than it first appears. You have to keep in mind the possibility of comments and keywords appearing within strings, among many other subtleties. See On Parsing Perl, and my Syntax::Highlight::Perl for some more info. bbfu
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||