...since qsort may shuffle first and last files in some lists.
Thanks Nicolas Rybkin for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The "Whole words" feature of search only worked in Normal mode, not in
any of the other modes (Regex, Hex, Wildcard).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...in case of "Regular expression" and "Whole words".
The bug:
If there's no match, it's properly reported so.
If there's a match, however, the mcview's viewport is properly scrolled
vertically, but the search result is not highlighted. Plus, you can
press "Search again" once (or more times if there are multiple matches
in the line) and it won't progress to the next match.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3493_user_menu_focused_button:
Change focused button for mcedit user menu selector.
Ticket #3493: user menu selector: make "User", not "Local", the focused button.
On the menu selector two buttons are shown. Users are more likely to
want to edit their central user menu, so we move the focus there.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
How to reproduce the bug:
1) Add something to 'Panelize'. It works with 'Find file' and 'External
panelize' too.
2) Press C-o several (at least two) times (or run some console command).
3) Panel is now empty
* (reload_panelized): always chdir to panel's cwd to refresh the VFS's cwd
before file list update.
* (update_panels): change order of panel update: first update other panel,
then current one. Remove internal variable. Fix description.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3484_pkgbuild_syntax:
Update PKGBUILD.syntax according to latest pacman version.
Tickt #3484: update PKGBUILD.syntax according to latest pacman version.
Add msg, debug, validpgpkeys, changelog, checkdepends, epoch, buildflags, upx
and remove force keyword according to current PKGBUILD man.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Remove [\s]* from patterns. Assume that PKGBUILD-specific variables
must start from linestart. (Usualy they do.)
[\s]* cause conflicts on 'install' keyword for example when install
command highlighted as PKGBUILD-specific variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* Support for "long" strings/comments.
* Fixed Syntax.in to recognize both "#!/path/to/lua" and "#!/usr/bin/env lua".
* Fixed langauge name (it's "Lua", not "LUA").
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Transifex doesn't like it when there is no space after `#` and complains
about autogenerated `/# "Plural-Forms ...` string; fix it and remove
unportable inplace sed invocation.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>