Questions about my TextEditor [message #325910] |
Mon, 03 March 2008 06:57 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
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/*
Dollyn
|
|
|
Re: Questions about my TextEditor [message #325911 is a reply to message #325910] |
Mon, 03 March 2008 07:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
|
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/*
Dollyn
|
|
|
Powered by
FUDForum. Page generated in 0.03661 seconds