(mc_search__hex_translate_to_regex): don't use length of original string
after leading whitespace trim.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 265_viewer_search_nroffed_twice:
Fixed finds twice in backward direction in nroff'ed text
fixed search result highlighting while search in backward direction
Fixed broken search results highlighting
Fixed broken search in nroffed text with one-byte charset encoding
Fixed search for first symbol in string.
Ticket #265: Search finds bold/underlined strings twice
1. do follow:
diff -BurpN file1.c file.c > my.patch;
diff -BurpN file2.c file.c >> my.patch;
2. we see two file.c.diff entries within patchfs.
after apply commit, we have one combined patch-file.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
added new extfs plugin - gitfs
used prefix [git] for identification as a #changesetfs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
When Backspace key is mapped to CdParentSmart action,
it changes directory to the parent one in QuickSearch mode instead of
delete the previous symbol in qsearch buffer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
files starting with space can't be acessed by mc through ftp - it
shows the file as not having the leading space and attempts to
access it produce 'permission denied' errors.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2491_find_file_relative_paths:
Renamed do_find() to find_file() and vice versa.
(search_content): use mc_build_filename() instead of concat_dir_and_file().
(make_fullname): removed. Use mc_build_filename() instead.
Ticket #2491: broken lynk-like navigation in panelization of file find result.
Broken left arrow (of lynx-like motion) from panelization of directories
having files only (without any subdirs).
Steps to reproduce:
1. mkdir -p a/{b/c,d}
2. touch a/d/e
3. cd a/b
4. mc
5. alt-shift-/ enter l left - selection points to 'b' directory (as it should)
6. down, enter, alt-shift-/ enter l left - selection points to '..' instead of 'd'
Now, if user enters the relative path in "Start at": input line in "Find File"
dialog window, the relative paths are used in panelization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This reverts commit f809e6cf7a8b6584f1500d049f133557152dab6d.
While navigating in main menu (from one submenu to another one)
or after closing a dialog, the screen is blinking.
* 2557_chmod_i18n:
Reimplementation of chmod dialog i18n.
Calculate array sizes
Place buttons in 2 rows if more than 2 files are processed.
Optimization of Chmod dialog initialization.
Collect file info labels in a separate array.
Added chmod_i18n() function.
Remove help text from chmod dialog
Code cleanup.
Ticket #2557: i18n reimplementation of 'Chmod' dialog.