- Added Zen Coding
- Added code formatting keybinding
- Fixed CM sometimes not initializing when creating new templates
- Fixed "save" keybinding not sending template data when in maximized mode
- Fixed caching issues; added version tags to js and css files
How does this template edit for the syntax highlighter fair on black/dark website layouts? Is it configurable?
Do you mean the color codes for syntax highlighting (background-color, color, or font-weight of special functions?). I think that those color codes can be edited in js/codemirror/I'm not asking you to support my custom made theme.
Let me be more specific.
Are the colors used for this mod configurable? Or, are the color codes used in the actual plugin available for manual hard-file editing? I don't mind editing the syntax to get the result I want, but if the colors are controlled from another website or resource, then I don't want to waste my time.
Thank you for your time.
- Will now work on TMS search & replace fields
- Added CodeMirror find & replace functionality, more information here
- Template Syntax will now use the url used in your browser rather than the one configured in XF, to avoid problems for users that have not properly configured their XF installation (thanks guiltar)
- Fixed maximize not occupying full screen when editing...
Thank you Naatan, I think you are one of the most supportive developers .
By the way, can you support more key bindings like Tab or Ctrl + Space or ... Can you make a tutorial about how to add more key bindings manually?
I'm not asking you to support my custom made theme.
Let me be more specific.
Are the colors used for this mod configurable? Or, are the color codes used in the actual plugin available for manual hard-file editing? I don't mind editing the syntax to get the result I want, but if the colors are controlled from another website or resource, then I don't want to waste my time.
Thank you for your time.
I'll be putting this through its paces later on tonight and report back. One little bug I did find was that when going from full screen to normal you lose the undo/redo buffer. I assume you do element cloning, this would cause it. I don't really like how you have done fullscreen either, I'll try think of a better way if there is one...
Latest version is showing some oddities for me. In larger template files, it doesn't appear to show:
And the overlay is pretty transparent:
(shows code in smaller files)
Not sure if this is just me or what.
Love the other changes with the update though.
The EXTRA.css file I tested has 2453 lines. It was able to display this file in previous versions.That's odd, it only happens with larger files? Any idea how many lines these files contain?
Thanks
The EXTRA.css file I tested has 2453 lines. It was able to display this file in previous versions.
It doesn't appear to just be large files though... it also won't show one that has 263 lines I've discovered. I can't seem to figure out why it shows some templates but not others, there's no correlation.
Okay after using it a bit I can tell you why I don't use it any longer.
My issues
I had planned something like this for a while and had a bookmark of a good syntax highlighter. I had researched them all, including the one you use and this one just seemed much better and more lightweight. It was on google code, that is all I can remember :/ I'll go searching for it now.
- Full screen was useful except for the fact that I can't use the tabs... which would have been okay if it wasn't for the undo buffer errors
- Undo buffer errors again could be very frustrating (just saying, I know you said you will fix it)
- I don't know how much things can be customized with it but I know that the auto complete was driving me insane, guessing I can just turn it off in a JS file?
Edit: this one... now that I look at it it might not be for what you/we want... might just be for things like [ code] blocks. http://code.google.com/p/google-code-prettify/
Edit2: http://softwaremaniacs.org/blog/2011/05/22/highlighters-comparison/en/
Just read that. And by the looks of this it isn't something you can use at all because it doesn't allow editing etc like you want. Good read regardless.
Could it be that it happens with templates without tabs but not for templates with tabs?
Doesn't appear to be the case. Doesn't work with just EXTRA.css but works with just account.css for example. Interesting thing about tabs though is template syntax just disappears if I switch tabs. When I first load the template the syntax highlighting is done, I change tabs and the new one has no highlighting, switch back to the original/main tab and it too no longer has highlighting.
Switch tab:
Switch back:
We use essential cookies to make this site work, and optional cookies to enhance your experience.