|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Novice help: Syntax coloring
I`m making a PHP editor in PHP everything works all fine i would just like to add syntax color so its easier on the eyes. I could do this but i`m sure there is a much easier way then what i`m thinking of. Any Ideas?
~Ray |
|
#2
|
|||
|
|||
|
RE: Novice help: Syntax coloring
You want to do syntax highlighting in a textarea while the person is typing it in? All I can say is some extensive javascript there.....
|
|
#3
|
|||
|
|||
|
RE: Novice help: Syntax coloring
Yeah good call. How about syntax such as the code command in this forum? how would i go about doing that? Does anyone have a javascript that will syntax color in real time i could use?
|
|
#4
|
|||
|
|||
|
RE: Novice help: Syntax coloring
The code in this forum is highlighted using the php function highlight_string()
|
|
#5
|
|||
|
|||
|
RE: Novice help: Syntax coloring
That is a useful cmd.
|
|
#6
|
|||
|
|||
|
RE: Novice help: Syntax coloring
Thank you very much i wasnt aware of that command. Actually that fixed a problem i was having with the way i was doing it. Does any one know where i could find a javascript that will update in realtime the PHP syntax coloring of a text area? heh
|
|
#7
|
|||
|
|||
|
RE: Novice help: Syntax coloring
You even can control the colors...
See the manual for further information. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Novice help: Syntax coloring |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|