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()
.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: Fri Mar 29 12:19:51 GMT 2024

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

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

Back to the top