Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Text Editor debugging(TextEditor debugging opens a separate editor)
Text Editor debugging [message #658410] Tue, 08 March 2011 07:10
Leelavathi  is currently offline Leelavathi
Messages: 4
Registered: April 2010
Junior Member
I have my MultipageEditor integrated with TextEditor. Both editors got debugging implemented. When I debug in graphical mode, the debugging is running on the same editor. But when I try to debug in text mode, the debugger opens a separate editor and runs.


public IEditorReference findReusableEditor(WorkbenchPage page) {
boolean reuse = WorkbenchPlugin.getDefault().getPreferenceStore()
.getBoolean(IPreferenceConstants.REUSE_EDITORS_BOOLEAN);


Boolean reuse gets always false.
Setting IPreferenceConstants.REUSE_EDITORS_BOOLEAN to true will make the text editor reusable?

What should i do get the existing text editor instance reused when the debug is invoked?


Any help would be appreciated.

Thanks
Leela.

Previous Topic:Scrollbar in GEF Palette
Next Topic:Conflicted EditPolicies?
Goto Forum:
  


Current Time: Wed Jul 23 14:14:14 EDT 2014

Powered by FUDForum. Page generated in 0.02481 seconds