Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Jeff McDowell and Joel Hill and Jonathan Rowny and Shawn Grigson and Jonathan Dowdle and Matt Vickers and Christian Ready and Asher Snyder and Clark Valberg and Oscar Arevalo and David Bainbridge and Josh Siok
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Jeff McDowell@jeff_s_mcdowell ) , Joel Hill@Jiggidyuo ) , Jonathan Rowny@jrowny ) , Shawn Grigson@shawngrig ) , Jonathan Dowdle@jdowdle ) , Matt Vickers@envex ) , Christian Ready@christianready ) , Asher Snyder@ashyboy ) , Clark Valberg@clarkvalberg ) , Oscar Arevalo@oarevalo ) , David Bainbridge ( @redwhitepine ) , and Josh Siok@siok )

Oh Crap! I Just Realized That Color Coding Killed My Code Download!

By Ben Nadel on

Ugggg! It seems like every time I make a step forward with my code snippet coloring, I take two steps back :( For those of you who have ever copied my code from the pop-up window, you might notice that it works by sending along the starting index of the code snippet (as an offset within the context of the blog entry). Well, once I started color coding my code samples, the "formatted" and the "non-formatted" code snippets no longer lined up (since they were different content)

Well, back to the drawing board. I guess not many people use this (as no one has alerted me to it). But if you do use it, you are gonna have to bear with me while I figure out what to do.



Looking For A New Job?

100% of job board revenue is donated to Kiva. Loans that change livesFind out more »

Reader Comments

You know what would be cool?
Generate your code as Flash text using a sIfr method.
Its regular text that gets replaced on the fly with Flash. You can choose any font because it becomes vector graphics.

See technique here:
http://www.mikeindustries.com/sifr/

As a CF guy, you gotta be experimenting with Apollo, Flex, Flash and how they they can be used to improve the user experience. Well, you don't gotta, but it would still be kickass.

@Glen,

I don't know... I feel like sIFR is good for titles and stuff that might be really designed out; but for content text, I feel like this should be very vanilla.

But, I agree that I should be experimenting with Apollo and that sort of stuff. Need to broaden those horizons.