Hi to all
I'm trying to make a simple collaborative editor using a textarea.
Everything works well when I'm on Firefox but IE makes me crazy (dejavù?)
with newlines.

Googling i've found that IE and Opera use "\r\n" while Firefox and Chrome
"\n"
so when I try to get the caret position (or a selection) to propagate the
changes in the textarea
I have different values depending on the browser.

Do you know of any solution?

I was thinking to edit the mootools selection operators to take into account
the different interpretation of newline (adding or subtracting 1char for
each newline)



--
-----------
Tafuni Vito
[email protected]
---------------------------------------------
"Verba volant, scripta manent... data corrupted"

Reply via email to