From 44f2e923b4b2544c30197c3a069fbafe2a41b99b Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 11 Feb 2011 11:34:35 +0100 Subject: [PATCH] cleanups --- demo/demo.js | 1 - lib/ace/test/anchor_test.js | 8 -------- 2 files changed, 9 deletions(-) diff --git a/demo/demo.js b/demo/demo.js index aeaffce7..9296df52 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -140,7 +140,6 @@ exports.launch = function(env) { anchorStart.getPosition(), anchorEnd.getPosition() ); - console.log(range); marker = env.editor.renderer.addMarker(range, "cool", "text"); }; updateFloat(); diff --git a/lib/ace/test/anchor_test.js b/lib/ace/test/anchor_test.js index a531fe35..47191799 100644 --- a/lib/ace/test/anchor_test.js +++ b/lib/ace/test/anchor_test.js @@ -59,14 +59,6 @@ var Test = { 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() { var doc = new Document("juhu\nkinners"); var anchor = new Anchor(doc, 1, 4);