diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml index 5dd9f0610abe4b00b3cd0df1d416e2cff64fa121..3c67b3363a05658d74440cee13a4cc907c633b52 100644 --- a/src/plugins/cppeditor/CppEditor.mimetypes.xml +++ b/src/plugins/cppeditor/CppEditor.mimetypes.xml @@ -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>