mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-14 05:53:36 -04:00
948d019fc0
Option document.browse.preferred_document_width controls the width of the document, so that documents are rendered with narrower width than screen width. Makes it easier to read paragraphs. Patch originally from Shalon Wood <dstar@pele.cx>, see bug #1063. Instead of using max_document_width as the hard limit to the document width, it uses a soft limit, where if the document does not fit (due to tables, etc.), then larger width is used. This reduces the need for horizontal scrolling for wide documents. Also added toggle-document-width action to toggle between preferred width and full screen width. This is bound to 'M' by default. Initial toggle status is determined by document.browse.use_preferred_document_width option. During dumps, document.dump.width option is still used. Perhaps we should consolidate document.dump.width option with document.browse.preferred_document_width ? |
||
---|---|---|
.. | ||
Makefile | ||
renderer.c | ||
renderer.h |