Thread:Pecoes/@comment-3562424-20120509034714/@comment-3508190-20120509040159

I kinda dropped out of FR as well. Last week I had to find out that none of my ideas for the Shadow object actually worked as expected. It turns out my previous tests have been on too small a scale. When I tested with several hundred lines of Lorem Ipsum, the text in the textarea and the text in the shadow object got out of synch. Not in Chrome, mind you. Or in Safari. Or in Opera. Or in Firefox. But in Internet Explorer. You would think that text with the exact same font-family, font-size, line-height, letter-spacing and word-spacing would look the same. But nooooo. So I took a few a days of to grieve and finally scrapped the shadow concept. I have to do it the hard way now. Instead of putting a shadow behind the textarea, I have to put an overlay in front of it. And thereby I opened a whole new can of worms. Manipulating text in a contenteditable div is by several orders of magnitude more complicated than manipulating text in a textarea. I've spent at least six hours on Sunday trying to understand the documentation for Rangy and then gave up in disgust. I'll make another attempt later this week, but right now I need a break. So that's where I'm at right now.

That video tip naturally flowed from a discussion I had with Mathmagician. That discussion is not exclusive in any way. Feel free to chime in at any time! Rappy already did.