summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-22Selectors: fix select_matchingMaxime Coste
2011-09-22basic g (go) command, gg/gt goes to first line, gb goes to lastMaxime Coste
2011-09-22Selectors: more vi-like words movementsMaxime Coste
2011-09-22Window: add move_cursor_to methodMaxime Coste
2011-09-22Selection: fix canonicalizeMaxime Coste
2011-09-22Buffer: add line_count methodMaxime Coste
2011-09-22o key to open a line after the current oneMaxime Coste
2011-09-21Selectors: add a basic select_matching selector for <([{]])> pairsMaxime Coste
2011-09-21Move selectors function to their own fileMaxime Coste
2011-09-20RegexSelector: wrap on top if neededMaxime Coste
2011-09-19Insert: refactoring using IncrementalInserterMaxime Coste
2011-09-19Window: add a IncrementalInserter class for insert modeMaxime Coste
2011-09-19LineAndColumn: fix operator[+-]=Maxime Coste
2011-09-18Window: fix eraseMaxime Coste
2011-09-17Window: code cleanup and more intelligent Selection classMaxime Coste
2011-09-17Shift-{H,J,K,L} keys move cursor while selecting.Maxime Coste
2011-09-17LineAndColumn: move to it's own header and add operator[+-]=?Maxime Coste
LineAndColumn is now a template so that WindowCoords and BufferCoords cannot be added together.
2011-09-16select_to_next_word{,_end}: words are [a-zA-Z0-9]Maxime Coste
2011-09-16Configure filename completer for edit and write commandsMaxime Coste
2011-09-16CommandManager: support per command configurable completionMaxime Coste
2011-09-16complete_filename: accept cursor_position as additional parameterMaxime Coste
2011-09-14prompt: rework tu support arrows and completion cyclingMaxime Coste
2011-09-14Completion: dedicated completion header and basic filename completionMaxime Coste
2011-09-14utils: add auto_raii helper functionMaxime Coste
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.
2011-09-13CommandManager: basic command name completion supportMaxime Coste
2011-09-09assert: custom implementationMaxime Coste
2011-09-09exception: refactoringMaxime Coste
2011-09-08Add a buffer command to switch between existing buffersMaxime Coste
2011-09-08Buffer is now responsible for window creationMaxime Coste
2011-09-08Makefile: add rule for tagsMaxime Coste
2011-09-08Window lifetime is now handled by it's buffer.Maxime Coste
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.
2011-09-08Add a BufferManager singleton class, handling buffer lifetimeMaxime Coste
it also provide access to buffers by name
2011-09-08utils: add operator== (const std::unique_ptr<T>&, T*)Maxime Coste
2011-09-07Refactor commands handling and parsing in a CommandManager classMaxime Coste
2011-09-06binding of undo to 'u' and redo to 'U'Maxime Coste
2011-09-06Window: basic binding of bufffer undo featureMaxime Coste
2011-09-06Buffer: Undo/Redo implementationMaxime Coste
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.
2011-09-06utils: Add reversed template helper for container iterationMaxime Coste
this permits to use range-based for loops to iterate on reversed containers. Should work on any container implementing rbegin and rend.
2011-09-06Buffer: accept initial content in constructorMaxime Coste
2011-09-05LineAndColumn: segregate into WindowCoord and BufferCoordMaxime Coste
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.
2011-09-05window: support scrollingMaxime Coste
2011-09-05window: cursor position is now stored in window coordinateMaxime Coste
It was stored in buffer coordinates. Conversion methods added
2011-09-02insert: print '-- INSERT --' in status lineMaxime Coste
2011-09-02RegexSelector: search the entire buffer instead of the current lineMaxime Coste
2011-09-02add const BufferIterator::Buffer& buffer() methodMaxime Coste
2011-09-02better exception handling in edit and write_bufferMaxime Coste
2011-09-02create_buffer_from_file: throw file_not_found instead of open_file_error ↵Maxime Coste
when ENOENT
2011-09-02prompt: correctly handle backspace when emptyMaxime Coste
2011-09-02main: catch all exceptions, close ncurses and rethrowMaxime Coste
2011-09-02Initial commitMaxime Coste