| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Fixes #64
|
|
Paste all pastes all yanked text at all selections, selecting each
pasted text.
Replace paste moves to R, and concat yank/concat delete (Y and D)
are removed.
Fixes #161
|
|
|
|
|
|
|
|
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.
|
|
However take into account the ordering of selections in insert and erase
methods, so that we update selection position cheaply.
|
|
|
|
It does look like the Editor class is attempting a sneaky comeback...
|
|
|
|
This way, update only needs to be called once everything is done
as we always modify after the next selection to be used.
|
|
|
|
|
|
|
|
|
|
BufferCoord -> ByteCoord
DisplayCoord -> CharCoord
Moved their definition along with LineAndColumn into coord.hh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ranges should not be utf8 aware (needed for end), and a lot of
uses for end() were in fact looking for max.
|
|
Conflicts:
src/editor.cc
|
|
|
|
|
|
|
|
|
|
selected
|
|
|
|
|
|
this avoids a lot of unnecessary (add|remove)_change_listener as
creating temporary Selections do not call that anymore.
Use can choose between a SelectionList which or a DynamicSelectionList
depending on wethear the buffer will be modified or not during the
selections lifetime.
|
|
|
|
|
|
|