ide; FindInFilesDialog, FindDialog; fixed not quite 'filter' vs 'find what' shortcut...
authorRejean Loyer <rejean.loyer@gmail.com>
Thu, 25 Apr 2013 00:39:46 +0000 (20:39 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 2 May 2013 01:44:49 +0000 (21:44 -0400)
ecere/src/gui/dialogs/FindDialog.ec
ide/src/dialogs/FindInFilesDialog.ec

index 356d70b..d323e6c 100644 (file)
@@ -89,7 +89,7 @@ private:
 
    bool OnKeyHit(Key key, unichar ch)
    {
-      if(ch)
+      if(ch && !key.alt && !key.ctrl && !key.shift && (matchCase.active || wholeWord.active))
       {
          findWhat.Activate();
          return findWhat.OnKeyHit(key, ch);
index 08237e8..2f7a26b 100644 (file)
@@ -594,7 +594,7 @@ private:
 
    bool OnKeyHit(Key key, unichar ch)
    {
-      if(ch)
+      if(ch && !key.alt && !key.ctrl && !key.shift && (contentMatchCase.active || contentWholeWord.active))
       {
          findContent.Activate();
          return findContent.OnKeyHit(key, ch);