Skip to content

Commit

Permalink
prevent repeated warnings in console
Browse files Browse the repository at this point in the history
  "Automatically scrolling cursor into view after selection change"
  "this will be disabled in the next version"
  "set editor.$blockScrolling = Infinity to disable this message"

cf. ajaxorg/ace#2499

> [...]  I'm calling a documented API, and it's in turn
> telling me to call an undocumented one.

and angular-ui/ui-ace#104
  • Loading branch information
mcast committed Jul 18, 2015
1 parent 856ac95 commit 55524ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@
themes = document.getElementById("themes");
editor = ace.edit("editor");
set_result.editor = editor;
editor.$blockScrolling = Infinity;
session = editor.getSession();
themelist = ace.require("ace/ext/themelist");

Expand Down

0 comments on commit 55524ef

Please sign in to comment.