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

Tobias Liebig tobias at work.de
Fri Nov 16 09:53:12 CET 2007


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?


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


 > 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




More information about the TYPO3-dev mailing list