2010-06-13 2 views
0

C#에서 작성한 Scintilla 컨트롤이 있는데 구문 강조 표시가 작동하지 않습니다. 이 파일이로드되고 있음을 알려줍니다 올바르게 글꼴을 설정하지만 구문 강조는 전혀 작동하지 않습니다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; 

및 구성 파일이 있습니다 :

http://codepad.org/DAjCrlPT

에서 langs.xml. (코드가 여기에 맞지 않습니다.) 누군가가 왜 이것이 작동하지 않는지 말할 수 있습니까?

답변

0

내 구성 파일이 문제가 아닙니다.

관련 문제