OSDN Git Service

Switched completion to be case-insensitive by default
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 27 May 2010 12:12:28 +0000 (14:12 +0200)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 27 May 2010 12:21:26 +0000 (14:21 +0200)
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

index 0d800da..dc4bba3 100644 (file)
@@ -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)