[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx, text areas, and long line wrapping question

From: Vlad Harchev
Subject: Re: lynx-dev Lynx, text areas, and long line wrapping question
Date: Mon, 30 Jul 2001 16:28:53 +0500 (SAMST)

On Sun, 29 Jul 2001, Larry W. Virden wrote:

> From: Vlad Harchev <address@hidden>
> > Conclusion: Larry, it seems you are trying to edit textarea content in
> >external editor (but you didn't mention it). Yes, if you'll type very long
> Yes, I am editing via an external editor.
> > line in text editor, lynx will ask whether to wrap it, and if you say no and
> Long in this case seems to be 'wider than about 70 chars'.

 Yes, it seems to be the width of input field on the screen.
> the line was longed than 2k, it will still wrap lines at 2k unconditionally.
> This is nasty.  If it is programmed to refuse to honor my request, then
> it should not bother asking me!
> Also, 2k is too small, in my opinion.  Any reason why this particular
> limit was chosen?  And any chance this limit could at the very least be
> a configure option of some sort?

 I hope some day it will be :)

 I grepped through the source and found that the limit is set in
src/LYStrings.h in the definition of _EditFieldData - by the size of the
'buffer' field (declared as array of 1024 chars, with 1024 specified
explicitly, not as value of some macros).
 So feel free to modify that number and recompile the lynx.
 So the limit is 1k, not 2k.

 I think we should welcome the patch that will allow to set the size of the
input field via 'configure' option.

 Best regards,

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]