2000-04-06 Timur bakeyev <mc@bat.ru>

* syntax.c: Wery dirty fix to allow compilation of mceditor on ncurses
	based systems. Hope, this will make FreeBSD midc maintainer to enable
	build-in editor by default. Still, syntax highlighting is disabled.
	Need to port...
This commit is contained in:
Timur Bakeyev 2000-04-09 23:17:48 +00:00
parent 7ea86f14c0
commit cfc69f6769
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2000-04-06 Timur bakeyev <mc@bat.ru>
* syntax.c: Wery dirty fix to allow compilation of mceditor on ncurses
based systems. Hope, this will make FreeBSD midc maintainer to enable
build-in editor by default. Still, syntax highlighting is disabled.
Need to port...
2000-03-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtkedit/syntax.c (upgrade_syntax_file): possible buffer overflow * gtkedit/syntax.c (upgrade_syntax_file): possible buffer overflow
fixed, some messages gettext()ed again here and in fixed, some messages gettext()ed again here and in
gtkedit/editmenu.c:edit_about_cmd() gtkedit/editmenu.c:edit_about_cmd()

View File

@ -1548,6 +1548,11 @@ void edit_get_syntax_color (WEdit * edit, long byte_index, int *fg, int *bg)
*fg = NORMAL_COLOR; *fg = NORMAL_COLOR;
} }
int edit_check_spelling (WEdit * edit)
{
return 0;
}
#endif /* !defined(MIDNIGHT) || defined(HAVE_SYNTAXH) */ #endif /* !defined(MIDNIGHT) || defined(HAVE_SYNTAXH) */