Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beautify code in UT
Message
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
01609628
Message ID:
01609684
Views:
61
>Depends on what you use really...
>
>Easiest way to syntax highlight these days though is to use some JavaScript plug-in that does this for you. Just put the PRE text and then specify the language and the JS will do the formatting. Biggest problem there is that most don't support FoxPro so you have to customize.
>
>On Codepaste.net I use the Ace Editor JS component (which is an online editor but it also works for display only) and I created a FoxPro syntax module for it:
>
>http://codepaste.net/whm5yu
>
>There are a number of other HTML Syntax highlighters out there, but you have to create the FoxPro highlighting usually, which is not too hard - start with the VB sytnax and just customize with FoxPro's keywords and delimiters usually.
>
>+++ Rick ---
>

Very nice! We do use Ace Editor in our project. We may need to have FoxPro syntax highlighting.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform