From 0c0438352c1677443670f1348ddc4c014e4a3ffa Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 30 Jan 2003 16:39:29 +0000 Subject: [w3m-dev 03718] Too slow when loading big file with fold_line=1 * etc.c (nextColumn): added (calcPosition): use New_N rewrite with nextColumn (columnLen): added * file.c (addnewline): rewrite with columnLen * proto.h (columnLen): added From: Hironori SAKAMOTO --- proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 96b6b5a..6524894 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.86 2003/01/29 17:38:15 ukai Exp $ */ +/* $Id: proto.h,v 1.87 2003/01/30 16:39:40 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -302,6 +302,7 @@ extern void cursorXY(Buffer *buf, int x, int y); extern void restorePosition(Buffer *buf, Buffer *orig); extern int columnSkip(Buffer *buf, int offset); extern int columnPos(Line *line, int column); +extern int columnLen(Line *line, int column); extern Line *lineSkip(Buffer *buf, Line *line, int offset, int last); extern Line *currentLineSkip(Buffer *buf, Line *line, int offset, int last); extern int gethtmlcmd(char **s); -- cgit v1.2.3