added selection with mouse
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Code cleanup: make visibility of some functions as static
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
fixed skins
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
new behavior: DEL - clear current field of dialog if text in the field is not modify and cursor not moved.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Code cleanups: avoid compiler warnings
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1838_codeset_autodetect_fix:
edit_load_file_fast(): don't reset utf8 flag that was set early.
edit_set_codeset(): new function to set codeset in MC editor.
Some optimization of viewer initialization.
Ticket #1838: fix of broken charset autodetection.
Most of viewer initialization was moved to mcview_init() function
to rid of double initialization of mcview members.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Hotkeys are already highlighted by the color; there is no any point
in using yet another attribute (uppercase) for emphasizing them
even more. Capitalizing a letter in the middle of a word looks ugly.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 45_rewrite_man2hlp:
mc.spec: Added perl in build requires
Fixed bug: No newline at the end of file
Minor code cleanups
Fixed bug: Wrong last char processing in handle_alt_font
Fixed bug: Wrong string length calculation
Fixed bug: Wrong odd SH warning
Fixed string splitting by '\&' bug
Fixed backslash handling
Bug fix: Invalid content generation
Replace man2hlp (from C to perl)
Ticket #45: Build system does not allow cross compiling
The man2hlp program is build using the target compiler. The
resulting executable therefore does not work on the build host.
Since the man2hlp program is needed during compile time, the build
will fail.
Moved man2hlp into separate subdir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
View (F3) some file.
Switch Raw->Parse or Parse->Raw (F8).
Search any text, contained in the file.
Crash!
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
If filled region is larger than screen, NCurses doesn't fill it
unlike S-Lang. This patch fixes such behaviour: only visible part
of region is filled.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 320_menu_reorganization:
New "Panel options" configuration dialog is fully described.
New "Layout" configuration dialog is fully described.
New "Configuration options" dialog is fully described.
Some fixes for menu items help.
old_esc_mode option can be setup now in 'Configure options' dialog.
Reorganizing of 'Panel options' configuration dialog.
Applied mouse_scroll_pages option to the mouse wheel.
More options in configure dialogs.
Modified loading/saving panel options.
Configuration dialogs reorganization.
Refactoring of configuration handling.
Added new quick widget: quick_groupbox.
Ticket #320: menu and configuration dialogs reorganization.
Panel options are moved to new dialog.
Panel setup options are collected in a special structure.
Includes clean up.
Code indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>