summaryrefslogtreecommitdiff
path: root/src/editor.cc
AgeCommit message (Collapse)Author
2012-09-26Editor now stores selections as SelectionAndCapturesListMaxime Coste
2012-09-26Extract IncrementalInserter::Mode as InsertModeMaxime Coste
move ClientMode classes in a namespace due to InsertMode name collisions
2012-09-24remove selection stack from editorMaxime Coste
2012-09-10Buffer: Allow inserting at the end when the inserted text ends with an end ↵Maxime Coste
of line Adapted other code in consequence and added unit tests so that this behavior is maintained.
2012-09-07Editor::{select,move_cursor} takes a enum SelectMode parameter instead of a ↵Maxime Coste
boolean
2012-09-03fix open line above for first line and add a unit testMaxime Coste
2012-08-27IncrementalInserter: Fix avoid_eol behaviorMaxime Coste
2012-08-15avoid keeping end of lines selected in Editor::eraseMaxime Coste
2012-08-15Buffer::{iterator_at,clamp} takes an optional avoid_eol parameterMaxime Coste
when avoid_eol is true, clamping does avoid end-of-line if possible
2012-08-10Buffer: move back Modification as an implementation detailMaxime Coste
* Filters now only works on insertion and take directly the iterator and content * use Buffer::insert and Buffer::erase to modify a buffer
2012-07-30editor.cc: remove unused id_not_uniqueMaxime Coste
2012-07-16Move selection to last modification position in editor::{undo,redo}Maxime Coste
2012-07-16IncrementalInserter preserves selectionsMaxime Coste
2012-07-11Add Editor::replace(memoryview) and bind alt-P to replace pasteMaxime Coste
2012-06-29IncrementalInsertor::insert takes a memoryview<String> rather than a RegisterMaxime Coste
2012-06-12Add a FilterGroup, and cleanup HighlighterGroupMaxime Coste
FilterGroup is similar to HighlighterGroup, it permits grouping together filters for easy removal.
2012-05-29Alt-Space permits to remove a selection by indexMaxime Coste
2012-04-14replace std::string references with StringMaxime Coste
2012-03-08rename BufferString to StringMaxime Coste
2012-03-07'I' now inserts before the first non blank character of the line instead of ↵Maxime Coste
the first character of the line
2012-02-10Editor: replace all captures if one capture is presentMaxime Coste
before, selecting with 2 captures after selecting with 3 captures would keep the third capture from the first selection.
2012-02-09Merge captures into registers, implements register insertionMaxime Coste
2012-02-07Editor refactoring, merge undo and batch managementMaxime Coste
2012-02-07selectors now take a Selection as parameter instead of a BufferIteratorMaxime Coste
2012-02-03batches support in Editor, used by IncrementalInserter and exec_stringMaxime Coste
Editor groups all modification together in one undo group when batching. nested batches are supported.
2012-01-31extract an Editor class from Window and refactorMaxime Coste