问题描述
SqlText.ShowEOLMarkers=false;SqlText.ShowHRuler=false;SqlText.ShowInvalidLines=false;SqlText.ShowMatchingBracket=true;SqlText.ShowSpaces=false;SqlText.ShowTabs=false;SqlText.ShowVRuler=false;SqlText.AllowCaretBeyondEOL=false;//SqlText.SetHighlighting("TSQL");SqlText.Document.HighlightingStrategy=ICSharpCode.TextEditor.Document.HighlightingStrategyFactory.CreateHighlightingStrategy("TSQL");--这里为什么总提示未将对象引用设置到实例传入TSQl就不行//SqlText.Encoding=Encoding.GetEncoding("GB2312");xml文件里面以及加了<Modefile="TSQL-Mode.xshd"name="TSQL"extensions=".sql"/>求大神解答.
时间: 2024-10-26 22:48:37