Questions about my TextEditor [message #325910] |
Mon, 03 March 2008 01:57  |
Eclipse User |
|
|
|
Hi,
I want to know how to implement the feature:
when you type '{', and the '}' will be inserted automatically. and there
is an small box on the '}', if you type '}' or ENTER, there is no new
'}' or "\r\n" inserted.
I've looked up the AutoEditStrategy, but found nothing.
--
*/Dollyn/*
|
|
|
Re: Questions about my TextEditor [message #325911 is a reply to message #325910] |
Mon, 03 March 2008 02:29  |
Eclipse User |
|
|
|
And, by the way, How to add the "Boxes" just like in the java editor you
call a method with more than one parameter, and can select the next box
when press the Tab key?
Thanks.
Dollyn wrote:
> Hi,
>
> I want to know how to implement the feature:
>
> when you type '{', and the '}' will be inserted automatically. and there
> is an small box on the '}', if you type '}' or ENTER, there is no new
> '}' or "\r\n" inserted.
>
> I've looked up the AutoEditStrategy, but found nothing.
>
--
*/Dollyn/*
|
|
|
Powered by
FUDForum. Page generated in 0.02760 seconds