Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Questions about my TextEditor
Questions about my TextEditor [message #325910] Mon, 03 March 2008 06:57 Go to next message
Dollyn Sun is currently offline Dollyn SunFriend
Messages: 68
Registered: July 2009
Location: China
Member

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
Dollyn Sun is currently offline Dollyn SunFriend
Messages: 68
Registered: July 2009
Location: China
Member

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
Previous Topic:ToolItems Width
Next Topic:From fully-qualified OS pathname to IResource
Goto Forum:
  


Current Time: Thu Jun 27 20:01:03 GMT 2024

Powered by FUDForum. Page generated in 0.02555 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top