[TYPO3-dev] t3editor - editor with syntax highlighting for the backend

Steffen Kamper steffen at sk-typo3.de
Fri Nov 16 10:17:48 CET 2007


"Tobias Liebig" <tobias at work.de> schrieb im Newsbeitrag 
news:mailman.1.1195203329.10053.typo3-dev at lists.netfielders.de...
> Steffen Kamper schrieb:
>
> > I will post a lot of bugreports / possible options, please don't
> misunderstand them as critic, i really appreciate your work
>
> i will not misunderstand as long as it's constructive criticism.
> Criticism is part of the process to make it better. :-)
>
>
> > When inserting test snippet the linenumbers are missing.
> Thanks for that hint. Which browser/system do you use?
>
latest trunk on linux server, latest FF

>
> > How do you want organize a "lot" of snippets?
>
> The Testsnippet-thingy is currently just a kind of "proof".
> I don't plan to implement something like a snippet-database.
> It only should show: "It's possible to insert any kind of text at the 
> current cursor postion - For what ever we can use this later".
>
> I thought about something like an integrated "TypoScript object browser", 
> which inserts a code line at the current cursor position. But this is more 
> like a "long term goal" :-)
>
> Do you know the sysext "tsconfig_help / TypoScript Object Reference"? With 
> this you can browse through a "TSRef tree".
> What about integrating this in the editor?
> Then you can open up the TSRef-Browser, select an option/object and 
> transfer it back to the editor. Sounds smart for me..
>
> But: all this are just ideas yet and need to be implemented assumed we 
> decide this would be really useful.
> This could be a feature for a *later* release.
>
ok, just to collect the ideas, so it was interesting for me what you planned 
there.#

>
> > When highlight do you thought about syntax check? This has not to be
> on every key, but maybe a button to do.
>
> syntax check is a pretty hard task! What exactly are you thinking about?
>
> Simple highlighting is (basically) just finding words and wrapping it with 
> <span> tags.
> Syntax check is more about knowing the current context and then decide 
> which options are valid there. I think especially for TypoScript this is 
> very diffcult.
>
> There is a "Template Analyser" in the template modul. I will check what is 
> its job. Perhaps we can benefit from that. I guess it uses the 
> t3lib_TSparser you mention.
> And: i think this is not going to be implemented until a later release. 
> :-)
>
> regrads
>   Tobias
>
>
> --
> http://eTobi.de

i will have a look if the method there coud be used external. I only used it 
in general for highlight and syntax check. If i found a way i will tell you 
here.

vg  Steffen 






More information about the TYPO3-dev mailing list