Markdown Monster
Centered editor text...
Gravatar is a globally recognized avatar based on your email address. Centered editor text...
  thepanda
  All
  Oct 6, 2018 @ 12:33am

Hello there.

I'm trying to figure out how to center my editing column while in "zen" mode? I'd like to have it centered in the default editor sometimes as well, but keep the html preview left aligned. Is this possible? Also, is there any way to adjust the column width of the text you are editing?

I'm not sure if these settings have been right in front of my face and I've missed them... or if this is an issue for the Ace Editor folks? Or does AE already have this ability and I just haven't found the shortcuts/settings?

Thanks,

Roger

Gravatar is a globally recognized avatar based on your email address. re: Centered editor text...
  Rick Strahl
  thepanda
  Oct 6, 2018 @ 03:28pm

I'm not really sure what you're asking here.

Are you talking about in the editor or the preview? I'm not sure what 'centered in the default editor' refers to.

The column width for text wrapping is configurable in Ace Editor but I don't think it's exposed in MM.

session.setWrapLimitRange(50,50);

It breaks the wordwrap at that column. I can set that but is that really something you would want? Why not just resize the window to match the width you want to edit?

Gravatar is a globally recognized avatar based on your email address. re: Centered editor text...
  thepanda
  Rick Strahl
  Oct 16, 2018 @ 07:24am

Sorry, the question was poorly worded. I'm trying to increase the "gutters" or "padding" of the text column.

e.g. I want the text column/words to take up 60% of the frame while having 20% of the frame be black on the right side AND 20% of the frame on the left side blank. Like What VSCode can do in Zen. I can't remember if VSC does this in multi-frame...

Thanks!

© 1996-2024