void ReFormat()
{
IList<CSLE.Token> tokens = null;
try
{
tokens = this.scriptService.ParserToken(richTextBox_Code.Text);
}
catch (Exception err)
{
Log_Error(err.ToString());
return;
}
int now = this.richTextBox_Code.SelectionStart;
ParseTokenFromat(tokens, this.richTextBox_Code);
this.richTextBox_Code.SelectionStart = now;
this.richTextBox_Code.SelectionLength = 0;
}
private void richTextBox_Code_KeyDown(object sender, KeyEventArgs e)