[Mono-bugs] [Bug 457370] MaskedTextBox: mask is displayed insted of last digit
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Dec 11 06:42:38 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=457370
User calberto.cortez at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=457370#c4
Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Carlos Alberto Cortez <calberto.cortez at gmail.com> 2008-12-11 04:42:37 MST ---
This is fixed in rev 121285 (but had to use a different approach):
2008-12-11 Carlos Alberto Cortez <calberto.cortez at gmail.com>
* MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
length of the text, but the end position, so we need to substract 1 to
have a valid value. Also, in the same InputText method, don't use
SelectionLength as the length of the text, since the selected text
could actually be empty, but we need to set the value anyway.
Fixes #457370.
Your test patch was, however, commited, thanks!
--
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