Bug 161628 - [NoteTextLabel] Multi Line Text is not working properly
Summary: [NoteTextLabel] Multi Line Text is not working properly
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
: 161369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-19 15:06 EDT by Anthony Hunter CLA
Modified: 2011-09-28 08:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...