C#で作成したScintillaコントロールがあり、構文の強調表示が機能しません。フォントが正しく設定され、ファイルがロードされていることがわかりますが、構文の強調表示がまったく機能しません。
Scintilla r = new Scintilla();
r.Dock = DockStyle.Fill;
r.ConfigurationManager.IsUserEnabled = true;
r.ConfigurationManager.CustomLocation = "langs.xml";
r.ConfigurationManager.Language = "rb";
r.Margins[0].Width = 40;
r.Indentation.UseTabs = true;
r.Indentation.IndentWidth = 4;
r.Indentation.ShowGuides = true;
r.Indentation.TabIndents = true;
r.Indentation.TabWidth = 4;
r.Indentation.SmartIndentType = SmartIndent.Simple;
構成ファイルは次のとおりです。
langs.xmlで。(コードはここに収まりません。)誰かがこれが機能しない理由を教えてもらえますか?