1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
Yozo Hida 948d019fc0 Add preferred_document_width option.
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 ?
2017-11-21 16:09:13 +01:00
2017-11-18 09:50:40 +01:00
2017-11-21 16:09:13 +01:00
2005-12-29 04:35:02 +00:00
2017-11-19 20:48:15 +01:00
2012-11-03 23:05:37 +02:00
2008-05-15 19:21:32 +02:00
2017-11-11 13:13:37 +01:00
2008-06-30 20:36:47 +03:00

felinks

Fork of elinks

Description
No description provided
Readme 26 MiB
Languages
C 70.2%
C++ 15.3%
HTML 3.1%
Shell 2%
Component Pascal 1.5%
Other 7.6%