We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b93bd commit b735110Copy full SHA for b735110
External/Plugins/CodeFormatter/PluginMain.cs
@@ -1,5 +1,4 @@
1
using System;
2
-using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.IO;
5
using System.Text.RegularExpressions;
@@ -402,7 +401,7 @@ public Int32 DocumentType
402
401
else if (ext == ".mxml") return TYPE_MXML;
403
}
404
else if (lang == "xml") return TYPE_XML;
405
- else if (document.SciControl.Lexer == 3) return TYPE_CPP;
+ else if (document.SciControl.Lexer == 3 && Win32.ShouldUseWin32()) return TYPE_CPP;
406
return TYPE_UNKNOWN;
407
408
0 commit comments