Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Question about IAutoEditStrategy
Question about IAutoEditStrategy [message #332871] Tue, 11 November 2008 19:15
Barney Kwok is currently offline Barney KwokFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,

I implement IAutoEditStrategy in a text editor. Eclipse 3.4 calls my
customizeDocumentCommand method whenever I type in a new line. However,
this method is not called if I modify existing line. The IAutoEditStrategy
object is created in TextSourceViewerConfiguration.
I have tried to add ITextListener in the source viewer. However it is not
allowed to modify the document (i.e. calling replace method) in
ITextListener object.
Any suggestion how to invoke auto edit when modifing existing text?

Many thanks in advance.

Barney Kwok
Previous Topic:How to find dependencies of plug-in?
Next Topic:[DataBinding] Problem with clearing the text in a Combo
Goto Forum:
  


Current Time: Sat Apr 27 02:53:50 GMT 2024

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

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

Back to the top