Recent

Author Topic: Once font size is reduced, it never resets to the default  (Read 3106 times)

RedOctober

  • Sr. Member
  • ****
  • Posts: 450
Once font size is reduced, it never resets to the default
« on: March 14, 2018, 09:08:34 pm »
Platform:  Lazarus 1.8.1, FPC 3.0.5, on Windows Server Essentials 2016
Monitor: LG Ultrawide 29UM68-P 29" LED LCD Monitor

Problem Description:  I'm happily working away in my Lazarus IDE source code editor and my font size is at the correct setting, the default Courier New, 10.  I accidentally hold down the Ctrl key while scrolling down, and all my font get's smaller.  So I do the reverse, I hold down the Ctrl key while scrolling up.  The font gets bigger, but it's not the same ... it's "stretched".. always too wide or too tall.   I cannot seem to force it to revert back to non-stretched Courier New 10.

Question:  How do I force the one source code page I'm on, to revert to strictly Courier New 10, not stretched?


Thanks in advance.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Once font size is reduced, it never resets to the default
« Reply #1 on: March 14, 2018, 09:23:35 pm »
Hold ctrl and click the middle mouse.

You can change this in Tools -> Options > Editor > mouse

---------------
Actually not sure it will help.

Zoom back should have worked.
But, zoom acts on Font.Height. The editor options set Font.Size.

So as long as your font size is correctly represented by "Height" then it will work.
If your font size would result in a theoretical Height with fractions, then the fractions get lost.
« Last Edit: March 14, 2018, 09:29:40 pm by Martin_fr »

Thaddy

  • Hero Member
  • *****
  • Posts: 14157
  • Probably until I exterminate Putin.
Re: Once font size is reduced, it never resets to the default
« Reply #2 on: March 14, 2018, 09:26:55 pm »
You are sure everybody has a middle mouse? On all platforms? Or do you mean we have at least three mice connected and in an uneven setup? https://en.wikipedia.org/wiki/File:Apple_Macintosh_Plus_mouse.jpg
https://en.wikipedia.org/wiki/Computer_mouse
« Last Edit: March 14, 2018, 09:35:03 pm by Thaddy »
Specialize a type, not a var.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Once font size is reduced, it never resets to the default
« Reply #3 on: March 14, 2018, 09:32:18 pm »
Are you sure that html files should be stored with the extension .jpg?

Thaddy

  • Hero Member
  • *****
  • Posts: 14157
  • Probably until I exterminate Putin.
Re: Once font size is reduced, it never resets to the default
« Reply #4 on: March 14, 2018, 09:36:10 pm »
 :) Anyway: don't assume complex mice... One button is better.... My step son needs at least 12...
« Last Edit: March 14, 2018, 09:38:52 pm by Thaddy »
Specialize a type, not a var.

RedOctober

  • Sr. Member
  • ****
  • Posts: 450
Re: Once font size is reduced, it never resets to the default
« Reply #5 on: March 14, 2018, 10:03:13 pm »
Martin_fr's suggestion worked.  Thanks.  My mouse has two buttons and a scroll wheel, and the scroll wheel acts like a middle button if pushed.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Once font size is reduced, it never resets to the default
« Reply #6 on: March 14, 2018, 10:52:49 pm »
Martin_fr's suggestion worked.  Thanks.  My mouse has two buttons and a scroll wheel, and the scroll wheel acts like a middle button if pushed.
I usually change the zoom in/out from ctrl+mousewheel to alt+mousewheel and set the fast scroll to ctrl+mouse wheel to avoid those kind of problems.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018