Skip to main content

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 12:10
Leelavathi  is currently offline Leelavathi Friend
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()

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.


Previous Topic:Select GEF EditPart in MultiPageEditor can't adapt TabbedPropertySheetPage in Eclipse 3.6 SR2
Next Topic:Integrate View within Eclipse MultiPageEditor
Goto Forum:

Current Time: Mon Jun 18 21:36:55 GMT 2018

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

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

Back to the top