Maxime Coste
|
6d125e6c36
|
do not use std::{to_string,stoi} as they cause problems with cygwin
|
2013-06-19 19:29:05 +01:00 |
|
Maxime Coste
|
a642026e7c
|
more portable use of ncurses
|
2013-06-19 19:29:04 +01:00 |
|
Maxime Coste
|
3e9439ac9f
|
restore compilation with gcc 4.7
|
2013-06-18 21:44:00 +02:00 |
|
Maxime Coste
|
ea9414fa21
|
Fix input completion on multiple selection
|
2013-06-12 00:43:11 +02:00 |
|
Maxime Coste
|
bd8daac3a1
|
Fix UndoGroupOptimizer
|
2013-06-12 00:14:05 +02:00 |
|
Maxime Coste
|
7306f6b33b
|
Buffer: always use {line_count(), 0} as end in Modifications
|
2013-06-06 20:02:20 +02:00 |
|
Maxime Coste
|
59b996be75
|
add an UndoGroupOptimizer test
|
2013-06-06 19:54:13 +02:00 |
|
Maxime Coste
|
2a74b0e9e2
|
Buffer: insert and erase go back to taking iterators, and return iterators
|
2013-06-06 19:44:08 +02:00 |
|
Maxime Coste
|
cf454ef904
|
UndoGroupOptimizer: fix count_byte_to
|
2013-06-06 19:44:08 +02:00 |
|
Maxime Coste
|
357799c966
|
replace remaining plain assert with kak_assert
|
2013-06-06 19:44:08 +02:00 |
|
Maxime Coste
|
3d8eecbbb6
|
minor cleanups Editor
|
2013-06-06 19:44:08 +02:00 |
|
Maxime Coste
|
bd504058d9
|
remove unused Buffer::char_at
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
12d3b64a1b
|
avoid_eol: use direct line access
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
58ff97d51d
|
use_selection_as_search_pattern: use iterators instead of coords
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
43ff1909fb
|
add utf8::make_iterator helper function
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
245e68e26e
|
utf8_iterators: rename underlying_iterator to base
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
70bf71e51f
|
remove Buffer:char_{distance,advance} use line access instead
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
580749a91d
|
Buffer: remove line_length and replace line_content with operator[]
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
6b667bc803
|
remove BufferIterator conversion to/from BufferCoord
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
777158e86d
|
remove BufferIterator::is_valid()
|
2013-06-04 18:56:28 +02:00 |
|
Maxime Coste
|
a23aa10797
|
remove BufferIterator::buffer()
|
2013-06-04 18:55:06 +02:00 |
|
Maxime Coste
|
9fb4d42408
|
remove BufferIterator::is_{begin,end}
|
2013-06-04 18:53:56 +02:00 |
|
Maxime Coste
|
51acd456cc
|
remove BufferIterator::{line,column}()
|
2013-06-04 18:53:28 +02:00 |
|
Maxime Coste
|
ee22596d61
|
tweak Buffer::{,char_}prev
|
2013-06-04 18:53:28 +02:00 |
|
Maxime Coste
|
cf1f26ac91
|
fix Editor::move_selections(LineCount...) on buffer bounds
|
2013-06-04 18:53:13 +02:00 |
|
Maxime Coste
|
cc70e3ed70
|
selectors.cc: avoid dereferencing buffer end
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
5c2e3b25fa
|
Window: use AtomContent::length in scroll_to_keep_cursor_visible_ifn
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
76f55f5256
|
remove useless iterator_at calls
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
c4f9253634
|
Remove Buffer::iterator_at_line_{begin,end}, use iterator_at(line{,+1})
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
503f0cce25
|
IncrementalInserter: use coords instead of iterators
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
fb41e1fdf9
|
tweak Buffer::do_insert
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
4ef1bfa4db
|
Use coord instead of iterators for selections
|
2013-06-04 14:21:07 +02:00 |
|
Maxime Coste
|
02b33c7d8f
|
Buffer: add methods for char access instead of byte access
|
2013-06-03 18:56:48 +02:00 |
|
Maxime Coste
|
b198f6a5fb
|
Fix select_whole_paragraph so that buffer end is not selected
|
2013-06-03 14:27:51 +02:00 |
|
Maxime Coste
|
24ffd6abae
|
DynamicSelectionList check that buffer end is not selected
|
2013-06-03 14:26:05 +02:00 |
|
Maxime Coste
|
b51799a2b2
|
Explicitly pass buffer to selectors
|
2013-06-01 14:22:57 +02:00 |
|
Maxime Coste
|
3453ebbd52
|
BufferChangeListener: pass buffer to on_{inser,erase}
|
2013-06-01 00:48:46 +02:00 |
|
Maxime Coste
|
8ddeb141c8
|
Fix insert completion at beginning of buffer
|
2013-05-30 18:52:03 +02:00 |
|
Maxime Coste
|
2d96f853f8
|
Add utf8::codepoint_size function
|
2013-05-30 18:49:50 +02:00 |
|
Maxime Coste
|
28e127a48a
|
remove avoid_eol parameter from Buffer::{iterator_at,clamp}
|
2013-05-30 14:23:25 +02:00 |
|
Maxime Coste
|
07c8379313
|
BufferIterator are Random Access iterators
|
2013-05-30 14:05:05 +02:00 |
|
Maxime Coste
|
d2df6a9f15
|
remove BufferIterator::clamp
|
2013-05-30 14:00:41 +02:00 |
|
Maxime Coste
|
5e64f6d1ec
|
remove Selection::buffer
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
5b0087b545
|
InputHandler: pass buffer and BufferCoord to completers
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
ae947b456d
|
remove BufferIterator::offset
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
dbb1c57ec9
|
minor code cleanups in filters.cc
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
557acc5068
|
reorganize check_invariant in SelectionList
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
7f8d5c1fd0
|
Remove Range::content
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
93dd1ff3c7
|
Remove begin/end from Ranges, replace with min/max
Ranges should not be utf8 aware (needed for end), and a lot of
uses for end() were in fact looking for max.
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
a07fde181a
|
Add Buffer::{next,prev,at}(BufferCoord) methods and use them in iterators
|
2013-05-30 13:59:38 +02:00 |
|