From 07ca8e40bc6fad07afcc5415e61e90a46731f1f0 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Thu, 30 Sep 2010 10:25:03 +0200 Subject: [PATCH] CppEditor.mimetypes: increase range in which the magic #ifndef Reviewed-by: Leandro Melo --- src/plugins/cppeditor/CppEditor.mimetypes.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml index 5dd9f0610ab..3c67b3363a0 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> -- GitLab