[Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello, Almost every programmer sets his own code highlighting style and gets used to it to the point, that any other highlighting style makes it more difficult for him to read the code. Users of programming-related sites would be pleased to have a possibility to set their own personal code styles

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Iv schrieb: Hello, Almost every programmer sets his own code highlighting style and gets used to it to the point, that any other highlighting style makes it more difficult for him to read the code. Users of programming-related sites would be pleased to have a possibility to set their own person

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jason Boyd
I get a blank page. I have scripting turned off by default (using NoScript extension with Firefox). When turning scripting on, my first question is: how are the classes generated for actual code text on any old webpage? Does this apply to any block, or what? I guess in general, how is it impleme

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Iv schrieb: 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. uhh, you got me wrong i think. everybudy can get full project from his browser cach

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Jason Boyd schrieb: I get a blank page. I have scripting turned off by default (using NoScript extension with Firefox). When turning scripting on, my first question is: how are the classes generated for actual code text on any old webpage? Does this apply to any block, or what? I guess in gener

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jason Boyd
Hmm ok. I think what I'm getting at is that to really be useful, it ought to scan the document for elements, then parse the text of these nodes, applying styles (or adding classed tags or whatever) to the words based on a look-up of keywords, and syntax checking etc. This way, it truly could be

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jon Bradley
On Feb 7, 2007, at 2:17 PM, Jason Boyd wrote: I think what I'm getting at is that to really be useful, it ought to scan the document for elements, then parse the text of these nodes, applying styles (or adding classed tags or whatever) to the words based on a look-up of keywords, and synt

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Daniel Grace
Jon Bradley wrote: > > 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, >

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. -- I

Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jason, JB> how are the classes generated for actual code text on any old webpage? JB> Does this apply to any block, or what? I guess in general, JB> how is it implemented? - look at sourcecode of http://www.sharedfont.com/ei/ page. 1) empty named STYLE block needed 2) 2 links to JS files 3

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 s

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, Hello Jon, JB> Problem 1 is that the tool is re-writing the HTML content of the JB> page, which I don't particularly like. - one CSS only. I don't see any problem here. JB> It's a great thought, but Flash projects that take text input and JB> parse and display it with a user-customiza

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, In any case presence of field standard is much better than lack. Developers can use and support it in his projects if standard defined. -- Ivan Dembicki [EMAIL PROTECTED] |

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, JB> Problem 1 is that the tool is re-writing the HTML content of the JB> page, which I don't particularly like. - one CSS only. I don't see any problem here. JB> It's a great thought, but Flash projects that take text input and JB> parse and display it with a user-customizable color sp

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