summaryrefslogtreecommitdiff
path: root/src/buffer.cc
AgeCommit message (Expand)Author
2013-03-20utf8 validity is not a buffer concernMaxime Coste
2013-03-18Buffer: optimize do_insert to minimize changes in m_lines vectorMaxime Coste
2013-03-15Buffer::on_erase: avoid resizing lines more than necessaryMaxime Coste
2013-03-13Buffer: minor refactoringMaxime Coste
2013-02-28fix warningMaxime Coste
2013-02-27Add a debug option to Makefile, and use KAK_DEBUG define to remove debug codeMaxime Coste
2013-02-22buffer: remove too slow check from check_invariantMaxime Coste
2013-02-20Buffer: commit current undo group before attempting to undo anythingMaxime Coste
2013-02-20Buffer: replace {begin,end}_undo_group with a single commit_undo_group methodMaxime Coste
2013-01-28Buffer: small fix in apply_modificationMaxime Coste
2013-01-24Buffer::do_insert: fix on_insert call when inserting at the endMaxime Coste
2013-01-23Buffer: end is either one past last character, or one past last lineMaxime Coste
2013-01-23add undo unit_test and fix BufferMaxime Coste
2013-01-23add more assertsMaxime Coste
2013-01-23Buffer: small style fixesMaxime Coste
2013-01-22Buffer: check that newlines are at the end of linesMaxime Coste
2013-01-17Hooks now takes a non-const contextMaxime Coste
2013-01-11Add and use a Set template class for recuring small setsMaxime Coste
2012-12-28Buffer loses the 'New' flag when writtenMaxime Coste
2012-12-19Buffer: close undo group when savedMaxime Coste
2012-11-27fix buffer creation on empty fileMaxime Coste
2012-11-23Buffer takes a vector of lines as initial contentMaxime Coste
2012-11-23buffer: increment timestamp on notify savedMaxime Coste
2012-11-22Cleanups and minor refactoring on BufferMaxime Coste
2012-11-22move Window ownership to the ClientManager instead of the BufferMaxime Coste
2012-11-22rename (hook|option)_manager to (hook|option)s.Maxime Coste
2012-11-21Buffer: replace reset_undo_data with a NoUndo flagMaxime Coste
2012-11-21minor fixes to buffer constructorMaxime Coste
2012-11-20Buffer: replace Buffer::Type with Buffer::FlagsMaxime Coste
2012-11-12make Buffer::{add,remove}_change_listener const and the listener list mutableMaxime Coste
2012-11-05Rework Window creation, avoid using the same window in multiple clientsMaxime Coste
2012-10-31Fix buffer iterator_at_line_{begin,end}(LineCount)Maxime Coste
2012-10-11Makefile: add -Wall to CXXFLAGSMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
2012-10-08Buffer: add some utf8 sanity checksMaxime Coste
2012-10-02move clamp to utils.hhMaxime Coste
2012-09-11Buffer: reset undo data after executing hooks in constructorMaxime Coste
2012-09-10Buffer: Allow inserting at the end when the inserted text ends with an end of...Maxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-08-22use a strongly typed int LineCount for line countsMaxime Coste
2012-08-21Add Buffer::iterator_at_line{begin,end}(size_t line) overloadsMaxime Coste
2012-08-15Buffer::{iterator_at,clamp} takes an optional avoid_eol parameterMaxime Coste
2012-08-15misc cleanupsMaxime Coste
2012-08-15Buffer: add a timestampMaxime Coste
2012-08-14Buffer: stronger invariant, a buffer is never empty and all lines finish by '\n'Maxime Coste
2012-08-10Buffer: move back Modification as an implementation detailMaxime Coste
2012-08-10Buffer: fix corner case in insertMaxime Coste
2012-08-10Buffer: add reset_undo_data methodMaxime Coste
2012-08-08Refactor BufferManagerMaxime Coste
2012-08-05Context: only buffer context are not allowed, an editor is always neededMaxime Coste