HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Option to disable the blinking cursor. #391

Open ghost opened 8 years ago

ghost commented 8 years ago

Is there a way I can turn off the blinking cursor when editing?

After some poking around, I was able to partially hack this in by editing the following obfuscated javascript file /Applications/Quiver.app/Contents/Resources/html-build/js/editor.js.

I inserted this.editor.renderer.$cursorLayer.setBlinking(false); after every occurence of this.editor=ace.edit(e[0]);

This patch disabled the blinking cursor in the markdown, latex, and code cells. The text and diagram cells remain unaffected.

ylian commented 8 years ago

I can add an option. Coming in 3.0.2.

ethan-funny commented 8 years ago

So whether this option was added? And how can I turn off the blinking cursor? Thanks!