private void UpdateScriptStatus()
{
Editor.StatusBar.Items[0].Text =
String.Format("Lines: {0} Characters: {1}", this._scintilla.Lines.Count, this._scintilla.TextLength);
Editor.StatusBar.Items[1].Text = this._scintilla.Selection.Length == 0 ? "" :
String.Format("Selection Length: {0}", this._scintilla.Selection.Length);
Editor.StatusBar.Items[2].Text =
String.Format("Current Position: {0}", this._scintilla.CurrentPos);
}