Commit Graph

103 Commits

Author SHA1 Message Date
Serhiy Storchaka 633dd8153b Ticket #1995: Indicating sort order
In "featured" skin sorting order from up to down indicated by arrow «↑» (up),
and vica verse reversed order from down to up indicated by arrow «↓» (down).
This is contrintuitive and contradicts to behavior of other programs
(file managers, mail clients, etc).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:30:05 +02:00
Benny Pedersen 110977b161 Ticket #2010: Missing \s in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-07 14:12:23 +03:00
Andrew Borodin 8a97f22f30 Revert "Ticket #1987: added Cobol syntax highlighting."
This reverts commit a8d75fce1e.

The Cobol syntax description in misc/syntax/Syntax file
breaks highlighting of other syntaxes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-05 12:05:27 +00:00
Franz Wuerl a8d75fce1e Ticket #1987: added Cobol syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 14:35:55 +00:00
Slava Zanko 2b653ecf33 Ticket #1991: toggle panels view
Added keybinding for switch panels view (horizontally/vertically).

Default value for keybind is
[main]
CmdTogglePanelsView = alt-comma

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-04 11:29:16 +02:00
Andrew Borodin a77e64732c Ticket #1967: shell variables quoting in user menu.
Thanks to pavlinux for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-01 13:55:10 +00:00
Andrew Borodin e53f22a4c0 Syntax highlighting: added .HPP extension to the list of C/C++ sources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-26 16:39:30 +00:00
Slava Zanko 630efbd59a Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Ilia Maslakov 1da2c4113f Ticket #1559 (Search results highlighting in mcedit is too subtle)
changed default color pair for 'editbold' for more sensible.

    original issue:
    "It's a bit tricky to *search results of a search* in mcedit when default blue background is set.
    Default colour for search results highlighting should be probably changed to something more sensible;
    to my mind orange or red would be OK."

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-21 16:15:49 +03:00
Ilia Maslakov 3d184b4be6 Ticket #1945 (new editor action - select all/mark all)
add new editor action - 'Mark all', allow select all text in the current file.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-20 13:08:37 +03:00
Ilia Maslakov c3755f0c50 added keybind CK_Toggle_Show_Margin for toggle show right margin (with empty default key)
added new color pair for right margin (editrightmargin) into skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:31:40 +03:00
Ilia Maslakov 5203d6739d Ticket #1514 (show right margin)
* added new color pair EDITOR_RIGHT_MARGIN_COLOR
    * show right margin. Used EDITOR_RIGHT_MARGIN_COLOR color for drawing text beyond rigth edge.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:26:01 +03:00
Enrico Weigelt, metux IT service bcbdf6235e Ticket #1693: viewing .lyx with lyxcat, opening with lyx.
Signed-off-by: Enrico Weigelt, metux IT service <weigelt@metux.de>
2010-01-02 16:53:01 +03:00
Ilia Maslakov b03b234085 Ticket #1724 (mismatched hotkeys)
fixed mismatched hotkeys EditBeginRecordMacro, EditEndRecordMacro

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-25 15:10:23 +03:00
Ilia Maslakov 8c2e8c9702 Ticket #1724 (mismatched hotkeys)
fixed mismatched hotkeys EditBeginningOfText, EditEndOfText
    EditBeginPage, EditEndPage (mc.keymap.default, mc.keymap.emacs)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-15 14:54:52 +03:00
Tomasz Pala 2e97cf7fb7 Ticket #1659: Darker color style
Some fixies for skin.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-27 09:45:01 +02:00
Andrew Borodin d53630b800 Drop srpm VFS at all. rpm VFS is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Andrew Borodin eea8470a2d Added shortcuts to move to begin and end of text in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:52 +03:00
Andrew Borodin 5e68b69020 Many shortcuts were fixed.
Ticket #1764:
  * fxed shortcuts for select/unselect/reverse selection
of file group;
  * removed 'C-x C-c' default shortcut for Quit command.

Also fixed some emacs-like keybindings for editor and viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin eb2e4b0e17 Unified some commands that differ in its behaviour when called via menu or shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin ccabd60ffc Implemented keybindings for Help window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin e85f6b23e3 Added Viewer commands and shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin 6b71dc9f12 Added missed shortcuts for ButtonBar commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin da33e767e9 Type accuracy and code clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin efdb645468 Implemeted keybindings for Tree widget
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin 3f19a0eeb9 Ticket #1710: newlines are lost when pasting multiline text in editor.
When pasting multiline text with shift+mouse newline characters
are lost. Pasted text is not shown before any key is pressed.

Middle-mouse pasting in mc requires shift being pressed to keep mc
from interpreting the button press itself, so it is passing on to
xterm/gpm. That has the nice side effect that the pasted enter
characters are automatically shift-enter, which was simply interpreted
as newline-without-autoindent. However, the keybinding for shift-enter
have been lost in the course of #212 - it simply does nothing,
and consequently text is pasted without newlines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-13 12:03:33 +03:00
Slava Zanko 313e42d24d Revert "misc/mc.ext.in: added 3gp video"
This reverts commit 2f901ef642.

Patch is dirty. Added into repo misc/mc.ext - this is autogenerated
file and no need to store into repo.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-10 11:48:30 +02:00
Andrey Rahmatullin d740efceba misc/mc.ext.in: added mkv video 2009-11-09 12:16:13 +01:00
Andrey Rahmatullin 2f901ef642 misc/mc.ext.in: added 3gp video 2009-11-09 12:14:11 +01:00
Andrey Rahmatullin cf113f9215 misc/mc.ext.in: Adds exif(1) output when viewing jpeg files. 2009-11-09 12:11:32 +01:00
Andrey Rahmatullin 5d87893ffe misc/mc.ext.in: Opening .chm with kchmviewer with fallback to xchm 2009-11-09 12:09:59 +01:00
Andrey Rahmatullin c2542a9400 misc/mc.ext.in: Viewing .mo with msgunfmt 2009-11-09 12:03:04 +01:00
Martin Petricek 172cf43d27 Add misc/mc.ext (which is generated from misc/mc.ext.in) to .gitignore 2009-11-08 21:48:24 +01:00
Ilia Maslakov e634800048 Ticket #1793 (mc aborts then press ctrl-c)
fixed bindings for 'CmdQuietQuit'

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-05 11:36:52 +00:00
Andrew Borodin 61f7d72af6 Added shortcuts for CmdInfo (C-x i) and CmdQuickView (C-x q) commands.
There is a difference between CmdInfo and CmdMenuInfo commands:
  * CmdImfo is assigned with C-x i shortcut and changes the mode
    of inactive panel with flip-flop effect.
  * CmdMenuInfo is assigned with panel according with menu: Left
    or Right. There is no flip-flop effect of this command. This command
    must be present in keymap file to show the assigned shortcut in menu.

The above-written is appropriate for CmdQuickView and CmdMenuQuickView commands.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 20:36:48 +02:00
Slava Zanko 12ed4d0b45 Ticket #1753: panel: bad mounpoint is no longer 'red' highlighted
Restored behavior with stale mountpoint (now handled as stale link).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-29 16:48:51 +02:00
Ilia Maslakov 478328812f Ticket #244
add shared clipboard support

Signed-off-by: Ilia Maslakov <il.smind@google.com>

    Fixed memory leaks. Type accuracy. Optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

    * fixed ctrl-g handler
    * change action names from InputKillSave to InputXStore and InputPaste to InputXPaste
    * update mc.keymap.default mc.keymap.emacs

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 12:18:18 +00:00
Ilia Maslakov 359c9406d1 Ticket #1489 (indent block)
added bindings for shift block 'EditShiftBlockLeft', 'EditShiftBlockRight'
    EditShiftBlockLeft, EditShiftBlockRight - force move block without option_persistent_selections checking

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 07:58:30 +00:00
Ilia Maslakov 91c7dbb71c Ticket #1724 (forgotten hotkeys)
* fixed binding in mc.keymap.default and mc.keymap.emacs
    for CmdCopyCurrentTagged, CmdCopyOtherTagged,
    CmdCopyCurrentPathname, CmdCopyOtherPathname
    * fixed typo

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 06:23:51 +00:00
Slava Zanko 742eae18d2 Ticket #1703: SKIN: Make own colorpairs for buttonbar widget
Now buttonbar have own colorpairs:

[buttonbar]
    hotkey=red;black
    button=yellow;cyan

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-28 17:50:46 +02:00
Ilia Maslakov ca79091215 added skin 'Dark FAR' darkfar.ini
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-28 08:28:54 +00:00
Tomasz Pala 6d5cccc623 Ticket #1659: Darker color style (gotar.ini)
This is raw commit into master.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-27 22:45:34 +02:00
Ilia Maslakov d449c5f383 Ticket #1724 (fix for mc.keymap)
* fixed keybind for 'ViewMoveToBol', 'ViewMoveToEol'
    'EditScrollUpHighlight', 'EditScrollDownHighlight'
    * fixed hardcoded bindings into keybind.c
2009-10-26 21:29:39 +00:00
Andrew Borodin 7e33c12685 Show actual shortcuts in editor menu.
Key emulation in editor was removed. Default key emulation
is stored in misc/mc.keymap.default file. Emacs key emulation
is stored in misc/mc.keymap.emacs.
Editor options dialog was redesigned.
Shortcut parser was fixed.
Fixes after rebase to recent master.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:32 +03:00
Andrew Borodin 729d4f08a9 Implemented default actual shortcuts for main menu.
Some functions and commands are renamed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Andrew Borodin b3b332083c Use commands instead of callbacks to execute menu items.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Ilia Maslakov cb5836c2e0 Ticket #1667: Hardcoded colours
Problem:
BOOK_MARK_COLOR and BOOK_MARK_FOUND_COLOR are hardcoded
in edit/edit-widget.h and so cannot be changed via skin.

Solution:
Now these colors will configure via skin-file. Like:

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-24 16:42:04 +03:00
Slava Zanko 9f038952b0 Ticket #1618: menu.sr installed in wrong place
Bugreport:

When doing "make install" with default paths, "mc.menu" gets istalled into
{prefix}/etc/mc, but "mc.menu.sr" get installed into {prefix}/share/mc

Fix issue: Now mc.menu.sr will copyed into same place as mc.menu

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-21 10:36:27 +03:00
Andrey Rahmatullin 0daf01d7c2 Ticket #1690: mc.ext entry for .djvu
Opening .djvu with djview

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-20 02:01:34 +03:00
Slava Zanko 8fe4dc26c2 Cosmetic changes of panel interfase (relative to history list):
* Panel widget: History list button  changed  from v to [^]
 * Change drawing of history control elements for panel. Now if panel is active, show in reverse color just panel path.
 * Add reaction on mouse click on [] chars at top of panel
 * Added call of repaint_screen() function for correctly show panels content after click by mouse on 'hidden files' indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:30 +03:00