Merge pull request #863 from ajaxorg/refactor_debugger
Refactor debugger
This commit is contained in:
commit
87f0f88201
6 changed files with 163 additions and 28 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue