소스 검색

vslol: disable funky debug colouring in .lolfx files.

undefined
Sam Hocevar 11 년 전
부모
커밋
68ae1dd35e
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +5
    -3
      tools/vslol/LolFxLanguageService.cs

+ 5
- 3
tools/vslol/LolFxLanguageService.cs 파일 보기

@@ -73,21 +73,23 @@ class LolFxLanguageService : LanguageService
while (m_offset < m_source.Length)
{
if (m_source[m_offset] == ' ' || m_source[m_offset] == '\t')
{
{
++m_offset;
continue;
}
}

tokeninfo.StartIndex = m_offset;
tokeninfo.EndIndex = m_offset;
tokeninfo.Type = TokenType.Unknown;
switch (state % 4)
{
{
case 0: tokeninfo.Color = TokenColor.Number; break;
case 1: tokeninfo.Color = TokenColor.Text; break;
case 2: tokeninfo.Color = TokenColor.Keyword; break;
case 3: tokeninfo.Color = TokenColor.Comment; break;
}
// Disable this crap for now
tokeninfo.Color = TokenColor.Text;
++m_offset;
++state;
return true;


불러오는 중...
취소
저장