Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Completion in console view : ScriptConsoleCompletionProcessor versus ScriptCompletionProcessor
Completion in console view : ScriptConsoleCompletionProcessor versus ScriptCompletionProcessor [message #517935] Tue, 02 March 2010 10:01 Go to next message
David Largeteau is currently offline David Largeteau
Messages: 35
Registered: July 2009
Location: Bordeaux - France
Member
Hi,

I would like to use completion mechanism in my console view.

I already have completion in my editor part, and I would like to reuse
it in my console view but base classes are different :
ScriptCompletionProcessor for editor and
ScriptConsoleCompletionProcessor for console.

Is there a way to have a common behavior between console and editor
without written code twice (ie : how can I reuse editor completion in
console) ? Why are there two processor classes ?

Thanks in advance

David
Re: Completion in console view : ScriptConsoleCompletionProcessor versus ScriptCompletionProcessor [message #520088 is a reply to message #517935] Thu, 11 March 2010 01:42 Go to previous message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi David,

Good question.
It's hard to say for sure now after the code was written long ago.
Console supports only simple edit operations, so probably it was easier to implement it this way initially.
Definitely, console support needs some improvements, so your suggestions (and patches!) are welcome.

Regards,
Alex
Previous Topic:Tcl Editor: leftt sky-blu bar
Next Topic:running openCV on Java
Goto Forum:
  


Current Time: Tue Jul 22 21:49:38 EDT 2014

Powered by FUDForum. Page generated in 0.01748 seconds