text alignment and list item markers

"corvid" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20111113012110.GA478@local>
Any objection to removing the special case for putting list item markers
at the far left even when the text is centered or whatever?
I've never liked this weird special case, and I see that Firefox doesn't
do it, anyway.

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
listitem_align.diff (text/plain, 731 B)
diff -r 284f9065236f dw/textblock.cc
--- a/dw/textblock.cc	Sat Nov 12 20:35:34 2011 +0000
+++ b/dw/textblock.cc	Sun Nov 13 01:16:11 2011 +0000
@@ -1079,15 +1079,7 @@
       if (leftOffset < 0)
          leftOffset = 0;
 
-      if (hasListitemValue && lastLine == lines->getRef (0)) {
-         /* List item markers are always on the left. */
-         lastLine->leftOffset = 0;
-         words->getRef(0)->effSpace = words->getRef(0)->origSpace + leftOffset;
-         //DBG_OBJ_ARRSET_NUM (this, "words.%d.effSpace", 0,
-         //                    words->getRef(0)->effSpace);
-      } else {
-         lastLine->leftOffset = leftOffset;
-      }
+      lastLine->leftOffset = leftOffset;
    }
    mustQueueResize = true;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.