Page MenuHome

Text Editor: add zoom in/out to view menu
Needs ReviewPublic

Authored by RedMser (RedMser) on Oct 31 2021, 3:24 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Text Editor: add zoom in/out to view menu

Adds another way of discovering font size options, as well as making
the options appear in the menu search.


Diff Detail

Repository
rB Blender
Branch
text-editor-zoom-menu (branched from master)
Build Status
Buildable 18649
Build 18649: arc lint + arc unit

Event Timeline

RedMser (RedMser) requested review of this revision.Oct 31 2021, 3:24 PM
RedMser (RedMser) created this revision.

In order to keep consistency, in those editors I checked, the Zoom options are exposed after the "checkbox settings".

This is the UV Editor:

Maybe @Hans Goudey (HooglyBoogly) could review this patch?

I want to note that on the sidebar, the same function is called Font Size, the tooltip says Font Size and I'm not sure if the term Zoom is used in the context of text editors.

@Yevgeny Makarov (jenkm) This patch is only exposing an existing function and it has already been key mapped. Do you want to call it something else?

the Zoom options are exposed after the "checkbox settings".

Will fix, since indeed all other editors (besides movie clip editor) do it in that order.

I want to note that on the sidebar, the same function is called Font Size, the tooltip says Font Size and I'm not sure if the term Zoom is used in the context of text editors.

I checked some programs that focus on plain text editing:

Visual Studio Code calls it "Editor Font Zoom In/Out"
Notepad, Notepad++ and WordPad call it "Zoom In/Out"

Visual Studio Code calls it "Editor Font Zoom In/Out"
Notepad, Notepad++ and WordPad call it "Zoom In/Out"

Well, all right then.

  • Re-order zoom items to be below the checkmark options
RedMser (RedMser) edited the summary of this revision. (Show Details)Nov 14 2021, 1:22 PM