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>
* 1897_libc_respect_return_values:
Final Indentation of all touched files
Changes into src/consaver directory:
Changes into src/editor directory:
Changes into src directory:
Ticket #1897: Build breaks on ignored return values
Changes into lib directory
* samba: handling result of system() call
* rpc: handling write errors
* ftpfs: ignoring result of fwrite() on logfile (make compiler happy ;-))
* fish: proper handling of file io calls
* ignoring result of fwrite() on logfile (make compiler happy ;-))
* lib/util.c: handling fwrite() call errors in mc_util_write_backup_content()
* lib/utilunix.c:
* handling possible error on dup() in close_error_pipe()
* handling possible error on getcwd() in mc_realpath()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
On some systems i18n_checktimelength may vary not only depending on the
locale but also on the current month. This patch introduces a cyclic
check that loops through all of the months to find out which one has the
longest name.
However, since this function is called on every pannel reload and now
makes 24 calls to str_term_width1 and strftime it makes sense to
introduce a cache for the resulting value.
Thanks to Sergey Fionov <fionov@gmail.com> for the initial patch.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
* 1754_show_current_syntax:
Applied MC indentation policy.
Optimization: rid of edit_menubar global variable.
Optimization: rid of wedit and option_syntax_type global variables.
Type accuracy. Minor optimization.
Ticket #1754: show current syntax in 'Choose syntax highlighting' dialog.
Build fails with the following message:
Installed (but unpackaged) file(s) found:
/usr/bin/mcdiff
To fix this issue %{_bindir}/mcdiff has to be added to the list of the
packaged files.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
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>