Commit 07ca8e40 authored by hjk's avatar hjk
Browse files

CppEditor.mimetypes: increase range in which the magic #ifndef

Reviewed-by: Leandro Melo
parent 2883af4b
......@@ -29,9 +29,10 @@
<glob pattern="*.hpp"/>
<glob pattern="*.hp"/>
<!-- Find include guards of header files without extension, for
example, STL ones like <string> -->
example, STL ones like <string>. Those can have a big initial
comment exceeding 1000 chars, though. -->
<magic priority="50">
<match value="#ifndef" type="string" offset="0:1000"/>
<match value="#ifndef" type="string" offset="0:2000"/>
</magic>
</mime-type>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment