Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Questions about my TextEditor
Questions about my TextEditor [message #325910] Mon, 03 March 2008 01:57 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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/*
Previous Topic:ToolItems Width
Next Topic:From fully-qualified OS pathname to IResource
Goto Forum:
  


Current Time: Sun Apr 27 02:43:07 EDT 2025

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

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

Back to the top