cleanups
This commit is contained in:
parent
cfc553f66f
commit
44f2e923b4
2 changed files with 0 additions and 9 deletions
|
|
@ -140,7 +140,6 @@ exports.launch = function(env) {
|
||||||
anchorStart.getPosition(),
|
anchorStart.getPosition(),
|
||||||
anchorEnd.getPosition()
|
anchorEnd.getPosition()
|
||||||
);
|
);
|
||||||
console.log(range);
|
|
||||||
marker = env.editor.renderer.addMarker(range, "cool", "text");
|
marker = env.editor.renderer.addMarker(range, "cool", "text");
|
||||||
};
|
};
|
||||||
updateFloat();
|
updateFloat();
|
||||||
|
|
|
||||||
|
|
@ -59,14 +59,6 @@ var Test = {
|
||||||
assert.position(anchor.getPosition(), 1, 7);
|
assert.position(anchor.getPosition(), 1, 7);
|
||||||
},
|
},
|
||||||
|
|
||||||
"test insert text at line start in same row before cursor should move anchor column": function() {
|
|
||||||
var doc = new Document("juhu\nkinners");
|
|
||||||
var anchor = new Anchor(doc, 1, 4);
|
|
||||||
|
|
||||||
doc.insert({row: 1, column: 0}, "//");
|
|
||||||
assert.position(anchor.getPosition(), 1, 6);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test insert lines before cursor should move anchor row": function() {
|
"test insert lines before cursor should move anchor row": function() {
|
||||||
var doc = new Document("juhu\nkinners");
|
var doc = new Document("juhu\nkinners");
|
||||||
var anchor = new Anchor(doc, 1, 4);
|
var anchor = new Anchor(doc, 1, 4);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue