Disable blinking cursor ?

498 views
Skip to first unread message

Prathap BN

unread,
Aug 14, 2017, 11:33:28 PM8/14/17
to Firebase Google Group
Hello,

I am using a firepad based online code editor but blinking cursor on it is annoying.. I dont want the cursor to disappear but just want the blinking to stop..
I am not a CSS expert.. 
Can anyone help with custom CSS that can disable the blinking..

Thanks!

Kato Richardson

unread,
Aug 15, 2017, 1:38:15 PM8/15/17
to Firebase Google Group
Hi Prathap,

This probably depends on which example you based your editor on. Firepad supports rich text editing with CodeMirror and code editing via Ace. So you'd configure those tools to change the cursor.

I Googled "ace disable cursor blink" and came up with this article. And there is a similar one for CodeMirror here. Looks like those may be a good launching point.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0a38d2d2-b8c5-4356-a217-5446a2931792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Prathap BN

unread,
Aug 21, 2017, 2:00:08 AM8/21/17
to Firebase Google Group
Actually I just figured it out.. I had to just set the .ace_cursor property 'opacity' in CSS to 1.. It would alternate between 0 and 1, hence showing the blinking effect..


On Tuesday, 15 August 2017 10:38:15 UTC-7, Kato Richardson wrote:
Hi Prathap,

This probably depends on which example you based your editor on. Firepad supports rich text editing with CodeMirror and code editing via Ace. So you'd configure those tools to change the cursor.

I Googled "ace disable cursor blink" and came up with this article. And there is a similar one for CodeMirror here. Looks like those may be a good launching point.

☼, Kato
On Mon, Aug 14, 2017 at 6:36 PM, Prathap BN <pra...@gmail.com> wrote:
Hello,

I am using a firepad based online code editor but blinking cursor on it is annoying.. I dont want the cursor to disappear but just want the blinking to stop..
I am not a CSS expert.. 
Can anyone help with custom CSS that can disable the blinking..

Thanks!

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0a38d2d2-b8c5-4356-a217-5446a2931792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages