Skip to content

Commit aea2b75

Browse files
committed
Merge branch 'master' of github.com:gskinner/regexr
2 parents 35d20b5 + 170c759 commit aea2b75

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

js/views/DocView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ SOFTWARE.
101101

102102
p.buildUI = function(el) {
103103
var expressionEditor = $.el(".editor.expr", el);
104-
var expCM = this.expressionCM = this.getCM(expressionEditor, {autofocus:true, maxLength:1000, singleLine:true}, "calc(100% - 5.5rem)", "auto");
104+
var expCM = this.expressionCM = this.getCM(expressionEditor, {autofocus:true, maxLength:2500, singleLine:true}, "calc(100% - 5.5rem)", "auto");
105105
expCM.on("change", $.bind(this, this.deferUpdate));
106106
expCM.on("mousedown", $.bind(this, this.expressionClick));
107107
expCM.on("change", $.bind(this, this.handleExpressionCMChange));
@@ -129,7 +129,7 @@ SOFTWARE.
129129
substTitle.addEventListener("mousedown", $.bind(this, this.onSubstClick));
130130

131131
var substEditor = $.el(".editor.subst", el);
132-
var substCM = this.substCM = this.getCM(substEditor, {maxLength:100, singleLine:true}, "100%", "auto");
132+
var substCM = this.substCM = this.getCM(substEditor, {maxLength:500, singleLine:true}, "100%", "auto");
133133
substCM.on("change", $.bind(this, this.deferUpdate));
134134
this.substHighlighter = new ExpressionHighlighter(substCM);
135135
this.substHover = new ExpressionHover(substCM, this.substHighlighter);

scss/tooltips.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
color: lighten($grey, 25%);
77
padding: $pad;
88
border-radius: 3px;
9+
word-wrap: break-word;
910

1011
hr {
1112
height: 0;

0 commit comments

Comments
 (0)