Commit Graph

141 Commits

Author SHA1 Message Date
Andrew Borodin 56bbdeb15f Support of multiple editors and viewers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Ilia Maslakov 7f109a6e56 set default keys for Input* actions
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:27:00 +03:00
Ilia Maslakov a4e4378861 initial step to do mark in inpun fields
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>
2010-05-27 22:26:59 +03:00
Andrew Borodin 6d5c2628fe Ticket #2042: added a capability to create relative symlinks.
The original patch was posted by Anton Monroe <akm at meer dot net>
to mc-devel@gnome.org mailing list:
http://mail.gnome.org/archives/mc-devel/2006-April/msg00020.html

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-22 12:08:18 +04:00
Andrew Borodin 4ef4a5e032 Ticket #320: menu and configuration dialogs reorganization.
'Left'/'Right' menu was reorganized.
'File listing' menu item was added to fast switch file panel
to file listing mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:42 +04:00
Ilia Maslakov 718fdc8acc Ticket #2021 (MarkFileDown/MarkFileUp)
Added a new panel action 'PanelMarkFileDown'/'PanelMarkFileUp' for mark files and move cursor to the down or up after mark.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-14 18:18:37 +04:00
Andrew Borodin 296b8e6d79 Ticket #2025: changed URL for bug reports.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-08 18:15:59 +04:00
Ilia Maslakov 823387a793 Removed hardcoded hotkeys in dialog.c Replaced keymap's initialization from main.c into setup.c
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Collect keybind-related variables in src/keybind.[ch] files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-07 15:02:11 +04:00
Tomasz Pala 7dc6d62d4a Ticket #2179: gotar.ini update
Update the skin after the advent of mcdiff.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-06 15:13:35 +02:00
Yury V. Zaytsev 4ce950c225 Ticket #2127: updated file extension for "sh"
Removed spurious bash_userstuff from the regexp.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-05 16:24:14 +04:00
Slava Zanko 1eba5407ab Some fixies of ini.syntax (added default color)
also, misc/syntax/Makefile.am changed for install ini.syntax into system

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 16:43:12 +02:00
Karsten Hilbert 1243fc6fd7 Ticket #2126: DOS style INI files syntax
I am attaching a proposed syntax highlighting definition for
- gasp - DOS style INI files.

I'd love to set the

    option

part in

    option = value

to some other color, too, but didn't find the proper syntax
for that.

Karsten

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-04 16:43:12 +02:00
Ilia Maslakov 93247568d0 added diff options dialog
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:16:04 +04:00
Ilia Maslakov e5dc79a441 added merge mechanism
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:15:41 +04:00
Andrew Borodin f356d83972 Fixes of button bar handling.
Implemented handling of mouse actions in button bar.
Fixed vertical size of Diff Viewer widget.
DiffHelp action was added. F1 button was assigned for it.
Fixed some key bindings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:33 +04:00
Ilia Maslakov d60be3ca56 initial step to multiple encodings support and select codeset.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:32 +04:00
Ilia Maslakov 329ef3846a Ticket #120 (View diff files)
added src/diffviewer/ydiff.[ch] into project tree
    added entry 'View diff files' into 'Command' menu
    added 'diffviewer' color pairs
    fixed Makefile and configure.am
    added new binding CmdDiffView into '[main]' section
    Big thanx to 'Daniel Borca <dborca@yahoo.com>' for ydiff

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

    Added diffviewer own library

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    Fixed CFLAGS for diffviewer.

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

    changed skins, added section
        [diffviewer]
            added=
            changedline=
            changednew=
            changed=
            removed=
            folder=
            error=

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

Reimplementation of hardcoded shortcuts to keybindings.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:15 +04:00
Michelle Konzack b3315acf55 Ticket #2127: updated file extension for "sh"
I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line in Syntax which now
coloriser my BaSH configs nicely...

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-25 14:45:44 +02:00
Andrew Borodin c0c744ba08 Ticket #1660: color keyword names unification.
Changed name of following color keywords:

menu -> menunormal
linestate -> editlinestate

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 16:09:52 +04:00
Andrew Borodin 4e57b599cc Renamed frame symbol names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Sergei E. Ovsyannikov d8fb069e85 Ticket #1648: implemented single-line boxes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Mikhail S. Pobolovets 6f6ea1bc88 Normalized formating for syntax files
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 19:24:13 +03:00
Mikhail S. Pobolovets 5112cdc727 Asm syntax: redundant rules removed and some missed registers added
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 16:36:49 +03:00
Mikhail S. Pobolovets ae517852b0 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-04-04 13:46:58 +03:00
Andrew Borodin c8dae6fd8f Added extensions_case keyword in filehighlight.syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 10:18:45 +04:00
Mikhail S. Pobolovets 68bb7c20e3 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-03-27 21:19:19 +02:00
Thomas Jarosch 7e427c2cfa Ticket #2114: Don't treat files ending with a dot as gzip.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 10:18:56 +03:00
Mikhail S. Pobolovets e8ef170590 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-03-14 11:17:48 +02:00
Mikhail S. Pobolovets a99dc516e6 Small update: two new keywords for cabal syntax 2010-03-09 16:25:21 +02:00
Mikhail S. Pobolovets 8c0cfebbc1 Syntax files normalization
* tabs are replaced with spaces
    * trailing spaces are removed
2010-03-05 20:37:48 +02:00
Mikhail S. Pobolovets 33b7a382ea Syntax files for case insensitive languages has been updated
* 'caseinsensitive' option is on
    * redunt rules are removed

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-05 18:07:07 +02:00
Mikhail S. Pobolovets c330f876cf Ticket #2060: Cabal syntax update
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 19:27:22 +02:00
Mikhail S. Pobolovets 9537ff6fe0 Ticket #1770: added switch 'caseinsensitive' for syntax highlighting
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:42:58 +02:00
Andrew Borodin 4e44d4f7ce Ticket #1791: a nice dark skin created by Lee Bigelow.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-03 13:54:18 +00:00
Andrew Borodin 14b61d876c Ticket #2037: minor changes in source tree.
mc.charsets was moved from contrib/ to misc/.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:36:05 +00:00
Andrew Borodin 492ccbe0ee Ticket #1999: changed color of inactive visible main menu.
Added 'menuinactive' skin item to draw incative visible
main menu.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-23 19:01:56 +03:00
Andrew Borodin 83205ba97e Fixed extracting of archive content.
The command "Extract the contents of a compressed tar file"
fails if file name contains spaces.
Fixed duplcated pattern.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-20 17:30:53 +03:00
Andrew Borodin fda1fba5ef Ticket #1967: removed extra unneeded quotes in user menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-20 17:30:53 +03:00
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