Here is code from my project
//Initialize HM
HighlightingManager.Manager.AddSyntaxModeFileProvider(new FileSyntaxModeProvider(AppDomain.CurrentDomain.BaseDirectory));
//Setup current Highlighter
IHighlightingStrategy highlighter = HighlightingManager.Manager.FindHighlighter("SQL");
txtQuery.Document.HighlightingStrategy = highlighter;
Ensure that file SQL.xshd exists in AppDomain.CurrentDomain.BaseDirectory
As for entellisense you should implement it mostly yourself using this code
private void ShowCompletionWindow(ICompletionDataProvider completionDataProvider, char ch)
{
try
{
codeCompletionWindow = CodeCompletionWindow.ShowCompletionWindow(
this,
codeEditorControl,
"<code>",
completionDataProvider,
ch);
if (codeCompletionWindow != null)
{
codeCompletionWindow.Closed += delegate
{
_blockKeys = false;
};
}
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
}