Patched wordwrap JS error on startup
This commit is contained in:
parent
04f50482c8
commit
3da587e6e3
1 changed files with 1 additions and 1 deletions
|
|
@ -856,7 +856,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
this.getRowHeight = function(config, row) {
|
||||
var rows;
|
||||
if (!this.$useWrapMode) {
|
||||
if (!this.$useWrapMode || !this.$wrapData[row]) {
|
||||
rows = 1;
|
||||
} else {
|
||||
rows = this.$wrapData[row].length + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue