|
Re: Creating new paragraphs while editing in the GEF sample text editor [message #189835 is a reply to message #189822] |
Fri, 29 July 2005 18:21 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
It is a simplification that only works in certain cases. If you are editing
an import statement, then ENTER causes it to be split into two "paragraphs".
It also works in the code section of our example.
For some reason the "javadoc" area is doing something dumb that doesn't
cause a newline.
"Joshua Knauer" <joshua.knauer@businessobjects.com> wrote in message
news:dcdp15$dsf$1@news.eclipse.org...
> Hi,
>
> In the GEF Sample text editor, the command that handles the user pressing
> "Enter" uses a SubdivideElement to create two new text runs. Is that the
> correct behaviour? Pressing the enter key should create a new paragraph
> should it not? Should the command also create a new container for the
> second run after the split? I'm just wondering if this is an oversite in
> the sample or if the behaviour was intentional and am I'm missing
> something
> here ...
>
> Thanks,
>
> Josh
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03531 seconds