コード例 #1
0
ファイル: OutputView.cs プロジェクト: ngoffee/ela
        public void WriteString(string text, params object[] args)
        {
            if (args != null && args.Length > 0)
            {
                sci.AppendText(String.Format(text, args), true);
            }
            else
            {
                sci.AppendText(text, true);
            }

            OnContentChanged(new ViewEventArgs(true, null));
        }
コード例 #2
0
        private void AppendText(string text)
        {
            if (String.IsNullOrEmpty(text))
            {
                return;
            }

            sci.AppendText(text, true);
        }