aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:37:49 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:37:49 +0000
commit2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a (patch)
treedf1c80274d62481e6254607e55c06b98697648e1 /rc.c
parent[w3m-dev 02757] (diff)
downloadw3m-2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a.tar.gz
w3m-2e92ab8f6fe4714ef572e2f205b8e3bbeaa8551a.zip
[w3m-dev 02759] fold textarea
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/rc.c b/rc.c
index d1a0468..ac794b6 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.23 2001/12/14 17:35:08 ukai Exp $ */
+/* $Id: rc.c,v 1.24 2001/12/27 17:37:49 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -67,6 +67,7 @@ static char *config_file = NULL;
#define CMT_DISPLINK "リンク先の自動表示"
#define CMT_MULTICOL "ファイル名のマルチカラム表示"
#define CMT_ALT_ENTITY "エンティティを ASCII の代替表現で表す"
+#define CMT_FOLD_TEXTAREA "TEXTAREA の行を折り返して表示"
#define CMT_COLOR "カラー表示"
#define CMT_B_COLOR "文字の色"
#define CMT_A_COLOR "アンカーの色"
@@ -179,10 +180,11 @@ static char *config_file = NULL;
/* #define CMT_KANJICODE "Display Kanji Code" */
#define CMT_FRAME "Automatic rendering of frame"
#define CMT_ARGV_IS_URL "Force argument without scheme to URL"
-#define CMT_TSELF "use _self as default target"
+#define CMT_TSELF "Use _self as default target"
#define CMT_DISPLINK "Automatic display of link URL"
#define CMT_MULTICOL "Multi-column output of file names"
#define CMT_ALT_ENTITY "Use alternate expression with ASCII for entity"
+#define CMT_FOLD_TEXTAREA "Fold lines of TEXTAREA"
#define CMT_COLOR "Display with color"
#define CMT_B_COLOR "Color of normal character"
#define CMT_A_COLOR "Color of anchor"
@@ -390,6 +392,8 @@ struct param_ptr params1[] = {
{"multicol", P_INT, PI_ONOFF, (void *)&multicolList, CMT_MULTICOL, NULL},
{"alt_entity", P_CHARINT, PI_ONOFF, (void *)&UseAltEntity, CMT_ALT_ENTITY,
NULL},
+ {"fold_textarea", P_CHARINT, PI_ONOFF, (void *)&FoldTextarea,
+ CMT_FOLD_TEXTAREA, NULL},
{"ignore_null_img_alt", P_INT, PI_ONOFF, (void *)&ignore_null_img_alt,
CMT_IGNORE_NULL_IMG_ALT, NULL},
{"view_unseenobject", P_INT, PI_ONOFF, (void *)&view_unseenobject,