CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

Persist syntax style of opened document when creating a new one

Open nuno-agostinho opened this issue 3 years ago • 3 comments

If I'm working on a Python script and open a new document, it would be nice if CotEditor automatically set the syntax to Python automatically.

nuno-agostinho avatar Apr 05 '21 14:04 nuno-agostinho

You can set the default syntax style in Preferences > Format pane.

Screen Shot 2021-04-06 at 22 01 20

1024jp avatar Apr 06 '21 13:04 1024jp

Hey @1024jp, I know I can set the default, but I usually work with different programming languages, so I have to change the syntax all time. What I am asking is for the "Default syntax style" to have the option of "Last syntax in use", for instance.

nuno-agostinho avatar Apr 06 '21 14:04 nuno-agostinho

Aha, I see. Thank you for the explanation. Hmm, then, let me think whether I implement or not.

1024jp avatar Apr 06 '21 14:04 1024jp