Syntax highlighting optimisations, bug fixes,
and support for ChangeLog entries and Makefiles
Этот коммит содержится в:
родитель
9cea114570
Коммит
eec0d1d3b9
@ -102,11 +102,7 @@
|
|||||||
#define SEARCH_DIALOG_OPTION_NO_CASE 4
|
#define SEARCH_DIALOG_OPTION_NO_CASE 4
|
||||||
#define SEARCH_DIALOG_OPTION_BACKWARDS 8
|
#define SEARCH_DIALOG_OPTION_BACKWARDS 8
|
||||||
|
|
||||||
#ifdef MIDNIGHT
|
|
||||||
#define SYNTAX_FILE "/.cedit/mcsyntax"
|
|
||||||
#else
|
|
||||||
#define SYNTAX_FILE "/.cedit/syntax"
|
#define SYNTAX_FILE "/.cedit/syntax"
|
||||||
#endif
|
|
||||||
#define CLIP_FILE "/.cedit/cooledit.clip"
|
#define CLIP_FILE "/.cedit/cooledit.clip"
|
||||||
#define MACRO_FILE "/.cedit/cooledit.macros"
|
#define MACRO_FILE "/.cedit/cooledit.macros"
|
||||||
#define BLOCK_FILE "/.cedit/cooledit.block"
|
#define BLOCK_FILE "/.cedit/cooledit.block"
|
||||||
|
@ -166,6 +166,10 @@ void edit_refresh_cmd (WEdit * edit)
|
|||||||
clr_scr();
|
clr_scr();
|
||||||
do_refresh();
|
do_refresh();
|
||||||
#else
|
#else
|
||||||
|
{
|
||||||
|
int fg, bg;
|
||||||
|
edit_get_syntax_color (edit, -1, &fg, &bg);
|
||||||
|
}
|
||||||
touchwin(stdscr);
|
touchwin(stdscr);
|
||||||
#endif
|
#endif
|
||||||
mc_refresh();
|
mc_refresh();
|
||||||
|
852
edit/syntax.c
852
edit/syntax.c
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
@ -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>
|
Tue Apr 28 06:11:08 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||||||
|
|
||||||
* view.c (toggle_wrap_mode, toggle_hex_mode): Force recalculation
|
* view.c (toggle_wrap_mode, toggle_hex_mode): Force recalculation
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user