lynx-dev
[Top][All Lists]
Advanced

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

[Lynx-dev] lynx 2.8.7.dev.4 and text entry question


From: Virden, Larry W.
Subject: [Lynx-dev] lynx 2.8.7.dev.4 and text entry question
Date: Thu, 21 Jun 2007 10:19:47 -0400 (EDT)

lynx does a couple things frustrating when entering text and I wondered
whether there are any thoughts on ways around them.

1. lynx decides to break long text lines. This sometimes causes problems 
with the resulting html page. For instance, on wiki.tcl.tk, text on one
long line can be formatted as a bulleted (numbered, for instance) paragraph.
Breaking the text breaks the paragraph numbering...

2. Just recently, I've begun to notice that, when entering a textarea
containing text, making a change, and then submitting it (via post)
for update, the resulting block sent sometimes has additional white
space added.

Now, again talking about wiki.tcl.tk, leading white space is significant
for formatting. Another issue is that the change then shows up as if
I had added the spaces when someone looks at the revision history.

Here's a diff from a change this morning. I made the first change intentionally
- lynx made the remaining changes:

:q
srv29 (14211) $ ls -l ~/*.2?
/home/lwv27/*.2?: No such file or directory
srv29 (14212) $ ls ~
15280.txt.20.txt        X-backgrounds           l032
--- /home/lwv27/15280.txt.20.txt        Thu Jun 21 10:12:36 2007
+++ /home/lwv27/15280.txt.21.txt        Thu Jun 21 10:12:25 2007
@@ -9,3 +9,3 @@
 
-[http://mini.net/files/e2.jpg]
+[http://tclerswiki.googlepages.com/e2.jpg]
 
@@ -128,9 +128,9 @@
         set x [.t.t get 1.0 "end - 1c"]
-       set y {}
+        set y {}
         #26Apr2007,gold
-       foreach l [split $x "\n"] {
-       set space "    "        
-       set y "$y $space $l\n"
-       }
-       .t.t insert @0,0 $y
+        foreach l [split $x "\n"] {
+        set space "    "        ] {
+        set y "$y $space $l\n"
+        }
+        .t.t insert @0,0 $y
       }
~
~
~
~
~
~
~
~
 
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:address@hidden><URL: http://www.purl.org/NET/lvirden/ >
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-




reply via email to

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