| Summary: | DirectEditing with TYPE_MULTILINETEXT not correct | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Adrian Mouat <amouat> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | amouat, michael.wenz |
| Version: | 0.8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Adrian Mouat
That's the default way JFace and GEF/Draw2D handle that. You can use Shift+Return to reach a new line and introduce a line break (same behaviour as e.g. in Excel). What's the point of TYPE_MULTILINETEXT then? Why not just have TYPE_TEXT? Regardless of what other packages have done, I don't see how this is a good way to support multi-line editing. (In reply to comment #2) > What's the point of TYPE_MULTILINETEXT then? Why not just have TYPE_TEXT? The difference is that TYPE_TEXT does not support multi line input at all, while TYPE_MULTILINETEXT does. > Regardless of what other packages have done, I don't see how this is a good way > to support multi-line editing. If there is a way to overrule the underlying frameworks we can offer that option of course, but I don't see jow to do that. Thanks Michael; I see now that TYPE_TEXT doesn't support shift-enter. My problem is that I don't think it will be obvious to my users how they are supposed to enter multi-line text. At least I understand what is happening now. Regards, Adrian. |