D21412: Add action to reset font size
noreply at phabricator.kde.org
Sun May 26 11:30:41 BST 2019
cullmann requested changes to this revision.
cullmann added a comment.
This revision now requires changes to proceed.
Hi, this is a good start!
Thanks for taking care of this.
I think to get the "default font", you need to call KateRendererConfig::global()->font() instead of using a default constructed QFont. That should return the font configured in the KTextEditor settings.
For the shortcut: I guess you should use KStandardShortcut::ActualSize().
As we now have three actions just for zooming I think some "Zoom" sub-menu would be nice.
To: kishoreg, #ktexteditor, cullmann
Cc: cullmann, kwrite-devel, kde-frameworks-devel, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel