Add missing params
This commit is contained in:
parent
d576d21154
commit
d0eac39245
4 changed files with 28 additions and 14 deletions
|
|
@ -280,8 +280,9 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
|
||||
/** related to: VirtualRenderer.onResize
|
||||
* Editor.resize()
|
||||
*
|
||||
* Editor.resize(force)
|
||||
* - force (Boolean): If `true`, recomputes the size, even if the height and width haven't changed
|
||||
*
|
||||
* {:VirtualRenderer.onResize}
|
||||
**/
|
||||
this.resize = function(force) {
|
||||
|
|
@ -290,7 +291,8 @@ var Editor = function(renderer, session) {
|
|||
|
||||
/**
|
||||
* Editor.setTheme(theme)
|
||||
*
|
||||
* - theme (String): The path to a theme
|
||||
*
|
||||
* {:VirtualRenderer.setTheme}
|
||||
**/
|
||||
this.setTheme = function(theme) {
|
||||
|
|
@ -308,7 +310,8 @@ var Editor = function(renderer, session) {
|
|||
|
||||
/** related to: VirtualRenderer.setStyle
|
||||
* Editor.setStyle(style)
|
||||
*
|
||||
* - style (String): A class name
|
||||
*
|
||||
* {:VirtualRenderer.setStyle}
|
||||
**/
|
||||
this.setStyle = function(style) {
|
||||
|
|
|
|||
|
|
@ -264,7 +264,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
/**
|
||||
* VirtualRenderer.updateFull()
|
||||
* VirtualRenderer.updateFull(force)
|
||||
* - force (Boolean): If `true`, forces the changes through
|
||||
*
|
||||
* Triggers a full update of all the layers, for all the rows.
|
||||
**/
|
||||
|
|
@ -287,8 +288,11 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
/**
|
||||
* VirtualRenderer.onResize(force)
|
||||
* VirtualRenderer.onResize(force, gutterWidth, width, height)
|
||||
* - force (Boolean): If `true`, recomputes the size, even if the height and width haven't changed
|
||||
* - gutterWidth (Number): The width of the gutter in pixels
|
||||
* - width (Number): The width of the editor in pixels
|
||||
* - height (Number): The hiehgt of the editor, in pixels
|
||||
*
|
||||
* [Triggers a resize of the editor.]{: #VirtualRenderer.onResize}
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue