Commit Graph

94 Commits

Author SHA1 Message Date
Paul Kulchenko
d41e3621a8 Fixed an issue with exiting while searching (#416). 2015-03-22 14:35:20 -07:00
Paul Kulchenko
155483f40f Added showing search results in an editor tab (#416). 2015-03-21 22:07:57 -07:00
Paul Kulchenko
fad303be9a Improved escaping in find-in-files search mask (#416). 2015-03-20 15:51:11 -07:00
Paul Kulchenko
2f22d74e21 Fixed find-in-files results when regular expressions are used (#416). 2015-03-20 15:51:00 -07:00
Paul Kulchenko
d28a6f66e0 Updated order of search component creation to reduce flicker (#416). 2015-03-19 21:01:31 -07:00
Paul Kulchenko
2406863437 Updated scope search background to match the toolbar color (#416). 2015-03-19 15:04:36 -07:00
Paul Kulchenko
ac067f2b5a Added hint for the replace field in search (#416). 2015-03-19 14:44:09 -07:00
Paul Kulchenko
5eb7a78f1a Added a message on replacing in read-only text (#416). 2015-03-19 11:15:41 -07:00
Paul Kulchenko
bfbda999c0 Updated usage of self in the search logic (#416). 2015-03-19 11:07:27 -07:00
Paul Kulchenko
01ca5acb99 Added a message on wrapping around during search (#416). 2015-03-19 10:45:11 -07:00
Paul Kulchenko
b4cd30eb6b Updated search panel to search all files with empty scope (#416). 2015-03-19 10:05:32 -07:00
Paul Kulchenko
e1235cf14d Updated search panel to only set scope when the field is empty (#416). 2015-03-19 09:55:47 -07:00
Paul Kulchenko
0c9feecb21 Reorganized scope menu in the search panel to add setting directory (#416). 2015-03-19 09:37:04 -07:00
Paul Kulchenko
2b3dacfa76 Added number of instances replaced to the search status (#416). 2015-03-18 21:14:01 -07:00
Paul Kulchenko
419692b3dc Fixed flicker of the scope component in the search window (#416). 2015-03-18 21:10:24 -07:00
Paul Kulchenko
6850220b9c Updated handling of translated messages to include toolbar labels (#416). 2015-03-18 17:46:23 -07:00
Paul Kulchenko
d75a7a3adb Added selection of text in search fields when tabbed into (#416). 2015-03-18 16:54:13 -07:00
Paul Kulchenko
5da7a6aeec Added copying current selection to the search panel when activated (#416). 2015-03-18 16:36:16 -07:00
Paul Kulchenko
4f00ec2aa8 Redesigned the search panel (closes #416; closes #398).
Updated for a single set of buttons in the search dialog (#416).
Updated search panel to stay docked under the editor (#416).
Removed 'search' tab from the panel (#416).
Added border for the search panel (#416).
Update search panel components to match the editor styles (#416).
Reorganized search panel to minimize redrawings (#416).
Updated search panel positioning to dock correctly (#416).
Disable shaking on failed search as it doesn't work on OSX/Linux (#416).
Moved scope dropdown to a better location (#416).
Moved status label with search results to the search toolbar (#416).
Added search in Output/Console panels (#416).
Added button to set directory for find-in-files (#416).
Reorganized toolbar creation to customize different search modes (#416).
Added taborder handling in search panel (#416).
Added `Shift-Esc` to close and move to the original position (#416).
Changed combobox to textctrl as wxComboBox doesn't handle `Tab`/`Esc` on OSX (#416).
Fixed refresh of the scope dropdown (#416).
Renamed controls for consistency with other names (#416).
Fixed scope processing to work with directory and masks (#416).
Updated find/replace borders (#416).
Replaced combobox with a text control and a dropdown (#416).
Allowed having only masks in the search scope (#416).
Added search from the scope field (#416).
Reorganized position of the scope field in the search (#416).
Disabled search when find-in-file is already in progress (#416).
2015-03-18 16:34:56 -07:00
Paul Kulchenko
1a9efa6e5b Fixed an issue with search initiated from Output/Console panels (fixes #406). 2015-02-02 15:33:58 -08:00
Paul Kulchenko
1829e78d05 Fixed find-and-replace to replace in already selected fragment if matched. 2015-01-12 22:51:42 -08:00
Paul Kulchenko
a71df9a2ac Updated case in the name of a local function. 2015-01-12 22:51:11 -08:00
Paul Kulchenko
9107b369f9 Improved failed search 'shake' visualization by forcing window redraw. 2015-01-03 21:34:55 -08:00
Paul Kulchenko
8170111c9b Fixed search navigation to shift horizontally when usewrap is off. 2014-12-26 20:45:44 -08:00
Paul Kulchenko
6f974cc680 Added clearing Output window before showing Find-in-Files results. 2014-11-26 11:34:59 -08:00
Paul Kulchenko
d349245890 Fixed error after using Enter multiple times in Find in Files on OSX. 2014-10-09 08:44:46 -07:00
Paul Kulchenko
11647b3508 Added package GetKnownExtensions method (#166). 2014-09-24 16:10:46 -07:00
Paul Kulchenko
e892c91518 Added project dir to find dialog paths; thanks to @sclark39 (closes #358). 2014-09-21 01:03:08 -07:00
Paul Kulchenko
4e055d0d4a Fixed an issue with searching in Output and Console windows.
This was broken by an earlier commit (df6b9fe9), which enabled search in
the current editor window. This change initiates the search in the last
editor component with a focus.
2014-09-17 10:13:27 -07:00
Paul Kulchenko
4c7c9593de Fixed unused variables and constants based on static analysis. 2014-09-10 22:15:38 -07:00
Paul Kulchenko
04d1fc8299 Fixed replacement when selection doesn't match the text being searched for. 2014-09-10 22:09:31 -07:00
Paul Kulchenko
df6b9fe9b3 Updated search/replace to always use the current editor/output/console tab. 2014-09-05 14:24:06 -07:00
Paul Kulchenko
b3fdde036e Fixed find-in-files error when used with editor not in focus (fixes #354). 2014-08-20 00:45:17 -07:00
Paul Kulchenko
11facf0acb Added package Yield method (#166). 2014-08-06 22:01:59 -07:00
Paul Kulchenko
657526eab4 Added search in Console and Output windows (closes #313). 2014-06-28 15:28:33 -07:00
Paul Kulchenko
64a9f7c701 Fixed replace-in-files when saving backup copy is turned off. 2014-05-26 15:43:39 -07:00
Paul Kulchenko
3cfc5f65c2 Updated copyright messages. 2014-05-10 09:53:00 -07:00
Paul Kulchenko
a5df5d63b6 Fixed find dialog to stay on top after search directory selection on OSX.
OSX moves the find dialog to the background after using the directory
dropdown in the open file dialog. This workaround keeps find dialog on top.
2014-04-16 21:17:01 -07:00
Paul Kulchenko
5632913e40 Disabled startng multiple find-in-files searches. 2014-04-03 17:44:50 -07:00
Paul Kulchenko
7496040f34 Fixed an error after manual canceling Find-in-files dialog. 2014-04-03 16:01:44 -07:00
Paul Kulchenko
8492df40de Removed border around editor components. 2014-03-18 19:27:52 -07:00
Paul Kulchenko
82f62d4d7d Fixed focus for Find field in the find dialog on some instances of OSX.
This is an additional fix for c4c3e7e5. It turned out that some instances
of OSX 10.9.2 require SetFocus to be called after form is shown.
2014-03-16 21:04:06 -07:00
Paul Kulchenko
c4c3e7e51e Added explicit focus for Find field in the find dialog on OSX. 2014-03-10 14:22:26 -07:00
Paul Kulchenko
c60770b2f5 Fixed default selection for search in case of multiple selections. 2014-01-18 22:21:32 -08:00
Paul Kulchenko
f539047802 Updated shortcut for Replace All to avoid conflict on OSX (fixes #220). 2013-10-13 20:53:56 -07:00
Paul Kulchenko
25589fc45a Reorganized path separator handling to minimize use of global variables. 2013-09-04 12:00:57 -07:00
Paul Kulchenko
52c7150e51 Switched to using POSIX compatible regexp with '()' used for captures. 2013-08-13 14:50:21 -07:00
Paul Kulchenko
24555a3b3d Fix spurious replacement after 'search, clear selection, replace' actions. 2013-08-13 14:47:01 -07:00
Paul Kulchenko
cc432b65b0 Added support for captures in regexp replacement (\1-\9). 2013-08-13 14:39:06 -07:00
Paul Kulchenko
1ba300213d Added ability to cancel FindInFiles search by closing search dialog (ref #162). 2013-08-10 21:38:50 -07:00