How to set `editor.$blockScrolling = Infinity`?
See original GitHub issueI’m getting these warnings:
Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
Where should I set editor.$blockScrolling = Infinity
to prevent these warnings?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Where to set Ace editor blockScrolling? - Stack Overflow
The correct one would be: var el = $(the_element); var editor = el.data('ace').editor; editor.$blockScrolling = Infinity;.
Read more >Javascript – Where to set Ace editor blockScrolling - iTecNote
Where to set that editor.$blockScrolling variable to remove those warnings? var aces = el.find('textarea.code.json'); var aceInit = function() { ...
Read more >A brand new website interface for an even better experience!
Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable ...
Read more >Top 5 ace-builds Code Examples - Snyk
blockScrolling = Infinity; var editorButtons = buttons.editor; var self = this; ... Set up ace editor // var editor = ace.edit(containers.editor); Object.
Read more >Bug #17913: deprecation warning on ACE editor - Foreman
"Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KevinMongiello try this:
@oluckyman @loretoparisi Try this. This worked for me.
var editor = ace.edit(“editor”);
editor.getSession().setMode(“ace/mode/javascript”); editor.$blockScrolling = Infinity;