Syntax highlighting in BUEditor ?

djs_core - August 28, 2009 - 15:43
Project:BUEditor
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Hi.
Is possible used in BUEditor for better clarity syntax highlighting? If yes, how?
Thanks.

#1

ufku - September 1, 2009 - 19:05
Status:active» won't fix

Unfortunately, not possible.

#3

djs_core - September 2, 2009 - 10:15
Status:won't fix» active

Ok. Thanks for the info ;) I have one more question:
Is there any way to add a texarea parameter -> wrap = "off" (to turn off the automatic line break) ?

#4

ufku - September 2, 2009 - 10:20

you may try white-space property of CSS
#TEXTAREA-ID {
white-space: nowrap;
}

#5

djs_core - September 2, 2009 - 10:53

So it does not work :( (see attachment)

AttachmentSize
screen.png 64.03 KB

#6

ufku - September 2, 2009 - 11:24

then try overflow: scroll;

#7

djs_core - September 2, 2009 - 12:14

Nothing :(

AttachmentSize
screen2.png 65.93 KB

#8

ufku - September 2, 2009 - 13:32

sorry, can't help.

#9

djs_core - September 25, 2009 - 11:58
Version:6.x-1.3» 6.x-1.x-dev

I found this syntax highlighter: http://marijn.haverbeke.nl/codemirror/
Here is XML/HTML example: http://marijn.haverbeke.nl/codemirror/htmltest.html

Would be possible to implement this syntax highlighter into BuEditor ?

#10

ufku - November 20, 2009 - 16:51
Status:active» won't fix

Those are nice syntax highlighters but integrating them into BUE requires a rewrite of all editor methods. It might be done by implementing a integration layer. The result could look nice but be slower for no doubt.

 
 

Drupal is a registered trademark of Dries Buytaert.