Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 458428

Summary: TypeError: Cannot read property 'togglePaneOrientation' of null (in markdownEditor.js)
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: EditorAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Grant Gayed CLA 2015-01-26 10:51:39 EST
Presumably is being called either too early or too late (post-dispose):

toggleOrientationCommand = new mCommands.Command({
 	id: ID,
	callback: /* @callback */ function(data) {
		this.editor.togglePaneOrientation(); // <-------
	}.bind(this),
	type: "switch", //$NON-NLS-0$
	imageClass: "core-sprite-split-pane-orientation", //$NON-NLS-0$
	tooltip: messages["TogglePaneOrientationTooltip"],
	visibleWhen: function() {
		return !!this._options;
	}.bind(this),
});