diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-26 08:10:43 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-26 08:10:43 +0000 |
commit | 9726b596a71c97a891df6fcf98ff3f55d1aafc8f (patch) | |
tree | 6d6061a6d0998aa0a5951029c0bfeb324d866b8d /rc.c | |
parent | * [w3m-dev-en 00781] "Clemens Fischer" <ino-waiting@gmx.net> (diff) | |
download | w3m-9726b596a71c97a891df6fcf98ff3f55d1aafc8f.tar.gz w3m-9726b596a71c97a891df6fcf98ff3f55d1aafc8f.zip |
[w3m-dev-en 00783] hsaka@mth.biglobe.ne.jp (Hironori SAKAMOTO)
add display_lineinfo option
* display.c (displayBuffer): check displayLineInfo
* fm.h (displayLineInfo): added
* rc.c (CMT_DISPLINEINFO): added
(display_lineinfo): added
* NEWS (rc: display_lineinfo): add
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'rc.c')
-rw-r--r-- | rc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.50 2002/10/25 20:02:41 ukai Exp $ */ +/* $Id: rc.c,v 1.51 2002/10/26 08:10:43 ukai Exp $ */ /* * Initialization file etc. */ @@ -66,6 +66,7 @@ static char *config_file = NULL; #define CMT_ARGV_IS_URL "scheme のない引数も URL とみなす" #define CMT_TSELF "targetが未指定の場合に_selfを使用する" #define CMT_DISPLINK "リンク先の自動表示" +#define CMT_DISPLINEINFO "現在の行番号の表示" #ifdef USE_IMAGE #define CMT_DISP_IMAGE "インライン画像を表示" #define CMT_AUTO_IMAGE "インライン画像を自動で読み込む" @@ -208,6 +209,7 @@ static char *config_file = NULL; #define CMT_ARGV_IS_URL "Treat argument without scheme as URL" #define CMT_TSELF "Use _self as default target" #define CMT_DISPLINK "Display link URL automatically" +#define CMT_DISPLINEINFO "Display current line number" #ifdef USE_IMAGE #define CMT_DISP_IMAGE "Display inline images" #define CMT_AUTO_IMAGE "Load inline images automatically" @@ -465,6 +467,8 @@ struct param_ptr params1[] = { {"target_self", P_CHARINT, PI_ONOFF, (void *)&TargetSelf, CMT_TSELF, NULL}, {"display_link", P_INT, PI_ONOFF, (void *)&displayLink, CMT_DISPLINK, NULL}, + {"display_lineinfo", P_INT, PI_ONOFF, (void *)&displayLineInfo, + CMT_DISPLINEINFO, NULL}, {"ext_dirlist", P_INT, PI_ONOFF, (void *)&UseExternalDirBuffer, CMT_EXT_DIRLIST, NULL}, {"dirlist_cmd", P_STRING, PI_TEXT, (void *)&DirBufferCommand, |