buffer/cursor: Handle EOF in ExtractCursor without crashing, add tests
Merge pull request #27 from dtcaciuc/master

buffer/cursor: Handle EOF in ExtractCursor without crashing, add tests
Add dedicated Selection class; make view track active selection.
Correct declaration of SelectionTypes; fix typo in EffectiveRange().
Merge pull request #31 from dtcaciuc/master

Add dedicated Selection class; make view track active selection.
Added Ctrl-A and Ctrl-M commands