Merge pull request #863 from ajaxorg/refactor_debugger

Refactor debugger
This commit is contained in:
Lennart Kats 2012-08-16 13:56:13 -07:00
commit 87f0f88201
6 changed files with 163 additions and 28 deletions

View file

@ -890,26 +890,20 @@ var VirtualRenderer = function(container, theme) {
/**
* VirtualRenderer.addGutterDecoration(row, className) -> Void
* - row (Number): The row number
* - className (String): The class to add
*
* Adds `className` to the `row`, to be used for CSS stylings and whatnot.
* Deprecated (moved to EditSession)
**/
this.addGutterDecoration = function(row, className){
this.$gutterLayer.addGutterDecoration(row, className);
this.$loop.schedule(this.CHANGE_GUTTER);
};
/**
* VirtualRenderer.removeGutterDecoration(row, className)-> Void
* - row (Number): The row number
* - className (String): The class to add
*
* Removes `className` from the `row`.
* Deprecated (moved to EditSession)
**/
this.removeGutterDecoration = function(row, className){
this.$gutterLayer.removeGutterDecoration(row, className);
this.$loop.schedule(this.CHANGE_GUTTER);
};
/**