Re: on-the-fly syntax highlighter
| From: | Gabor Hojtsy | Date: | Mon, 13 Jan 2003 21:01:50 +0000 |
| Subject: | Re: on-the-fly syntax highlighter | ||
| References: | 1 2 3 4 5 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-605@lists.php.net to get a copy of this message | ||
> If we were to implement a feature like the colored vars, this would
probably
> be the way I would do it. However it would require a new function and
would
> still incur medium rendering time.
>
> I personally don't think the rendering time it would take to accomplish
the
> task of highlighting vars is worth it.
Well, OK. Let's see what other responses we get.
> I used regular expressions at one point to find a string of characters but
I
> found a faster way to do the same thing.
>
> Good idea, but JS does not provide any regular expression support with
text
> ranges.
Is JS regexp that slow really... Said.
Goba