not ready yet

This commit is contained in:
Corey Johnson
2011-09-16 15:35:59 -07:00
parent 6cb88dc7e4
commit 39080d0132
2 changed files with 2 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ class Editor extends Pane
@ace.getSession().getValue()
removeTrailingWhitespace: ->
return
@ace.replaceAll "",
needle: "[ \t]+$"
regExp: true

View File

@@ -98,7 +98,7 @@ Search.SELECTION = 2;
iterator = this.$forwardMatchIterator(session);
}
var ignoreCursorColumn = this.$options.wrap && this.$options.scope == Search.ALL;
var ignoreCursorColumn = false && this.$options.wrap && this.$options.scope == Search.ALL;
var start = session.getSelection().getCursor();
if (ignoreCursorColumn) {
session.getSelection().moveCursorTo(0, 0);