Browse Source

视觉修改

es6
windy 7 years ago
parent
commit
17834b9a4f
  1. 13
      bi/base.js
  2. 13
      dist/base.js
  3. 13
      dist/bundle.js
  4. 6
      dist/bundle.min.js
  5. 12
      src/base/layer/layer.floatbox.js
  6. 1
      src/base/single/editor/editor.code.js

13
bi/base.js

@ -15139,10 +15139,10 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._center, el: this._center,
left: 10, left: 20,
top: 10, top: 20,
right: 10, right: 20,
bottom: 10 bottom: 0
}] }]
} }
}, },
@ -15151,9 +15151,9 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._south, el: this._south,
left: 10, left: 20,
top: 0, top: 0,
right: 10, right: 20,
bottom: 0 bottom: 0
}] }]
}, },
@ -18996,6 +18996,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
} }
options.value = value; options.value = value;
this.editor.markText(from, to, options); this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
this.editor.focus(); this.editor.focus();
}, },

13
dist/base.js vendored

@ -15139,10 +15139,10 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._center, el: this._center,
left: 10, left: 20,
top: 10, top: 20,
right: 10, right: 20,
bottom: 10 bottom: 0
}] }]
} }
}, },
@ -15151,9 +15151,9 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._south, el: this._south,
left: 10, left: 20,
top: 0, top: 0,
right: 10, right: 20,
bottom: 0 bottom: 0
}] }]
}, },
@ -18996,6 +18996,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
} }
options.value = value; options.value = value;
this.editor.markText(from, to, options); this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
this.editor.focus(); this.editor.focus();
}, },

13
dist/bundle.js vendored

@ -40880,10 +40880,10 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._center, el: this._center,
left: 10, left: 20,
top: 10, top: 20,
right: 10, right: 20,
bottom: 10 bottom: 0
}] }]
} }
}, },
@ -40892,9 +40892,9 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._south, el: this._south,
left: 10, left: 20,
top: 0, top: 0,
right: 10, right: 20,
bottom: 0 bottom: 0
}] }]
}, },
@ -44737,6 +44737,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
} }
options.value = value; options.value = value;
this.editor.markText(from, to, options); this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
this.editor.focus(); this.editor.focus();
}, },

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

12
src/base/layer/layer.floatbox.js

@ -79,10 +79,10 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._center, el: this._center,
left: 10, left: 20,
top: 10, top: 20,
right: 10, right: 20,
bottom: 10 bottom: 0
}] }]
} }
}, },
@ -91,9 +91,9 @@ BI.FloatBox = BI.inherit(BI.Widget, {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
el: this._south, el: this._south,
left: 10, left: 20,
top: 0, top: 0,
right: 10, right: 20,
bottom: 0 bottom: 0
}] }]
}, },

1
src/base/single/editor/editor.code.js

@ -121,6 +121,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
} }
options.value = value; options.value = value;
this.editor.markText(from, to, options); this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
this.editor.focus(); this.editor.focus();
}, },

Loading…
Cancel
Save