deathau / cm-typewriter-scroll-obsidian

Typewriter Scroll Obsidian Plugin
169 stars 15 forks source link

Typewriter Scroll breaks plugin Remember Cursor Position #25

Open Corgi opened 2 years ago

Corgi commented 2 years ago

Per dy-sh/obsidian-remember-cursor-position#16, Typewriter Scroll breaks this other plugin's primary function by resetting the position to the head of the file. I don't know enough about JS to know if there is an elegant way to make these plugins interact, but I have personally commented out line 79 in main.js, where it reads var cursor = cm.getCursor('head'); and it solved my problem. Obviously this will be reset the next time Typewriter updates, but it would be great if there were a solution to this conflict built-in. My bad---didn't test this properly and it does not work after all.

Typewriter Scroll makes my writing much more pleasant, thank you for your hard work!

chenyukang commented 2 years ago

Yes, get the same issue. @Corgi how do you resolve it in the end?

Corgi commented 2 years ago

@chenyukang I never did resolve this unfortunately :( I've since moved on to other apps (in my case Dabble Writer, which is a web app) for my purposes.