summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 23:49:51 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 23:49:51 +0800
commit926e1bd0914dd601923cec7de07dc192e76eda5c (patch)
tree5c4602cbe8c83e0ccf74537671c62bbd8c5e2c6b /sample
parentefcb25b78a9a91a309433347795b2df0c60d0972 (diff)
downloadpttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar.gz
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar.bz2
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar.lz
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar.xz
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.tar.zst
pttbbs-926e1bd0914dd601923cec7de07dc192e76eda5c.zip
vedit bug fixes
* bug fix: rewrite undelete_line() and block_delete() which was very complicated and buggy * bug fix: fix Ctrl-Q memory leak: should free memory of lines in edit_buffer_destructor() * bug fix: block_cancel() for add/remove line operations to avoid incorrect state * bug fix: join() add space character offset by one * bug fix: sometimes should redraw all but not due to last_margin incorrect * (not bug) make state consistency even for fields we don't care - block_cancel(): avoid dangling pointer curr_buf->blockline - don't assign line->len as 0 for deleted line * add edit_check_healthy() to check data structure consistency - you may #define SLOW_CHECK_DETAIL when debugging vedit * remove dead code (insert_c, Ctrl-_) * add/fix some comments ve.hlp update * remove description of dead function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r--sample/etc/ve.hlp11
1 files changed, 5 insertions, 6 deletions
diff --git a/sample/etc/ve.hlp b/sample/etc/ve.hlp
index 9db9dd94..2f9d21c8 100644
--- a/sample/etc/ve.hlp
+++ b/sample/etc/ve.hlp
@@ -5,7 +5,7 @@
¡i´å¼Ð²¾°Ê«ü¥O¡j
¡ö ©¹«á²¾°Ê¤@®æ ^A,Home ²¾¨ì¦¹¦æ¶}ÀY
¡÷ ©¹«e²¾°Ê¤@®æ ^E,End ²¾¨ì¦¹¦æµ²§À
- ¡ô,^P ©¹¤W²¾°Ê¤@¦æ (ESC-,) ²¾¨ìÀɮ׶}ÀY
+ ¡ô ©¹¤W²¾°Ê¤@¦æ (ESC-,) ²¾¨ìÀɮ׶}ÀY
¡õ ©¹¤U²¾°Ê¤@¦æ (ESC-.),^T ²¾¨ìÀÉ®×µ²§À
^B,PgUp ©¹¤W²¾°Ê¤@­¶ ^F,PgDn ©¹¤U²¾°Ê¤@­¶
^S,F3 ´M§ä¦r¦ê (ESC-L),F5 ¸õ¦Ü«ü©w¦æ
@@ -31,7 +31,8 @@
wb ¥Nªí¥Õ¦r¶Â©³
1wb ¥Nªí°ª«G¥Õ¦r¶Â©³..
¤ä´© overwrite & insert , ¥i»´©ö½s¿èÃþ¦ü Welcome µe­±
- ¦]¬YºØ­ì¦], ¨ú®ø¦b ansi editing ¤Uªº backspace¥\¯à:P
+ ¦]¬YºØ­ì¦], ¨ú®ø¦b ansi editing ¤Uªº backspace¥\¯à:P
+
¡i°Ï¶ô³B²z©R¥O¡j
(ESC-l), (ESC-SPACE) ³]©w¼Ð°O°Ï
^W Cut, §â¼Ð°O°Ï°Å¦Ü¼È¦sÀÉ 0
@@ -45,14 +46,12 @@
­Y»Ý­n§â¤å³¹ùتº¡u³¡¤À¡v¨ú¥X®É¡AESC-SPC ¤]¾A¥Î¡C
(ESC-0/5) Paste, ª½±µ¶K¤W¼È¦sÀÉ 0/5
(ESC-6-9) ¶K¤W¼È¦sÀÉ 6-9 ¡A¶K¤W«e¥ý¹wÄý
- (ESC-j) ±N¼Ð°O°Ï©¹¥ª²¾
- (ESC-k) ±N¼Ð°O°Ï©¹¥k²¾
(ESC-u) ¨ú®ø¼Ð°O°Ï
¡i¯S®í«ü¥O¡j
^U ¿é¤J ESC ½X(¥H * ªí¥Ü) ^C ÁÙ­ì/³]©w ANSI ¦â±m
- (ESC-y) ±Ï¦^»~§R¦æ ^_(Ctrl-/),(ESC--) ´_­ì¥Ø«e¦æ
+ (ESC-y) ±Ï¦^»~§R¦æ
(ESC-A) ¤Á´«ANSI±m¦â¼Ò¦¡ (ESC-I) ¤Á´«ÁY±Æ(indent)¼Ò¦¡
- (ESC-P) ¤Á´«ª`­µª½±µ¥´¼Ò¦¡ (ESC-R) ¤Á´«ª½±µ(raw)¿é¤J¼Ò¦¡
+ ^P ¤Á´«²Å¸¹¿é¤J¼Ò¦¡ (ESC-R) ¤Á´«ª½±µ(raw)¿é¤J¼Ò¦¡
^R Åã¥Ü¤W¦¸¦©À³°T®§ (ESC-U),F8 ¨Ï¥ÎªÌ¦Cªí
(ESC-i) ¶i¤Jµo§b¼Ò¦¡