Forum > macOS / Mac OS X

Simulating a "Zen mode" in the code editor. [SOLVED]

(1/2) > >>

carl_caulkett:
* Mac Mini M1
* macOS 14.6.1
* Lazarus 3.99
* FPC 3.3.1

I've used Keyboard Maestro to map the Ctrl-Z keystroke onto Fn-F (the standard key. mappings didn't permit this!), which means I can toggle between full view and standard view in a much more comfortable way. However, what would be really great is to alter the width of the code gutter (see highlight in the attached image).

Ideally I would have a standard width gutter in standard view and the larger gutter width in the "Zen mode". I'm sure this is possible but I'd rather do it without messing with the IDE Internals (how ever much fun that may be ;)).

Any ideas, anyone?

zeljko:
Tools -> Options -> Display ?

carl_caulkett:
Thanks! It seem I can bump up the margin on 4 of the parameters, each by an additional 9 pixels. That's a total of 36 pixels! Not ideal, but it's the best that can be achieved easily ;)

Martin_fr:

--- Quote ---Ideally I would have a standard width gutter in standard view and the larger gutter width in the "Zen mode".
--- End quote ---
There is only one setting. That setting will be applied for any size of the window.


--- Quote ---Thanks! It seem I can bump up the margin on 4 of the parameters, each by an additional 9 pixels. That's a total of 36 pixels! Not ideal, but it's the best that can be achieved easily
--- End quote ---

The right margin goes up to 25 each. And you can change the actual content width.

carl_caulkett:

--- Quote from: Martin_fr on October 08, 2024, 09:40:50 pm ---
--- Quote ---Ideally I would have a standard width gutter in standard view and the larger gutter width in the "Zen mode".
--- End quote ---
There is only one setting. That setting will be applied for any size of the window.


--- Quote ---Thanks! It seem I can bump up the margin on 4 of the parameters, each by an additional 9 pixels. That's a total of 36 pixels! Not ideal, but it's the best that can be achieved easily
--- End quote ---

The right margin goes up to 25 each. And you can change the actual content width.

--- End quote ---

These are the settings I'm changing. The "Marks", "Line Number", "Changes" and "Folding" parameters all have a maximum of 10 pixels, unless I'm missing something!

Navigation

[0] Message Index

[#] Next page

Go to full version