What steps will reproduce the problem?
1. Type stuff into update text block.
2. Press enter (reported as return by WPF Keys enum)
3.
What is the expected output? What do you see instead?
I think the enter should be ignored or there should be an option to ignore
it, or even possibly a new line should be entered. But with the length
limitations ignore is best.
I'm afraid I am from before word wrap, so I often will update in error when
wanting to move to the next line.
Observed Output: incomplete tweet is submitted.
What version of the product are you using? On what operating system?
2.029755 Debug from subversion.
Windows XP 32 bit sp2 and Vista 32 no sp 1.
Please provide any additional information below.
From my test enter can be brute force ignored in the
"TweetTextBox_PreviewKeyDown" procedure, by adding
else if(Keyboard.Modifiers==ModifierKeys.None && Key.Return == e.Key)
{
e.Handled = true;
}
Just before (about 10 lines in)
if (!isInAutocompleteMode) return;
If you want a better patch I'd be happy to provide one. (please point me to
patch generation process)
Thanks.
Al
Original issue reported on code.google.com by AlanSchr...@gmail.com on 1 Feb 2009 at 6:12
Original issue reported on code.google.com by
AlanSchr...@gmail.com
on 1 Feb 2009 at 6:12