Community
Participate
Working Groups
Many reader apps on touch devices (like kindle app) support using a pinch gesture to change font size. It doesn't zoom the page, it just increments or decrements the font size in one point increments. This is very handy for reading and might be a neat feature to add to Eclipse editors as we get more and more touch-enabled devices. SWT already has the touch API it would just be a matter of listening for the right events and adjusting the preference.
CC Bog who may be able to point at particular API or examples.
See also bug 84776.
New Gerrit change created: https://git.eclipse.org/r/60263
I don't think zoom gestures should modify the font preference. It's too easy to change your font accidentally. This patch only changes the font size in the current editor. While pinching, the original and new font sizes are shown in the status bar (replace the caret position). Rotating in by 45˚ or more resets the font to the default.
Gerrit change https://git.eclipse.org/r/60263 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=a56140d40f573ac7967c3e16425dc7a30d49b546
.