[Mono-bugs] [Bug 663260] New: NSTextViewDelegate.ShouldChangeTextInRange gives bad data in the replacementString arg

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 8 11:54:35 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=663260

https://bugzilla.novell.com/show_bug.cgi?id=663260#c0


           Summary: NSTextViewDelegate.ShouldChangeTextInRange gives bad
                    data in the replacementString arg
    Classification: Mono
           Product: MonoMac
           Version: GIT
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Bindings
        AssignedTo: gnorton at novell.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=407465)
 --> (http://bugzilla.novell.com/attachment.cgi?id=407465)
Project demoing bug

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

Docs say:

"replacementStrings
The array of strings that will replace the characters in affectedRanges, one
string for each range; nil if only text attributes are being changed."

But in MM, I keep getting the string "N\a" no matter what. Please see the
attached project.



Reproducible: Always

Steps to Reproduce:
1. Type in a NSTextView

Actual Results:  
"N"

Expected Results:  
the string I type

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list