While I was originally planning my jQuery for VFP developer session for South West Fox, I had planning on showing all of the demos hosted inside of a browser hosted in a VFP form (which I did). I also planned on having a link available on each page which would slide out color-coded samples of the code actually running in the page. As part of that, I created a syntax highlighter brush for VFP to work with Alex Gorbatchev’s SynaxHighlighter (since none seemed to be available) – it’s a Javascript based syntax highlighter that lets you embed code samples in things like blog pages and it will color-code the syntax. I ended up deciding that it didn’t really work too well in the context of a session, so I scrapped that portion of my demos.
You can download it from here
Alex’s site includes more information about use – just make sure you reference the new brush from within your webpage:
<script type="text/javascript" src="/scripts/shBrushVFP.js"></script>
Links
http://alexgorbatchev.com/SyntaxHighlighter/ http://www.rcs-solutions.com/Download.ashx?File=shBrushVFP.js
Remember Me
a@href@title, b, i, strike