Code52/DownmarkerWPF — pull request #126 by TomWij (2012-02-20 20:40:44+00:00)
Title: Introduced Font Size Settings and changed the scrolling to be Procentual.

![](http://i.imgur.com/EqPTg.jpg)

I've added a `Display Font Size` setting in the settings dialog, which applies to the editor and will zoom the preview accordingly. In order for scrolling to work for long files as well as for different font sizes, I've changed the scrolling to be percentual rather than based on the offset of the editor.

This yields very good scrolling except where images are used (which was also a problem with the offset scrolling), but that would require one to write a scrolling system that find words near the text cursor in both windows (or something like that). A workaround for the user is to just placing some newlines before or after placing an images, but that's outside the scope of my pull request (this was already in place before my fork and my scrolling improves upon it but isn't "picture perfect" either).

People (like me) can now enjoy bigger font sizes (and improved scrolling as a side effect)... :)

![](http://i.imgur.com/lHlra.jpg)

PS: Ignore the red underlining, the spell checker doesn't like Lorem Ipsum...