Webmastersite.net
Register Log In

syntax highlighting

Comments on syntax highlighting

Daniel
Member

Usergroup: Member
Joined: Jul 08, 2009

Total Topics: 17
Total Comments: 31
Daniel
Posted Dec 27, 2009 - 4:00 PM:

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:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 29, 2009 - 4:58 AM:

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.
Search thread for
Download thread as
  • 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.