[Mono-bugs] [Bug 511275] New: Actual cursor position in RichTextBox not available in KeyPress event
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 9 09:59:58 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=511275
Summary: Actual cursor position in RichTextBox not available in
KeyPress event
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andreas.flucke at t-online.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
After a key was pressed and "KeyDown" is passed, the new cursor position
should be available in the "KeyPress" Event. It is now only available in the
"KeyUp" Event
Reproducible: Always
Steps to Reproduce:
1.compile and run attached test.cs
2.Press "Enter", see line number in caption
3.
Actual Results:
Actual line number sticks to old line
Expected Results:
Line number should be available in KeyPress Event (Windows)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list