Commit Graph

65 Commits (fbf6668a80537fb9a82f53054abedb441ca36375)

Author SHA1 Message Date
Don HO 3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO f44c357999
Add tooltip for filter usage in Find in Files dialog 2019-11-22 14:28:13 +01:00
Scott Sumner 90176b21ae
Make 'Clear all marks' respect 'In selection' choice
Fix #6271, close #7636
2019-11-22 01:21:28 +01:00
Don HO 93a9962fde
Code enhancement: Use C++11 =default & =delete for the constructor & destructor 2019-08-19 02:05:21 +02:00
Don HO 06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO c35a2b5708
Make Combobox font monospace in Find dialog
Close #5920, fix #3361, close #6001
2019-08-05 02:45:01 +02:00
Rajendra Singh 9539a892eb
Code quality improvement: pass string by reference instead of value
Also remove not implemented methods addBufferToView(), moveBuffer() and doActionOrNot() from Notepad_plus.h

Close #5784
2019-06-25 14:21:35 +02:00
Don HO 4c548d187d
Add "Count in selection" option in Find dialog
Close #722
2019-04-11 00:35:52 +02:00
Don HO 0e60bd8957 Restore "Find Previous" & "Find Next" button in Find dialog
The pair of button "Find Previous" and "Find Next" have been removed in
the previous version due to some regressions. It's restored with being optional.
2018-02-01 10:09:24 +01:00
Oleksandr Redko 29f28098ae Fix static analyzer issue "A virtual function was overridden incorrectly"
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'UserDefineDialog' and base class 'StaticDialog'. userdefinedialog.h 332
V762 It is possible a virtual function was overridden incorrectly. See first argument of function 'redraw' in derived class 'SplitterContainer' and base class 'Window'. splittercontainer.h 61
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'FindReplaceDlg' and base class 'StaticDialog'. findreplacedlg.h 245
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'GoToLineDlg' and base class 'StaticDialog'. gotolinedlg.h 45
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'FindCharsInRangeDlg' and base class 'StaticDialog'. findcharsinrange.h 52
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'ColumnEditorDlg' and base class 'StaticDialog'. columneditor.h 45
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'WordStyleDlg' and base class 'StaticDialog'. wordstyledlg.h 77
V762 It is possible a virtual function was overridden incorrectly. See first argument of function 'redraw' in derived class 'WordStyleDlg' and base class 'Window'. wordstyledlg.h 99
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'PluginsAdminDlg' and base class 'StaticDialog'. pluginsadmin.h 100
2017-10-29 18:18:15 +02:00
Don HO 4d921b7ffd Roll back from 2 find buttons to 1 find button
Due to 2 find buttons logic limit (lost replacing up capacity), the
direction option is added back, and 1 find button is restored (instead
of 2 find buttons).
2017-08-12 04:46:38 +02:00
Roman Artiukhin 0d90ad1374 Fix text selection in combo boxes of find/replace dialog problem on resize
Fixes #3367, closes #3416
2017-07-14 20:19:23 +02:00
Roman Artiukhin e7a5c72465 Restore empty "Replace with" and "Filters" in the next session
Closes #3407
2017-07-02 21:45:17 +02:00
Roman Artiukhin b3be0b448b Make FindReplace dialog resizable horizontally
Closes #3376, closes #2516, closes #774
2017-06-13 09:24:13 +02:00
Don HO a482cbd215 Add tip in Find dialog for informing users the usage of Shift+Enter 2017-02-23 23:56:35 +01:00
Don Ho 3924190fb1 Add smart highlighting extension to anothe view option
Add new option to enable smat highlighting extension to anothe view,
while both views are visible side by side.
2016-10-28 11:47:36 +02:00
Don Ho 8e9e8c04cd Fix a x64 crash issue on macro recording 2016-09-23 23:58:16 +02:00
Don HO 37ed299743 Lost in Translation 2 2016-08-10 00:22:45 +02:00
Don HO 797765173d Improve code quality by using static code analysis tool (cppchecker) 2016-07-18 02:08:29 +02:00
Don HO 64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
antonyflash d6c2d6cc9f Fix not localized caption of FindReplaceDlg
Fixed not localized caption of FindReplaceDlg when it appear the first time.
Closes #1395
2016-05-16 00:30:33 +02:00
Don HO 50c7e228ff Add new feature: Find in Finder
After finding in files, user can launch the find in Finder dialog from
the finder via its context menu command "Find in this finder...".
Find in Finder feature searchs the other occurrence into found results,,
that allow user to narrow down the search  and to refine their search
results.
2016-03-31 09:35:41 +02:00
Don HO 96fc4bc714 Fix "copy" command bug in find result panel
While find result panel has a lot of results, and user has not scrolled
down yet, this bug can be reproduce easily by command "select all" then
copy - not all the found results are copied into clipboard.
2016-02-25 13:24:58 +01:00
Pavel Nedev d930f10330 Fixed Context menu not shown regression bug (closes #492, fixes #383)
After FindInFiles operation context menu was no longer accessible.
2015-07-20 13:21:51 +02:00
Christian Grasser 324a29a848 Merge branch 'GWLP_648' of https://github.com/chcg/notepad-plus-plus into x64_build_adaptions 2015-06-08 13:51:57 +02:00
Christian Grasser 73dee04dea Further changes for x64 builds 2015-06-08 08:48:05 +02:00
NN def5952213 Merge branch 'master' into DlgProc 2015-06-03 07:19:34 +03:00
NN dbb43a729f DlgProc returns INT_PTR and not BOOL. Use correct prototype and remove casts.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx
2015-06-01 21:30:41 +03:00
Andreas Jönsson 23ac5e3da8 Mark some methods as const. 2015-06-01 18:48:49 +02:00
Andreas Jönsson d6081a5f37 Improve copy functionality in find results window
Just copy the actual results, without the additional formatting with
line and file name. It respects the hierarchy in the results, i.e.
you can copy all results from a search operation, or from a specific
file, or just the lines you selected.
2015-06-01 18:39:22 +02:00
Don HO 57664ff70e Merge pull request #142 from NN---/thread
[UPDATE] Remove unnecessary casts.
2015-06-01 00:56:05 +02:00
Don Ho e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +02:00
NN 3319bcc581 Fix incorrect thread procedure prototype. It has to be __stdcall.
Remove unnecessary casts.
2015-05-30 21:06:32 +03:00
Pavel Nedev df7ddabff0 Make FindInFiles progress window behave like modal 2015-05-25 11:03:21 +03:00
Don Ho 8d3583ccfd [MODIF] Code clean up: make code adapt the coding convention.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1348 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-24 18:27:55 +00:00
Don Ho aa7461f062 [ENHANCEMENT) (Author: Pavel Nedev) Enhance displaying of searching files on the progress bar while finding files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1347 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-23 17:42:38 +00:00
Don Ho d9299e644f [ENHANCEMENT] (Author: Pavel Nedev) Show progress window during FindInFiles and ReplaceInFiles.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1345 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-19 01:01:12 +00:00
Don Ho 6420dfb67e [NEW] (Author: Korikulum) Adds a message showing the total number of matches in the current document to the Incremental Search bar.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1343 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-14 17:21:09 +00:00
Don Ho f3407442db [NEW_FEATURE] Add 2 new plugins APIs: NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR & NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR
[NEW_FEATURE] Make internal docking dialog match/follow the selected theme's background and foreground colors.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1259 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-16 11:20:58 +00:00
Don Ho ea1f12e7a2 [ENHANCEMENT] Warn to user for unfound result of functionlist.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1131 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-14 06:09:48 +00:00
Don Ho 4105c3d2fa [ENHANCEMENT] Mark all (5 styles available) feature checks 2 options "Match case" and "Match whole word only" in Find/Replace dialog. If a part of the word is selected, then "Match whole word only" will be always false, whatever the value is in Find/Replace dialog.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1122 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-18 17:52:34 +00:00
Don Ho 36b9b7cc8c [NEW_BEHAVIOUR] Remove the result dialogs of Find/Replace dialog. Display the error/result in the new added statusbar of Find/Replace dialog. (di Sardegna)
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1039 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-11 20:55:09 +00:00
Don Ho ffdebe56ed [BUG_FIXED] (Author: François-R Boyer & Dave Brotherstone) Regex search and replace haning problem fix.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1009 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-25 00:46:29 +00:00
Don Ho a896922136 [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00
Don Ho 7e0ed0ebf3 [NEW_FEATURE] (Author: Dave Brotherstone) Add PCRE (Perl Compatible Regular Expressions) support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@863 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-02-13 01:45:05 +00:00
Don Ho 16bae1a4a5 [NEW_FEATURE] Make Recent File List totally customizable (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@780 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-06-26 02:09:56 +00:00
Don Ho 1e48bf25f1 [NEW_FEATURE]
1. New "Mark" tab for "Mark all" feature in Find/Replace dialog.
2. Make "Fide what" and "Replace with" fields larger in Find/Replace dialog.
3. Make some message dialogs translatable.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@733 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-01-19 21:05:40 +00:00
Don Ho 3bd739969d [BUG_FIXED] Fix a regression bug: the notification message boxes were not modal.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@732 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-01-08 12:06:18 +00:00
Don Ho 6da146a4ec [BUG_FIXED] Fix macro recoding for find in files regression.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@655 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-25 01:38:20 +00:00
Don Ho 33de57fe1d [NEW_FEATURE] (Author: Christian Cuvier) Add macro new ability to record search and replace actions.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@650 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-15 18:52:55 +00:00