|
|
|
I also can't reproduce this in a more complex test:
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/components/incubator/richtexteditarea-driver.lzx I suspect the wtformatbtn is at fault. I can indeed reproduce this behavior in http://localhost:8080/wafflecone/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx
The insertion point seems to move when the focus goes back to the text area by mouse movement.
Change sent to Max for review. Changeset is http://svn.openlaszlo.org/openlaszlo/patches/20070808-ben-z.tar
Change checked in to wafflecone with r5985.
(wafflecone branch local build r5986)
Ben - I'm still seeing the problem in the interactive test listed in the bug. Can't reproduce -- please provide more information.
(wafflecone branch local build r6030)
Test: http://127.0.0.1:8080/wafflecone/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx?debug=true&lzr=swf8 Steps: Go to bottom of text Enter reuturn to go to new line Type "This is a test" Click "B" for bold Type "This is a test" Click "B" for bold Cursor jumps to the middle of the line This *is* present in my current local build, which is around r6010.
This *is* present in r5847!
To reproduce this, you have to click in the text editor before you start typing. That first click is where the cursor jumps back to. It is a little bit fiddly to reproduce, though. In legals r3345, the rich text editor has tons of errors and warnings in the debugger; it can't really be tested for this behavior.
Ooooh, this is present in trunk at r5996. Discovered in this test file:
http://localhost:8080/trunk/lps/components/incubator/rich-text/test/richtexteditor-test.lzx Fixed *better* in r6041 in wafflecone. Really!
(Used the patch from dstowell/diamond changeset 51051.) (wafflecone branch local build r6185)
Test files run successfully. Cursor stays at end of text when changing style. (wafflecone branch local build r6185)
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/components/incubator/richtexteditarea-driver.lzx works for testing this problem but has many other broken bits. Will create new bugs for other issues. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/test/components/incubator/richtexteditor-driver.lzx