Tk Text Widget Cursor Position

2002-12-05 Thread Conrad, Bill \(ThomasTech\)
Hi All Is there a way to find the current cursor line and column position in a Tk text widget? Thanks Bill Conrad Senior Complex Information Analyst Thomas Technology Solutions, Inc. One Progress Drive Horsham, PA 19044-8014 Phone: (215) 682-5324 Fax:(215) 682-5378 Email: [EMAIL

RE: regex question

2002-12-05 Thread Dmitry Kostyuk
-- Jason wrote : -- I'd be interested to see if you could generalise it across more than just the body tag - maybe storing tags in anonymous arrays in a hash that uses the tag name as the key - something like that. -- Yes, that's what I have in mind. The code is probably

RE: Tk Text Widget Cursor Position

2002-12-05 Thread brianr
Conrad, Bill \(ThomasTech\) writes: Hi All Is there a way to find the current cursor line and column position in a Tk text widget? It doesn't seem to be documented, AFAICS, but $widget-index('current') seems to work. HTH -- Brian Raven You have to admit that it's difficult to

Re: redirecting STDERR and STDOUT

2002-12-05 Thread Dave Crawford
Add: select(STDERR); $| = 1; select(STDOUT); $| = 1; -Dave - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 10:40 AM Subject: redirecting STDERR and STDOUT Hi, I have the following in a program: open (STDERR,

RE: regex question

2002-12-05 Thread Jenda Krynicky
From: Dmitry Kostyuk [EMAIL PROTECTED] Anyway, here goes the new version: --- #!/usr/bin/perl #bodytag_v2.2.pl #regex that matches the body tag ... A few breakages ... body onLoad=foo='bar body onLoad= code = 'if (x d) {alert( 'Don\'t do that')