Verify that #185 is already fixed. fix #185

This commit is contained in:
Fabian Jakobs 2011-07-22 12:19:43 +02:00
commit 841f39c57b
2 changed files with 34 additions and 0 deletions

View file

@ -43,6 +43,13 @@ var lang = require("pilot/lang");
var EventEmitter = require("pilot/event_emitter").EventEmitter;
var Range = require("ace/range").Range;
/**
* Keeps cursor position and the text selection of an edit session.
*
* The row/columns used in the selection are in document coordinates
* representing ths coordinates as thez appear in the document
* before applying soft wrap and folding.
*/
var Selection = function(session) {
this.session = session;
this.doc = session.getDocument();