Community
Participate
Working Groups
Build Identifier: swt-3.7M5-cocoa-macosx-x86_64 The text field of a VerifyEvent received by a Text's VerifyListener contains the text about to be inserted. Changing this field is supposed to alter the inserted text. Instead nothing is inserted, or the changed text is inserted while following parts of the Text's contents are deleted. Reproducible: Always Steps to Reproduce: 1. Run attached code. Single typed characters should be converted to "X". 2. Observe that typing in the top paragraph substitutes X but deletes following paragraphs. 3. Observe that typing in later paragraphs inserts nothing.
Created attachment 190456 [details] Demo of bug.
Created attachment 190518 [details] patch We are not computing the length of the selected range correctly. The patch gets the selected range directly from the NSTextView and uses it. Silenio, please review the patch.
Patch is good to release.
Thanks Silenio! Fixed in HEAD > 20110308.