So far I got the TextMate schemes parsed and the converting process done.
But I have a problem with trying to decode what the various WeBuilder scheme keywords are used for, so I can do a TextMate to WeBuilder mapping.
Example:
PHP.tnone
PHP.tstring
PHP.tcomment
PHP.tident
PHP.tresword
PHP.tsymbol
What "tag/command" in a PHP file do the various keywords refer to?
Supposed you got this line:
- Code: Select all
function Vegetable($edible, $color="green") {}
What matches "function" and what matches "Vegetable", "$edible", "green" etc.
It would be much easier if the Color section of Preferences, displayed a "preview" similar to this:
http://tmtheme-editor.herokuapp.com/#!/editor/theme/Pumpkin
(You can change the preview to different coding languages.)