From f089b93029cd935bc3d76058f1db89b5b083ac78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Thu, 27 May 2010 14:12:28 +0200
Subject: [PATCH] Switched completion to be case-insensitive by default

Quite a few people seem to prefer this and it is the default in Eclipse
and MSVC.

This applies to both C++ and QML completion.

Task-number: QTCREATORBUG-1474
---
 src/plugins/texteditor/completionsettings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/completionsettings.cpp b/src/plugins/texteditor/completionsettings.cpp
index 0d800da3b32..dc4bba31162 100644
--- a/src/plugins/texteditor/completionsettings.cpp
+++ b/src/plugins/texteditor/completionsettings.cpp
@@ -40,7 +40,7 @@ static const char * const spaceAfterFunctionNameKey = "SpaceAfterFunctionName";
 using namespace TextEditor;
 
 CompletionSettings::CompletionSettings()
-    : m_caseSensitivity(FirstLetterCaseSensitive)
+    : m_caseSensitivity(CaseInsensitive)
     , m_autoInsertBrackets(true)
     , m_partiallyComplete(true)
     , m_spaceAfterFunctionName(false)
-- 
GitLab