Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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??


in reply to Re: Re: $_ is null in Tk:Scrolled search?
in thread $_ is null in Tk:Scrolled search?

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
Black flowers blossom
Fearless on my breath


Comment on Re3: $_ is null in Tk:Scrolled search?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2014-10-30 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls