Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Imms
f03d00a497 Clean up buffer clean up/fill logic
The alt buffer is now cleared immediated after activating the normal buffer and
is filled when switching to it. The tests were failing because the alt buffer
wasn't being cleared properly with the previous solution.
2017-08-05 19:42:54 -07:00
Joao Moreno
9e80a12462 fix tests 2017-07-25 17:17:48 +02:00
Daniel Imms
59f75555bc Add IBuffer, IBufferSet and fix CircularList type 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
cb5a452c90 Implement tests for Buffer and BufferSet 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
2806288489 Add semicolons 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
83efc9afc4 Fix SelectionManager tests 2017-07-16 03:47:15 +03:00
Oleksandr Andriienko
de82bd00ae Fix some tests and docs, little code fix up.
Fix some tests and docs. Add ability to run one test file with help gulp task.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
4626e19b75 Move scrollTop and scrollBottom into Buffer 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
0ea2e9cfd6 Update jsdom to 1.11
Also, add package-lock.json
2017-07-08 10:59:38 +03:00
Daniel Imms
7463166aec Fix tests 2017-07-02 12:29:31 -07:00
Daniel Imms
7b46940772 Have Terminal.hasSelection return false when no selection
Fixes #724
2017-06-20 10:38:33 -07:00
Daniel Imms
07882c42dc Also consider ' and " word separators
For example URIs in json
2017-06-18 11:51:00 -07:00
Daniel Imms
7f2e94c30c Don't select colon or brackets when double clicking
Fixes #713
2017-06-18 10:38:04 -07:00
Daniel Imms
e88a9ffd89 Fix bug when selection end is less than start 2017-06-07 19:17:38 -07:00
Daniel Imms
a047359f81 Add more selection manager/model tests 2017-06-07 14:37:09 -07:00
Daniel Imms
2b2431824f Fix select all with no start and include content below viewport 2017-06-06 23:13:50 -07:00
Daniel Imms
7147787441 Undo CiruclarList id changes, fix null check, lint 2017-06-06 22:59:16 -07:00
Daniel Imms
fd91c5e1a8 Add _selectLineAt test 2017-06-06 15:22:35 -07:00
Daniel Imms
d3865ad23f Add some SelectionManager selectWorkAt tests, fix lint 2017-06-01 17:36:47 -07:00