From 098084a378cdca5b6c0e92dd6872e297aacd2fd2 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 1 Apr 2014 07:01:42 +0000 Subject: [PATCH] [BUG_FIXED] Fix Find in files search result not displaying bug. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1208 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 4 +++- PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index b9f52f559..4284b2633 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -5245,7 +5245,7 @@ struct Quote{ const char *_quote; }; -const int nbQuote = 195; +const int nbQuote = 197; Quote quotes[nbQuote] = { {"Notepad++", "Good programmers use Notepad++ to code.\nExtreme programmers use MS Word to code, in Comic Sans, center aligned."}, {"Martin Golding", "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."}, @@ -5421,6 +5421,8 @@ Quote quotes[nbQuote] = { {"Anonymous #141", "To most religious people, the holy books are like a software license (EULA).\nNobody actually reads it. They just scroll to the bottom and click \"I agree\"."}, {"Anonymous #142", "You are nothing but a number of days,\nwhenever each day passes then part of you has gone."}, {"Anonymous #143", "If 666 is evil, does that make 25.8069758011 the root of all evil?"}, +{"Anonymous #144", "I don't want to sound like a badass but...\nI eject my USB drive without removing it safely."}, +{"Anonymous #145", "feet (noun)\na device used for finding legos in the dark"}, {"Floor", "If you fall, I will be there."}, {"Simon Amstell", "If you have some problem in your life and need to deal with it, then use religion, that's fine.\nI use Google."}, {"James Bond", "James, James Bond."}, diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index 5588384e1..42170dd65 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -1830,7 +1830,11 @@ void FindReplaceDlg::findAllIn(InWhat op) focusOnFinder(); } else + { + // Show finder + ::SendMessage(_hParent, NPPM_DMMSHOW, 0, (LPARAM)_pFinder->getHSelf()); getFocus(); // no hits + } } else // error - search folder doesn't exist ::SendMessage(_hSelf, WM_NEXTDLGCTL, (WPARAM)::GetDlgItem(_hSelf, IDD_FINDINFILES_DIR_COMBO), TRUE);