kbiakov / CodeView-Android

Display code with syntax highlighting :sparkles: in native way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable blink animation on refresh of codeview

alokomkar opened this issue · comments

How do I disable blink animation when a codeview is reset.
programCodeView.setOptions(Options.Default.get(getContext()) .withLanguage(programLanguage) .withCode(programLines) .withTheme(ColorTheme.MONOKAI));

This code is used to set program lines to the code view, there's a blink which happens at this point. Can it be disabled?

Hi, thanks for reporting the issue! Fixed in latest release, use option:

options.disableHighlightAnimation()