Hox about syntax highlighting on the "manage templates"-page?
I use CodeMirror ( http://marijn.haverbeke.nl/codemirror/ ) to do this. You have to declare: "lineNumbers: false" in the "templates"-template . After this everything all work well - (except the function "Select Template Contents" ***SIGH*** - ctrl-A do the same ).
Viewing their demo in konqueror, it makes the textareas go empty so it's impossible to see or edit anything. editArea has a slightly different result with small portions of the text visible, but it's effectively useless in konqueror too.
I suppose I could still use it by browser-sniffing to only serve it to whitelisted compatible web browsers, while giving everyone else a plain textarea. I'll consider it, probably for 6.0.
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on syntax highlighting
Member
Usergroup: Member
Joined: Jul 08, 2009
Total Topics: 17
Total Comments: 31
Hox about syntax highlighting on the "manage templates"-page?
I use CodeMirror ( http://marijn.haverbeke.nl/codemirror/ ) to do this.
You have to declare: "lineNumbers: false" in the "templates"-template .
After this everything all work well -
(except the function "Select Template Contents" ***SIGH*** - ctrl-A do the same ).
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Viewing their demo in konqueror, it makes the textareas go empty so it's impossible to see or edit anything. editArea has a slightly different result with small portions of the text visible, but it's effectively useless in konqueror too.
I suppose I could still use it by browser-sniffing to only serve it to whitelisted compatible web browsers, while giving everyone else a plain textarea. I'll consider it, probably for 6.0.