Maxime Coste
|
0c4d523b22
|
Move template selectors to the header
|
2013-12-14 14:49:10 +00:00 |
|
Maxime Coste
|
77590fe2e8
|
Move (keep|flip|remove|clear)_selections from editor method to free selectors
|
2013-12-14 14:38:17 +00:00 |
|
Maxime Coste
|
dad27fe1a0
|
Remove simple selectors, always go through a multi selector
|
2013-12-14 14:38:17 +00:00 |
|
Maxime Coste
|
f53ba0baed
|
MultiSelectors takes a reference to the current selection and mutate it
|
2013-12-14 14:38:17 +00:00 |
|
Maxime Coste
|
db048a0792
|
MultiSelectors now transforms the whole selection
|
2013-12-14 14:38:17 +00:00 |
|
Maxime Coste
|
c4de866903
|
Fix select_to_previous_word when cursor is on last buffer char
|
2013-11-12 18:59:19 +00:00 |
|
Maxime Coste
|
70e94cb00a
|
Fix select_next_match that would select the end of the buffer in some circumstances
|
2013-11-04 21:59:28 +00:00 |
|
Maxime Coste
|
ab925686ab
|
Improve object selection support
* A count is supported for nestable objects so that we
can specify the surrounding level.
* more symetric behavior for select to end/ to begin
|
2013-10-08 19:28:18 +01:00 |
|
Maxime Coste
|
fccb954611
|
Use WordType enum instead of a bool punctuation_is_word for word selector
|
2013-10-07 18:44:22 +01:00 |
|
Maxime Coste
|
0267540985
|
Do not select the first line indent in inner indent select
|
2013-07-27 15:37:28 +02:00 |
|
Maxime Coste
|
3862b5cbb8
|
LineAndColumns: always pass by value
|
2013-07-26 01:50:09 +02:00 |
|
Maxime Coste
|
c58bab0f66
|
Add indent object type (bound to i)
|
2013-07-23 19:12:53 +01:00 |
|
Maxime Coste
|
37807ba19b
|
Add support for arrow keys in normal mode
use a Direction enum instead of a bool forward parameter
|
2013-07-02 19:48:05 +01:00 |
|
Maxime Coste
|
245e68e26e
|
utf8_iterators: rename underlying_iterator to base
|
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
|
9fb4d42408
|
remove BufferIterator::is_{begin,end}
|
2013-06-04 18:53:56 +02:00 |
|
Maxime Coste
|
cc70e3ed70
|
selectors.cc: avoid dereferencing buffer end
|
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
|
b198f6a5fb
|
Fix select_whole_paragraph so that buffer end is not selected
|
2013-06-03 14:27:51 +02:00 |
|
Maxime Coste
|
b51799a2b2
|
Explicitly pass buffer to selectors
|
2013-06-01 14:22:57 +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
|
9a80a58ff4
|
buffer end should not be in a selection
|
2013-05-30 13:59:38 +02:00 |
|
Maxime Coste
|
64b20729a5
|
Full object selection support for paragraphs and sentences
|
2013-05-15 14:24:09 +02:00 |
|
Maxime Coste
|
b69c9ea753
|
add paragraph (p) object
|
2013-04-30 14:29:18 +02:00 |
|
Maxime Coste
|
4bb3863f95
|
add sentence (s) object
|
2013-04-30 14:21:48 +02:00 |
|
Maxime Coste
|
86f6282cbe
|
selecting a surrounding object goes up one level if what we find is already selected
|
2013-04-22 14:18:49 +02:00 |
|
Maxime Coste
|
d3961768ec
|
add alt-X for trimming non full lines
|
2013-04-16 14:30:11 +02:00 |
|
Maxime Coste
|
270e950cf1
|
sort includes directives
|
2013-04-09 20:05:40 +02:00 |
|
Maxime Coste
|
1ab8120147
|
refactor regex based selectors, move regex construction out of them
|
2013-04-05 19:28:08 +02:00 |
|
Maxime Coste
|
ee800ad778
|
select_to_{,reverse}: search on other lines if needed
|
2013-03-18 23:47:18 +01:00 |
|
Maxime Coste
|
9230667c11
|
Add " and ' support to object selection
|
2013-02-27 19:08:13 +01:00 |
|
Maxime Coste
|
bba7152063
|
Add backward search support (bound to alt-/)
|
2013-01-08 18:46:45 +01:00 |
|
Maxime Coste
|
3f7bf82cde
|
Support for selecting to surrounding object begin/end with [ and ]
|
2013-01-07 18:53:27 +01:00 |
|
Maxime Coste
|
2195d59b49
|
refactoring selectors
|
2013-01-03 14:30:14 +01:00 |
|
Maxime Coste
|
8bfb7da674
|
fix splitting with inverted selection
|
2012-12-27 18:56:06 +01:00 |
|
Maxime Coste
|
ac778c8aa2
|
select_matching: fix when matching is the first character
|
2012-12-27 13:41:45 +01:00 |
|
Maxime Coste
|
b764a0a63e
|
Selection: refactoring, move CaptureList to Selection
|
2012-11-30 18:32:49 +01:00 |
|
Maxime Coste
|
dfafcdb6e6
|
utf8::codepoint: configurable invalid byte policy
|
2012-10-13 19:05:14 +02:00 |
|
Maxime Coste
|
c92077762c
|
Makefile: add -Wall to CXXFLAGS
|
2012-10-11 01:17:29 +02:00 |
|
Maxime Coste
|
7a8366da2b
|
add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/
|
2012-10-09 19:15:05 +02:00 |
|
Maxime Coste
|
0a686573ab
|
utf8 awareness in selectors
|
2012-10-08 19:12:09 +02:00 |
|
Maxime Coste
|
430765e132
|
extract is_alpha to string.hh
|
2012-09-30 16:23:18 +02:00 |
|
Maxime Coste
|
e86e3bda4d
|
select_all_matches: reject match that start at the end of originating selection
|
2012-09-19 14:04:09 +02:00 |
|
Maxime Coste
|
ec57990060
|
whine when a search selected nothing so that the user knows
|
2012-09-12 19:09:10 +02:00 |
|
Maxime Coste
|
bbce6b22a3
|
remove regex.hh, define Regex directly in string.hh
|
2012-08-29 21:49:36 +02:00 |
|
Maxime Coste
|
0c596a9d64
|
Add a ShellManager which handles executing shell commands
ShellManager provides shell commands with environement variable
to retrieve some internal values in the shell parameters.
|
2012-05-03 07:25:13 +00:00 |
|
Maxime Coste
|
9337938403
|
replace std::string references with String
|
2012-04-14 01:17:09 +00:00 |
|
Maxime Coste
|
cd615b35a2
|
generalize do_select_surrounding in do_select_object and add a whole word selector
|
2012-03-12 14:23:30 +00:00 |
|
Maxime Coste
|
782b557660
|
factor word and WORD selectors
|
2012-03-07 19:20:32 +00:00 |
|
Maxime Coste
|
0a385885ff
|
correctly handle boost::regex_error in selectors
|
2012-03-04 20:11:22 +00:00 |
|