Bug 161628

Summary: [NoteTextLabel] Multi Line Text is not working properly
Product: [Modeling] GMF-Runtime Reporter: Anthony Hunter <ahunter.eclipse>
Component: GeneralAssignee: Cherie Revells <crevells>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akarjakina, dom-scheurer
Version: 1.0.1Keywords: usability
Target Milestone: 2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Anthony Hunter CLA 2006-10-19 15:06:00 EDT
Create a note.

Start typing and at the end of a sentance hit <ctrl>+<enter>.
This is supposed to put a new line in the text and the cursor should jump to the second line.

What actually happens is that your first line of text disappears and your cursor is at position zero of what looks like a new text field. When you type the next character, the first line appears again.
Comment 1 Anthony Hunter CLA 2006-11-06 14:21:14 EST
*** Bug 161369 has been marked as a duplicate of this bug. ***
Comment 2 Syed Atif CLA 2006-12-15 16:58:11 EST
Is this bug a duplicate of Bug 160380 (see attached screenshot for that bug).
Comment 3 Anthony Hunter CLA 2007-06-19 11:13:47 EDT
Moving to the next release, GMF 2.1.
Comment 4 Cherie Revells CLA 2007-11-01 14:41:24 EDT
Fixed with the new WrappingLabel and TextDirectEditManager fixes.  
See Bugzilla 162932 -- https://bugs.eclipse.org/bugs/show_bug.cgi?id=162932
Comment 5 Richard Gronback CLA 2008-08-13 13:08:17 EDT
[target cleanup] 2.1 M3 was the original target milestone for this bug
Comment 6 Eclipse Webmaster CLA 2010-07-19 21:59:39 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug
Comment 7 Dominic S. CLA 2011-09-28 08:45:54 EDT
I'm running Helios - and the Bug is not fixed! The same weird behaviour is occuring again.

Code:

setManager(new TextDirectEditManager(this, WrapTextCellEditor.class, MyEditPartFactory.getTextCellEditorLocator(this)));

First line is disappearing at the beginning...