Text Editor debugging [message #658410] |
Tue, 08 March 2011 12:10 |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03367 seconds