Skip to content

Instantly share code, notes, and snippets.

@jviereck
Created January 4, 2010 21:34
Show Gist options
  • Save jviereck/268882 to your computer and use it in GitHub Desktop.
Save jviereck/268882 to your computer and use it in GitHub Desktop.
// From editor.js
_scrollViewVerticalScrollOffsetChanged: function() {
// The MAGIC line.
this.get('textView').syncNextRenderWith(this.get('gutterView'));
this.get('gutterView').adjust({
top: -this.getPath('scrollView.verticalScrollOffset')
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment