摘要: Linux, WinSCP, Putty 好饿!!!!!|| 阅读全文
posted @ 2014-03-09 23:39 李祥 阅读(812) 评论(2) 推荐(0) 编辑
摘要: //判断是否是中文 public bool IsChina(char c) { bool BoolValue = false; if (Convert.ToInt32(c) = firstChar) { e.Graphics.SmoothingMode = SmoothingMode.None; var textRange = new Range(this, from + firstChar, iLine, from + lastChar + 1, iLine); textRange = Selection.GetIntersectionWith(textRange); if (textRan 阅读全文
posted @ 2014-01-16 02:04 李祥 阅读(1326) 评论(0) 推荐(0) 编辑
摘要: DrawLineChars方法:private void DrawLineChars(PaintEventArgs e, int firstChar, int lastChar, int iLine, int iWordWrapLine, int x, int y) { Line line = lines[iLine]; LineInfo lineInfo = LineInfos[iLine]; int from = lineInfo.GetWordWrapStringStartPosition(iWordWrapLine); int to = lineInfo.GetWordWrapStri 阅读全文
posted @ 2014-01-14 01:51 李祥 阅读(2988) 评论(0) 推荐(0) 编辑
摘要: 该控件解决中文网址 未测试是否解决 想保存http://www.dullong.com/share-a-code-can-be-highlighted-components-fastcoloredtextbox/http://files.cnblogs.com/MyNameIsMT/FastColoredTextBox-demo.rar 阅读全文
posted @ 2013-12-19 00:41 李祥 阅读(1341) 评论(0) 推荐(0) 编辑