small cleanup
This commit is contained in:
parent
9bf8eac28c
commit
54a2880634
3 changed files with 6 additions and 5 deletions
|
|
@ -243,7 +243,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="sideToggler">
|
<div class="sideToggler">
|
||||||
<div id="ellipsis_Document.getAllLines" class="ellipsis_description"><p>Returns all lines in the document as string array. Warning: The caller should not modify this array!</p>
|
<div id="ellipsis_Document.getAllLines" class="ellipsis_description"><p>Returns all lines in the document as string array.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="description"><p>Returns all lines in the document as string array. Warning: The caller should not modify this array!</p>
|
<div class="description"><p>Returns all lines in the document as string array. Warning: The caller should not modify this array!</p>
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ var Document = function(text) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all the lines in the document as a single string, split by the new line character.
|
* Returns all the lines in the document as a single string, joined by the new line character.
|
||||||
**/
|
**/
|
||||||
this.getValue = function() {
|
this.getValue = function() {
|
||||||
return this.getAllLines().join(this.getNewLineCharacter());
|
return this.getAllLines().join(this.getNewLineCharacter());
|
||||||
|
|
@ -191,7 +191,7 @@ var Document = function(text) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all lines in the document as string array. Warning: The caller should not modify this array!
|
* Returns all lines in the document as string array.
|
||||||
**/
|
**/
|
||||||
this.getAllLines = function() {
|
this.getAllLines = function() {
|
||||||
return this.getLines(0, this.getLength());
|
return this.getLines(0, this.getLength());
|
||||||
|
|
|
||||||
|
|
@ -738,9 +738,10 @@ var VirtualRenderer = function(container, theme) {
|
||||||
this.$changes |= changes;
|
this.$changes |= changes;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.$size.width)
|
if (!this.$size.width) {
|
||||||
|
this.$changes |= changes;
|
||||||
return this.onResize(true);
|
return this.onResize(true);
|
||||||
|
}
|
||||||
// this.$logChanges(changes);
|
// this.$logChanges(changes);
|
||||||
|
|
||||||
this._signal("beforeRender");
|
this._signal("beforeRender");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue