Hi there
If I click in a text editor that already contains some text, the cursor is set to the beginning of the text rather than the end. This is non-standard behaviour and doesn't make much sense anyway. Would be nice to see that fixed in an upcoming release...
Cheers,
Philipp
Hi Philipp,
Thanks for pointing this out, we appreciate all the info and suggestions you've provided. We've taken a note of it. The reason the cursor goes to the beginning is that when the editor looses focus, it exits the edit mode and the the textbox control used for editing is hidden. When the editor is clicked, the editor recieves focus and textbox control is reshown. However it's reshown after mouse click has already been processed and that's why the textbox doesn't respond to it and set the cursor at the click location. In any case, as a workaround you can set IsAlwaysInEditMode property to true to prevent this behavior.
Sandip
I noticed this is still the current behaviour. It seems a bit awkward to me.
I had several XamTextEditor textboxes using the same stylesheet also using the NullText properties I found the only workaround was putting the following code in the resource file.
<Trigger Property="IsMouseOver" Value="True" > <Setter Property="IsAlwaysInEditMode" Value="True" /> </Trigger>