diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-16 21:22:58 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-16 21:22:58 +0800 |
commit | 5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b (patch) | |
tree | 433c1e503559c7b59edcbcb4e16679244ea26212 /mbbsd/edit.c | |
parent | 3b4e5cd6bab0cb7ac8bc1ac445d7d86ca558e38a (diff) | |
download | pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar.gz pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar.bz2 pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar.lz pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar.xz pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.tar.zst pttbbs-5b8ae2c4d6f73e6c762534586f8e86a0bc54de2b.zip |
- 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
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 10 |
1 files changed, 6 insertions, 4 deletions
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 |