summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-09Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
2014-06-09Do not touch the reference line in copy_indentMaxime Coste
2014-06-09Tweak prompt completion behaviourMaxime Coste
Always select the common prefix if we just updated the list of completions. The previous behaviour was to ignore it if we had it already typed. Do that only if it was already displayed.
2014-06-09Safer implementation of signal handlers in ncurses.ccMaxime Coste
On recent ncurses implementation on cygwin, the old method provoked freezes. Avoid calling ncurses functions in signal handlers. We still call an unsafe function (EventManager::force_signal)...
2014-06-06Improve commands documentationMaxime Coste
2014-06-06Remove -env-var-params support in :def commandMaxime Coste
It is not used
2014-06-06Add support for long names for registersMaxime Coste
We can now access register / with the name slash, * with star, and | with pipe Fixes #23
2014-06-06Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
2014-06-06Replace CommandManager::register_command*s* with register_aliasMaxime Coste
2014-06-06Use a id_map implementation for SwitchMapMaxime Coste
That way parameter definition order is respected when writing command doc strings.
2014-06-05Fix handling of empty insertMaxime Coste
2014-06-05Rework and fix corner cases in selection updating codeMaxime Coste
2014-06-05Properly handle unicode in key parsingMaxime Coste
Fixes #139
2014-06-02Fix selection updating, avoid overlapping selectionsMaxime Coste
2014-06-02Fix in region highlighterMaxime Coste
2014-06-02Remove undo group optimizerMaxime Coste
2014-06-02Move compute_modified_ranges to selection.cc and use an optimized approachMaxime Coste
2014-06-02Optimize SelectionList::update in the case where changes are backwardMaxime Coste
This case arise on undo, reverse sorted changes that are not overlapping.
2014-06-01Add Context::set_selections(std::vector<Selection>)Maxime Coste
This methods avoids updating the context selection needlessly as they are going to get replaced anyway.
2014-06-01Extract merge_overlapping as a free function templateMaxime Coste
2014-05-31minor cleanups in insert_completer.ccMaxime Coste
2014-05-31formatting fixMaxime Coste
2014-05-31remove reverse iterator from SelectionListMaxime Coste
2014-05-29Use forward iteration on selections, and take advantage of it when updatingMaxime Coste
SelectionList::update now is optimized for the common case where changes are sorted, the algorithm is O(m*n) with m the number of sorted ranges in the changes. In the common case, m should be very small.
2014-05-27Add 'n' for number object (inner number does not recognise '.')Maxime Coste
2014-05-27Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
Conflicts: src/normal.cc src/selectors.cc src/selectors.hh
2014-05-26Rename select_whole_.* to just select_.*Maxime Coste
2014-05-26Tweak inner indent object codeMaxime Coste
Inner indent is now the set of lines whose indent is >= current line indent, triming lines containing only whitespaces at start and end. Fixes #140
2014-05-26Remove ModificationMaxime Coste
Lets consider that as a failed experiment. You see, I learned something today, for a complicated problem, it is important to keep as much knowledge of the exact problem as possible. the Modification approach failed because it tried to solve the general problem, which is quite complex. The new approach, which keeps the knowledge that selections are sorted is much simpler and faster (see f49bec802157fc592bc6e35755807c6c3a531e78).
2014-05-26Revert "Use Modification for region highlighter"Maxime Coste
This reverts commit aa64851de622921751741d39092e7cf14fe28649. Conflicts: src/highlighters.cc
2014-05-26Revert "update Modification for WordDB"Maxime Coste
This reverts commit 8f45623f98f187667b3842d432b1102b58e39037. Conflicts: src/word_db.cc
2014-05-26Revert "Remove line modification, replaced by modification"Maxime Coste
This reverts commit a7540962cc90266f4f46858184b89f048364f9b2.
2014-05-26Go back to Buffer::Change based implementation for SelectionList::updateMaxime Coste
However take into account the ordering of selections in insert and erase methods, so that we update selection position cheaply.
2014-05-25Use SelectionList::insert in InputModes::InsertMaxime Coste
2014-05-25Move insert/erase methods from normal.cc to member functions in SelectionListMaxime Coste
It does look like the Editor class is attempting a sneaky comeback...
2014-05-25Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
2014-05-25In normal mode, backspace can be used to edit countMaxime Coste
Fix #125
2014-05-25Add kak_selections_desc en vars, containing : separated descsMaxime Coste
descs are now <line>.<column>+<len> Fixes #144
2014-05-25Rename Key::Erase to Key::Delete and add 'del' keynameMaxime Coste
Fixes #145 Fixes #146
2014-05-25Disable 'interactive' options in :exec/:evalMaxime Coste
Incremental search, automatic info and completion are not needed in non interactive context.
2014-05-24Fix segfault in region highlighterMaxime Coste
2014-05-24Remove use of 'offset' in buffer iterators, lines are just StringMaxime Coste
No need to maintain line offsets anymore.
2014-05-24Avoid buffer end line in word_db updateMaxime Coste
2014-05-24Still more fixes for ModificationMaxime Coste
2014-05-24Fix ModificationMaxime Coste
2014-05-24Fix selection update in when doing a 'replace' insertMaxime Coste
2014-05-24Clamp modified coord in Selection as it could be buffer endMaxime Coste
2014-05-24Fix, cleanup and refactor compute_modificationsMaxime Coste
2014-05-23Change # register to contain selection numberMaxime Coste
Using <c-r># in insert will allow easy numbering
2014-05-21Remove line modification, replaced by modificationMaxime Coste