CaptainBeyondDS8/text-editor-8000

Don't immediately prompt to save when creating empty editor

CaptainBeyondDS8 opened this issue · 1 comments

Currently TE8k prompts the user to either open a file or create a new one. Text editors usually just create a blank editor and allow the user to save when they feel like.

This has been one of my nits with Turbo Editor and I would like to eventually address it in TE8k.

cc https://github.com/vmihalachi/turbo-editor/issues/151

So as far as I can tell this only occurs when SAF is enabled. If I turn off SAF, I get a blank buffer that I can save later. That tells me it's actually a bug related to how the SAF preference was implemented.

A workaround for now is to disable SAF, select new file, and then re-enable SAF.