https://bugzilla.wikimedia.org/show_bug.cgi?id=30130

--- Comment #28 from Santhosh Thottingal <[email protected]> 
2011-09-09 14:31:25 UTC ---
(In reply to comment #24)
> I didn't apply your Narayam patch yet, and adding the selectionStart and
> selectionEnd params to jquery.textSelection (which is all I did in r96579)
> doesn't break anything in and of itself.

The patch tries to correct the selection by correcting startPos using the
passed selectionStart when it detects a problem. It does not break anything.
But it is insufficient to fix the bug. The patch works fine as long as we type
at the end of current word. But when we try to edit some letters inside a word,
it goes wrong. eg: type കചടതപ, try inserting പ്ര just after ച. expected is
കചപ്രടതപ , but what we get is കചപ്ടരതപ . This is what I meant by wrong caret
positioning in the comment 18. Sorry I did not explain it with example. So my
patch to the jquery.textSelection.js and ext.narayama.core.js is incomplete and
does not solve the problem completely. So please don't apply that patch.


> r96415 fixes it, but in a hacky and slow way. What is the caret position
> problem exactly?

For now we can go ahead with r96415, it is conditional for webkit browsers
alone and not good solution. But to solve that either I need to complete my
patch to jquery.textSelection.js(I can try that once I get some free time) or
webkit bug need to be fixed.

I hope it is clear now :).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to