text editor - Using ICSharpCode.TextEditor on VB.NET -


I've integrated ICSharpCode.TextEditor in VB.NET and run smoothly without error. But, I also choose Intelisens with can not find properties in Properties window or syntax highlighting features. I have no experience with ICSE, please help me Thank you.

Here is the code from your project

  // hm HighlightingManager Start Manager.AddSyntaxModeFileProvider (new FileSyntaxModeProvider (AppDomain.CurrentDomain.BaseDirectory)); // Set the current highlighter IHighlightingStrategy highlighter = HighlightingManager.Manager.FindHighlighter ( "SQL"); TxtQuery.Document.HighlightingStrategy = Highlighter;  

Make sure that the file exists in SQL.xshd AppDomain.CurrentDomain.BaseDirectory

As for entellisense you mostly use this code it yourself must apply

  private void ShowCompletionWindow (ICompletionDataProvider completionDataProvider, char ch) {try {codeCompletionWindow = CodeCompletionWindow.ShowCompletionWindow (this, codeEditorControl, "& LT; code & gt;", completionDataProvider, Ch) ; If (codeCompletionWindow! = Null) {codeCompletionWindow.Closed + = Representative {_blockKeys = false; }; }} Hold (exception e) {console} WrightLine (e.Message); }}  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -