summaryrefslogtreecommitdiff
path: root/src/editor.cc
AgeCommit message (Expand)Author
2013-12-15cleanup editor.hh, remove editor.cc...Maxime Coste
2013-12-15Move Editor::selections_content to ContextMaxime Coste
2013-12-15remove unused Editor::check_invariantMaxime Coste
2013-12-15Move Editor::{undo,redo} to free functions in normal.ccMaxime Coste
2013-12-15Move insert and erase to normal.cc, and move edition management to contextMaxime Coste
2013-12-15Remove Editor::move_selectionsMaxime Coste
2013-12-14Remove Editor::select methods, add a non-const selections getterMaxime Coste
2013-12-14Rename MultiSelector to SelectorMaxime Coste
2013-12-14Move (keep|flip|remove|clear)_selections from editor method to free selectorsMaxime Coste
2013-12-14Remove simple selectors, always go through a multi selectorMaxime Coste
2013-12-14MultiSelectors takes a reference to the current selection and mutate itMaxime Coste
2013-12-14MultiSelectors now transforms the whole selectionMaxime Coste
2013-12-14Move main selection index to SelectionListMaxime Coste
2013-11-04Remove IncrementalInserter and move it's code to InputModes::InsertMaxime Coste
2013-10-11Fix Editor::remove_selection when the main selection is the first one and is ...Maxime Coste
2013-07-30fix insert mode erase utf-8 handling, add unit testMaxime Coste
2013-07-26memoryview: always pass by valueMaxime Coste
2013-07-26LineAndColumns: always pass by valueMaxime Coste
2013-07-23try to preserve display column rather than buffer column when moving lineMaxime Coste
2013-06-06Buffer: insert and erase go back to taking iterators, and return iteratorsMaxime Coste
2013-06-06minor cleanups EditorMaxime Coste
2013-06-06avoid_eol: use direct line accessMaxime Coste
2013-06-06remove Buffer:char_{distance,advance} use line access insteadMaxime Coste
2013-06-06Buffer: remove line_length and replace line_content with operator[]Maxime Coste
2013-06-06remove BufferIterator conversion to/from BufferCoordMaxime Coste
2013-06-04fix Editor::move_selections(LineCount...) on buffer boundsMaxime Coste
2013-06-04IncrementalInserter: use coords instead of iteratorsMaxime Coste
2013-06-04Use coord instead of iterators for selectionsMaxime Coste
2013-06-01Explicitly pass buffer to selectorsMaxime Coste
2013-06-01BufferChangeListener: pass buffer to on_{inser,erase}Maxime Coste
2013-05-30Remove Range::contentMaxime Coste
2013-05-30Remove begin/end from Ranges, replace with min/maxMaxime Coste
2013-05-30Buffer insert and erase takes coord rather than iteratorsMaxime Coste
2013-05-29Buffer::do_{erase,insert} takes coord parameters rather than iteratorsMaxime Coste
2013-05-29Remove Selection::avoid_eol, move as static func in editor.ccMaxime Coste
2013-05-14Editor::select(Selection, SelectMode::Extend) now only keeps the extended mai...Maxime Coste
2013-05-03Editor: tweak behaviour on undo/redo when selecting modified rangesMaxime Coste
2013-05-03Editor: undo and redo select all ranges modified instead of the last oneMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-04-04do not check buffer invariant in do_{erase,insert} as this cause O(n²) behav...Maxime Coste
2013-04-03Editor: fix utf8 handling in prepare_insertMaxime Coste
2013-03-20Editor: fix select(Selection&, SelectMode::Replace)Maxime Coste
2013-03-18Editor: keep selections sorted and use an index for the main oneMaxime Coste
2013-03-15Editor: replace selections().back() with main_selection()Maxime Coste
2013-03-13Editor: fix replace at end of bufferMaxime Coste
2013-02-28Editor::multi_select: reserve some vector space in advanceMaxime Coste
2013-02-27Editor: fix move_selection(LineCount) when current column is after next line endMaxime Coste
2013-02-27Add String Range::content() constMaxime Coste
2013-02-27Add a debug option to Makefile, and use KAK_DEBUG define to remove debug codeMaxime Coste