Select to the word at the mouse after double click

Fixes #697
This commit is contained in:
Daniel Imms
2017-06-18 12:52:43 -07:00
parent 663d3b24cd
commit 4b170ca43f
3 changed files with 45 additions and 12 deletions
+1 -3
View File
@@ -11,8 +11,6 @@ class TestSelectionModel extends SelectionModel {
) {
super(terminal);
}
public areSelectionValuesReversed(): boolean { return this._areSelectionValuesReversed(); }
}
describe('SelectionManager', () => {
@@ -39,7 +37,7 @@ describe('SelectionManager', () => {
});
});
describe('_areSelectionValuesReversed', () => {
describe('areSelectionValuesReversed', () => {
it('should return true when the selection end is before selection start', () => {
model.selectionStart = [1, 0];
model.selectionEnd = [0, 0];