Bug 108875 - Editing note text in full removes first inputed character
Summary: Editing note text in full removes first inputed character
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Tom Macdougall CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-09-06 17:11 EDT by Tom Macdougall CLA
Modified: 2010-07-19 12:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Macdougall CLA 2005-09-06 17:11:46 EDT
Steps to reproduce:

1) Create a simple project
2) Add an example logic diagram to the project
3) Add a note to the diagram with text "Note"
4) Select text in full 
5) Type "NewNote"

The resulting text is incorrectly displayed as "ewNote"
Comment 1 Tom Macdougall CLA 2005-10-04 16:04:19 EDT
The setEditText method is called when performing a direct edit on a 
compartment whose manager is a TextDirectEditManager. When overwriting the 
whole string, the first character is capture and placed in the text control. 
The setEditText method has been modified to place the cursor at the end of the 
string instead of selecting the full string. When the user now enters 
subsequent text, the first character is no longer overwritten.
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:17:42 EDT
[GMF Restructure] Bug 319140 : product GMF and component
UI was the original product and component for this bug