From 5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 16 Jan 2008 13:22:58 +0000 Subject: - bbs: allow local mail for web based tarqueue - bbslua: unbind file api, add bbs.kball(), reduce kbhit min peek time - annouce: prevent deep directory crash - edit: syntax highlight update - pttbbs.conf: add ASKBOARD into default fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mbbsd/edit.c') diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 763b1b6a..60c719fc 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2076,9 +2076,9 @@ static const char *luaString[] = { static const char *luaBbs[] = { "ANSI_COLOR", "ANSI_RESET", "ESC", "addstr", "clear", "clock", - "clrtobot", "clrtoeol", "color", "ctime", "getch", "getdata", - "getmaxyx", "getstr", "getyx", "interface", "kbhit", "kbreset", "move", - "moverel", "now", "outs", "pause", "print", "rect", "refresh", + "clrtobot", "clrtoeol", "color", "ctime", "getch","getdata", + "getmaxyx", "getstr", "getyx", "interface", "kball", "kbhit", "kbreset", + "move", "moverel", "now", "outs", "pause", "print", "rect", "refresh", "setattr", "sitename", "sleep", "strip_ansi", "time", "title", "userid", NULL }; @@ -2511,7 +2511,9 @@ detect_attr(const char *ps, size_t len) if (!curr_buf->synparser) { curr_buf->synparser = 1; - curr_buf->indent_mode = 1; + // if you need indent, toggle by hotkey. + // enabling indent by default may cause trouble to copy pasters + // curr_buf->indent_mode = 1; } } #endif -- cgit v1.2.3