Can I change Preview popup timing

Viewed 22

I'm editing markdown using CotEditor. When I save a file my Marked 2 Preview pops up with the first changes in view. That's exactly what I want to happen.

However, it stays open so briefly I can't always click on the preview to keep it open to more carefully check my edits. So I have to click on the Marked 2 icon in my dock or cmd-tab.

If I could make it stay in focus for even a second or two longer it would improve my workflow. Is there a setting that will do that?

I should mention it's not a problem if my editor and Marked 2 are both full screen.
It's only a problem when each is a half screen and I need to slide my cursor from the left half to the right half before tapping my trackpad.

2 Answers

I misstated it a bit. I have several editor panes open that fill the entire screen. I'm editing in the left pane, Marked 2 is in the background on the right. So when Marked goes to the foreground it is visible next to my editor by dint of being in the foreground.

Then my view switches back to the full screen of my editor a second or two later. That's perfect unless I want to look at the Marked rendering longer to think about how I need to change what I'm editing, but I'm not fast enough to do it.

I'm on an M4 MacBook Pro -- I don't know if it's just speedier.

If I make Marked occupy the whole window I can click on it before it disappears, then switch to my editor with cmd tab. But the half screen each with Marked in the foreground is the most useful.

Does that make more sense?

I really believe CotEditor and Marked 2 are the perfect markdown editing workflow.

Maybe this short video shows it better. Marked is foregrounded for ~ 2 seconds then the foreground returns to CotEditor.

Please don't waste your time on this. I really meant this as a question, not a feature request. I can simply use cmd-click to foreground Marked after I see it pop up and go back into the background. I really appreciate it that Marked has an indicator for where the first change is. That's perfect for me.

I think I understand now. But adding a longer delay would mean an interruption to editing that I think wouldn't be acceptable. It seems like just cmd-tabbing to Marked when you want to see progress in this case would be ideal. You can also float the window permanently if you want to keep it in the foreground (pin icon in lower left of the preview), but I understand that's probably not ideal in this case.

Thanks Brett. cmd-tabbing is just fine. I just didn't know whether it was adjustable or not. I agree making it longer would not be useful as I sometimes don't even want to look at what changed, but get back to editing. I found a hack that solves my problem. If I have Marked fill the screen before editing critical sections (fn-ctl-F) the delay is longer and I can always catch it. Then I just fn-ctl-right_arrow to make it half width again. Problem solved.

It shouldn't be disappearing, it orders to the front and then just returns focus to the app that was foreground. Are you saying your editor windows overlap it and you want it to take foreground and stay there for a while?

There's no user setting for this delay at this point. It's meant to just bring Marked to the foreground above other apps' windows, and in most cases it's able to reactivate the previous app without bringing that apps windows to the foreground, but that doesn't always work.