mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-01 12:42:57 +03:00
Syntax highlighting optimisations, bug fixes,
and support for ChangeLog entries and Makefiles
This commit is contained in:
parent
9cea114570
commit
eec0d1d3b9
@ -102,11 +102,7 @@
|
||||
#define SEARCH_DIALOG_OPTION_NO_CASE 4
|
||||
#define SEARCH_DIALOG_OPTION_BACKWARDS 8
|
||||
|
||||
#ifdef MIDNIGHT
|
||||
#define SYNTAX_FILE "/.cedit/mcsyntax"
|
||||
#else
|
||||
#define SYNTAX_FILE "/.cedit/syntax"
|
||||
#endif
|
||||
#define CLIP_FILE "/.cedit/cooledit.clip"
|
||||
#define MACRO_FILE "/.cedit/cooledit.macros"
|
||||
#define BLOCK_FILE "/.cedit/cooledit.block"
|
||||
|
@ -166,6 +166,10 @@ void edit_refresh_cmd (WEdit * edit)
|
||||
clr_scr();
|
||||
do_refresh();
|
||||
#else
|
||||
{
|
||||
int fg, bg;
|
||||
edit_get_syntax_color (edit, -1, &fg, &bg);
|
||||
}
|
||||
touchwin(stdscr);
|
||||
#endif
|
||||
mc_refresh();
|
||||
|
852
edit/syntax.c
852
edit/syntax.c
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,10 @@
|
||||
Wed Apr 29 03:06:09 1998 Paul Sheer <psheer@obsidian.co.za>
|
||||
|
||||
* syntax.c: some optimisations, as well as support for
|
||||
syntax highlighting of Makefiles and ChangeLog files.
|
||||
Fixed some syntax highlighting bugs. All C and C++
|
||||
keywords added.
|
||||
|
||||
Tue Apr 28 06:11:08 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||||
|
||||
* view.c (toggle_wrap_mode, toggle_hex_mode): Force recalculation
|
||||
|
Loading…
x
Reference in New Issue
Block a user