|
|
|
@ -451,31 +451,31 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor |
|
|
|
#region ICSharpCode.SharpDevelop.Gui.IClipboardHandler interface implementation
|
|
|
|
#region ICSharpCode.SharpDevelop.Gui.IClipboardHandler interface implementation
|
|
|
|
public bool EnableCut { |
|
|
|
public bool EnableCut { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCut; |
|
|
|
return !this.IsDisposed && textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCut; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool EnableCopy { |
|
|
|
public bool EnableCopy { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCopy; |
|
|
|
return !this.IsDisposed && textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCopy; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool EnablePaste { |
|
|
|
public bool EnablePaste { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnablePaste; |
|
|
|
return !this.IsDisposed && textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnablePaste; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool EnableDelete { |
|
|
|
public bool EnableDelete { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableDelete; |
|
|
|
return !this.IsDisposed && textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableDelete; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool EnableSelectAll { |
|
|
|
public bool EnableSelectAll { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableSelectAll; |
|
|
|
return !this.IsDisposed && textEditorControl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableSelectAll; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|