thanx Daniel Borca <dborca@yahoo.com> for the patch
* fix special_chars in regex.c
* add whole_words into mc_search_struct
* add 'Whole words' into 'Search', 'Replace' 'File find' dialogs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* Replace search prepare algorithm
* Added function for update search status.
* Added callback for update search status into external places
* Added new message box 'Seeking to search result' at end of search process
* Fixed search in file with different charset.
* Fixed backward search in nroff'ed text
* Added named enum for return values of callback functions for search
* Fixed wrong search with 'pcre' search engine.
* Fixed search in underlined text.
* Fixed wrong offset of nroff'ed text where text is underlined.
* Fixed calculating of next search position. Fixed double-search one text in nroff'ed area.
* Last found text stay selected if no more found.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added '--with-search-engine' into configure script.
Changed behavior of lib_pcre m4-module. Now used pkg-config
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* src/find.c:
+ New design of 'Find File' dialog.
+ íodification of search results dialog: listbox
which contains search results is not scrolled now.
New behavior avoids dialog blinking :) and allows the walk
through the list during search.
Added counter of found items.
+ Check regexp before search.
+ For glib >= 2.14.0, use GQueue for directory queue.
+ Fixed memory leak.
+ Some optimization.
+ More type accuracy.
+ Formatting. Fixed typo. Clean up.
* src/widget.c:
(listbox_select_by_number): don't operate with non-existing list.
* src/search/*:
+ (mc_search_prepare): new function that allows check if regexp
is valid before search (Slava Zanko).
+ Removed redundant chek for g_free ().
Use g_free() instead of free().
Signed-off-by: Andrew Borodin <borodin@borodin.zarya>
For example, we need to move files:
some_test.ext
this_is_file.ext
into subdirs, named as first char of filenames:
./s/
./d/
Select needed files and press F5(F6)
Source mask: ?*
to: \1/\1\2
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Now \<digit> handle just first 0-9 search groups.
If you need to access to more search groups, need to use
${digits} syntax.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
replace dialog:
* removed 'replace order' field
* removed 'scanf' and 'regex' chackboxes
* added selectbox element for choise type of search
* confirm replace and 'replace all' now radiobuttons
search dialog:
* removed 'replace order' field
* removed 'scanf' and 'regex' chackboxes
* added selectbox element for choise type of search