Re: adjusting the page width

John Magolske <[email protected]>
Newsgroups gmane.comp.web.elinks.user
Message-ID <[email protected]>
* Y. Hida <[email protected]> [090508 17:20]:
> On 2009-05-08, John Magolske <[email protected]> wrote:
> >     document.browse.margin_width = 9
> >
> > will reduce the page width to 110 columns, but 9 is the maximum
> > value that can be set. Is there some way to achieve a narrower page
> > width? It would also be nice to somehow toggle between full-width
> > and reduced-width with a key binding.
> 
> If you can compile elinks from source, the following patch (against
> current git master) would do it.  This adds toggle-margin action
> (default keybind "M") to toggle the margin between 0 and the specified
> margin_width (which can be up to 100 now).

Thanks! This patch does exactly what I was looking for.

One question -- is there a way to have it toggle the margin between
say, 2 or 3 (rather than 0) and the specified margin_width? Maybe by
changing something in this line:

    +       "margin_width", 0, 0, 100, 3,

Regards,

John


-- 
John Magolske
http://B79.net/contact
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users
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.