Remove selected text before input or paste from clipboard.
Thanks to nikk9 <dev.nul@mail.ru> for the original patch.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 120_diff_view: (22 commits)
Update panels after closing the diff viewer.
Optimization of Diff Viewer construction and destruction.
added diff options dialog
added save/load diffview options.
Modified destroying of WDiff widget.
Repaint screen after encoding change.
Minor clean up.
Added usage of search engine.
added merge mechanism
Add new section [Diff Viewer] in man and built-in help.
Fixes of button bar handling.
buttonbar_call(): don't handle Fx button with non-defined command.
little fixup and optimization
fixed display utf-8 text in 8-bit locale
initial step to multiple encodings support and select codeset.
Fixed segfaults in standalone diff viewer.
src/diffviewer/ydiff.c: use GLib functions more widely.
diffviewer: Added libmc for build depends
Added capability to run MC as standalone diff viewer.
src/diffviewer/ydiff.c: code indentation & cleanup.
...
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>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fix g_array_foreach inoperability
As a result of nasty bug g_array_foreach did not call
passed callback for in-array elements
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
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>
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>
The info panels shows useful information about the currently selected
file (atime, mtime, ctime for instance). However, the label "Status:"
for ctime is clearly misleading. As we don't have enough space to label
it "Status changed", I suggest to go for "Changed:" instead. I think
this will make it much clearer what this date is all about, as I have
already seen users suggesting that "Status" is a weird label for
"Created", which is obviously not the case.
Also, "Changed" label is consistent with "CHange time" that we use for
column headers in the list mode elsewhere.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
My system wide .rarrc contains these switches
switches= -m5 -mdG -r -s -t -ol -tl
So whenever you list the contents of any archive or copy a file out of
it, RAR/UNRAR will traverse *all* sub directories (note -r, recursive
switch) in a current directory trying to find *all* archives with the
same name. So, the net result might be that unrar/rar will extract
the wrong file and spend a lot of time trying to find archives with
the same name.
That's why I strongly suggest disabling user/system configuration
for archive list and copyout operations (note the added -cfg switch).
I have contacted Eugene Roshal and he said that he won't disable -r switch
for extract and archive list operations, so, we can only fix this problem
on our side.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>