[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] Bug in single-line text fields edited with an external editor
[Lynx-dev] Bug in single-line text fields edited with an external editor?
Sun, 2 Sep 2012 18:59:15 -0400
This happens to me especially when I'm writing a new blog post. I press
^Xe to start up Vim (so I can have spell checking) and then when I'm
finished with the external editor, Lynx truncates the text to the number
of characters specified by the
size attribute minus 1. If you type it without invoking an external
editor, it works fine. I know the ultimate hack would be just to dig
into the source code of the blogging platform I use and specify a size
long enough to fit a blog-post title, but that wouldn't solve the full
breadth of the defect. I have tried to fix the bug itself, but I really
can't make heads or tails out of the Lynx source code, e.g. where the
external editor is invoked, how and why the text is truncated, etc.
Here's example HTML:
<input type="text" size="3">
If you invoke the external editor and type "Hello", only "He" will
appear in the text field.
Keith Bowes <http://zooplah.farvista.net/>
- [Lynx-dev] Bug in single-line text fields edited with an external editor?,
Keith Bowes <=