nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

commands/history: make history persist when changing files #129

Closed nelsam closed 6 years ago

nelsam commented 6 years ago

History used to persist when it was stored directly on the CodeEditor, but updates to decouple the CodeEditor from the commands have lost that. This fixes the history type to persist at the core of vidar and understand file changes.

Type

Tests

I have tested locally against:

I have included automated tests: