Bug 25356 - [Cell Editors] Support for multiline text cell editor
Summary: [Cell Editors] Support for multiline text cell editor
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on: 30871
Blocks:
  Show dependency tree
 
Reported: 2002-10-24 17:20 EDT by Lynne Kues CLA
Modified: 2019-09-06 16:12 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lynne Kues CLA 2002-10-24 17:20:58 EDT
Couldn't find an existing request for this feature.  

This capability has been asked about a few times on the newsgroup.  Search 
newsgroup for TextAreaCellEditor.  It seems like it would not be too difficult 
to support this.
Comment 1 Andrew Irvine CLA 2002-10-25 10:25:51 EDT
TextCellEditor was enhanced to accept style bits.

*** This bug has been marked as a duplicate of 12329 ***
Comment 2 Lynne Kues CLA 2002-10-28 15:00:39 EST
Reopening since there are some issues with the support.

1. Multiline cell editor should be sized to display at least two lines of text.
2. Display of multiple line data in the table is non-optimal.  Currently 
multiple lines of text are concatenated together as one line.  This is 
confusing, because you think that your multiline changes weren't picked up 
correctly.  Perhaps some kind of "more" indicator could be used (like the "..." 
that is used when a label doesn't fit).  Maybe a down arrow to indicate more 
lines.  Even just getting rid of the concatenation (with no "more lines" 
indication) would be better in my opinion. 
Comment 3 Lynne Kues CLA 2002-10-28 15:35:45 EST
Looks like changing the size of the cell editor to display multiple lines would 
also require SWT changes.  Currently the TableEditor, TableTreeEditor, 
TreeEditor do not appear to honor a minimumHeight - though it looks like the 
code is setup to do this - so the change should not be major from their 
standpoint.
Comment 4 Kevin Haaland CLA 2003-02-07 16:55:45 EST
defer
Comment 5 Bob Foster CLA 2003-04-09 00:08:11 EDT
1. There should be a way to set the minimum number of lines displayed for a
multi-line value. If less than the entire value is displayed, it should scroll.
2. One of the settings should display all lines.
3. Different rows may have different heights.
4. There should be a way to disable wrap in a multi-line value.
5. There should be a way to enable Enter in a multi-line value.
Comment 6 Rodolfo M. Raya CLA 2003-06-19 12:03:12 EDT
This should be implemented for all platforms, not only Windows 2000
Comment 7 Eddie Galvez CLA 2005-01-27 12:55:20 EST
Is this moving along?
Comment 8 Eddie Galvez CLA 2005-07-06 09:23:59 EDT
*bump* ? :-) Our product is in dire need of this -- our tables tend to have long
entries, and our users are really wanting to see all of their data when viewing
the table. We've currently hacked up a multi-line cell editor while they are
entering data, but after that, they dont get to see it all.
Comment 9 Douglas Pollock CLA 2005-07-06 09:58:08 EDT
This bug was sitting in the graveyard.  I only noticed it recently.  Is there
something we can do here?
Comment 10 Eric Moffatt CLA 2005-08-15 13:04:02 EDT
In the short term we might be able to provide a multi-line tooltip...would that 
be sufficient?
Comment 11 Jason Kealey CLA 2005-08-15 13:26:40 EDT
Although it might be interesting, it would not be sufficient for our plugin's 
needs. We'd like to use this cell editor in our properties view (although I 
have not investigated to see if the property descriptors must all share a 
common height, which would be problematic). 
Comment 12 Eddie Galvez CLA 2005-08-15 13:32:23 EDT
It would be helpful, of course -- anything to let the user see what they typed
in without having to enter "edit mode"; but of course, I am really hoping to see
some day soon a supported mechanism for multi-lined tables, both for viewing and
editing.
Comment 13 Travis Breaux CLA 2006-08-13 09:45:42 EDT
The style bits are part of the interface, but SWT.MULTI and SWT.WRAP do not appear to have any affect on the TextCellEditor's behavior. Tool-tip shows the whole text in a single line, but it would be preferrable to have a multi-line text item appearing in the tree.
Comment 14 Eclipse Webmaster CLA 2019-09-06 16:12:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.