From 0fef7ecc2a134e74f827d548f34c66f97d17ab1c Mon Sep 17 00:00:00 2001 From: Noam Wies Date: Wed, 26 Dec 2012 19:46:14 +0200 Subject: [PATCH] add support for open files with CamelHumps --- src/Main/Base/Project/Src/Gui/Dialogs/GotoDialog.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/GotoDialog.cs b/src/Main/Base/Project/Src/Gui/Dialogs/GotoDialog.cs index c0e69a02fa..4e58648ea6 100644 --- a/src/Main/Base/Project/Src/Gui/Dialogs/GotoDialog.cs +++ b/src/Main/Base/Project/Src/Gui/Dialogs/GotoDialog.cs @@ -300,7 +300,12 @@ namespace ICSharpCode.SharpDevelop.Gui return MatchType_NoMatch; int indexInsensitive = itemText.IndexOf(searchText, StringComparison.OrdinalIgnoreCase); if (indexInsensitive < 0) + { + if (itemText.AutoCompleteWithCamelHumpsMatch(searchText)) { + return MatchType_ContainsMatch_CaseInsensitive; + } return MatchType_NoMatch; + } // This is a case insensitive match int indexSensitive = itemText.IndexOf(searchText, StringComparison.Ordinal); if (itemText.Length == searchText.Length) {