ARCed.Scripting.ScriptEditorForm._scintilla_SelectionChanged C# (CSharp) Method

_scintilla_SelectionChanged() private method

private _scintilla_SelectionChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
		private void _scintilla_SelectionChanged(object sender, EventArgs e)
		{
			this.copyToolStripButton.Enabled = this._scintilla.Clipboard.CanCopy;
			this.cutToolStripMenuItem.Enabled = this._scintilla.Clipboard.CanCut;
			this.pasteToolStripButton.Enabled = this._scintilla.Clipboard.CanPaste;
			Editor.StatusBar.Items[1].Text = this._scintilla.Selection.Length == 0 ? "" :
				String.Format("Selection Length: {0}", this._scintilla.Selection.Length);
		}