tweaks for the new release
This commit is contained in:
parent
1ae86f896a
commit
6fad60f546
3 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
2014.11.08 Version 1.1.8
|
2014.11.08 Version 1.1.8
|
||||||
|
|
||||||
* API Changes
|
* API Changes
|
||||||
|
|
|
||||||
|
|
@ -150,9 +150,8 @@ var Editor = function(renderer, session) {
|
||||||
args: commadEvent.args,
|
args: commadEvent.args,
|
||||||
scrollTop: this.renderer.scrollTop
|
scrollTop: this.renderer.scrollTop
|
||||||
};
|
};
|
||||||
if (this.curOp.command.name)
|
if (this.curOp.command.name && this.curOp.command.scrollIntoView !== undefined)
|
||||||
this.$blockScrolling++;
|
this.$blockScrolling++;
|
||||||
// this.selections.push(this.selection.toJSON());
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.endOperation = function(e) {
|
this.endOperation = function(e) {
|
||||||
|
|
@ -161,7 +160,7 @@ var Editor = function(renderer, session) {
|
||||||
return this.curOp = null;
|
return this.curOp = null;
|
||||||
this._signal("beforeEndOperation");
|
this._signal("beforeEndOperation");
|
||||||
var command = this.curOp.command;
|
var command = this.curOp.command;
|
||||||
if (command.name && this.$blockScrolling)
|
if (command.name && this.$blockScrolling > 0)
|
||||||
this.$blockScrolling--;
|
this.$blockScrolling--;
|
||||||
if (command && command.scrollIntoView) {
|
if (command && command.scrollIntoView) {
|
||||||
switch (command.scrollIntoView) {
|
switch (command.scrollIntoView) {
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,16 @@ pause() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
read -p "enter version number for the build " VERSION_NUM
|
|
||||||
|
|
||||||
cd `dirname $0`/..
|
cd `dirname $0`/..
|
||||||
SOURCE=`pwd`
|
SOURCE=`pwd`
|
||||||
|
|
||||||
|
CUR_VERSION=`node -e 'console.log(require("./package.json").version)'`
|
||||||
|
git --no-pager log --first-parent --oneline v$CUR_VERSION..master
|
||||||
|
echo "current version is $CUR_VERSION"
|
||||||
|
read -p "enter version number for the build " VERSION_NUM
|
||||||
|
|
||||||
node -e "
|
node -e "
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var version = '$VERSION_NUM';
|
var version = '$VERSION_NUM';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue