| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LineAndColumn is now a template so that WindowCoords and BufferCoords
cannot be added together.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this helper permits to register a resource and cleanup function to keep
exception safety with C like resource. For exemple, to be sure that a
FILE* will be closed, you can use:
auto file = auto_raii(fopen("filename"), fclose);
file will auto cast to FILE* when needed, and will call fclose when
going out of scope.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A window cannot outlive it's buffer, so it makes sense to keep only a
reference on it hand have the buffer manage the window lifetime.
|
|
it also provide access to buffers by name
|
|
|
|
|
|
|
|
|
|
Currently only a linear undo, i.e. if you undo and then make some new
changes, previous undoed changes are lost. Final undo system should
support an undo tree, with timestamped modifications.
|
|
this permits to use range-based for loops to iterate on reversed
containers. Should work on any container implementing rbegin and rend.
|
|
|
|
Having the same type to specify coordinates in window space or buffer
space is error prone, now the compiler will tell if we use one for
another.
|
|
|
|
It was stored in buffer coordinates. Conversion methods added
|
|
|
|
|
|
|
|
|
|
when ENOENT
|
|
|
|
|
|
|