Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Michael,

MS i wonder how much code can be highlighted without getting slow.
MS that is not meant to criticize your work, don't get me wrong.
- tons.
  only css changed on the fly. no more.

everybudy can get full project from his browser cache if needed.
no any server side scripts.


-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jason,

I think a fiels standard of code html-formatting is needed.
In this case is it possible to do many tools used one standard.
In another case no one parser can't work properly.

For create standard and make it popular big members must use and
support it. I think it's possible and very simple.

For example in our field Adobe declaration of AS code html-formatting
standard is enougth for start support this standard by big number
of developers.


JB I think what I'm getting at is that to really be useful, it ought to scan
JB the document for code elements, then parse the text of these nodes,
JB applying styles (or adding classed span tags or whatever) to the words
JB based on a look-up of keywords, and syntax checking etc. This way, it truly
JB could be used on any page that uses code to show code, and could be easily
JB extended to allow users to specify which language to use (AS, Java, etc).
JB Would make a nifty extension for Mozilla-based browsers, for instance. If
JB you don't have all the skills to put together these pieces, would be a good
JB project for SourceForge or something.

JB I think if you are relying on programmers to pretty-up their code listings
JB in HTML, you arent gonna see much use, and also if programmers wanted to go
JB to the trouble of doing this, would not be any real extra effort to write
JB the CSS.


-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Jon Bradley


On Feb 7, 2007, at 2:50 PM, Iv wrote:


For example in our field Adobe declaration of AS code html-formatting
standard is enougth for start support this standard by big number
of developers.


Problem 1 is that the tool is re-writing the HTML content of the  
page, which I don't particularly like. It's a great thought, but  
Flash projects that take text input and parse and display it with a  
user-customizable color space are already out there.


Problem 2) there are no standards. I don't like the Adobe  
highlighting standard. Friends of mine that are colorblind have their  
own issues to deal with when it comes to syntax highlighting.


- jon



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com