Maxime Coste
|
f93081471a
|
Refactor nextbuffer command to be more idiomatic
|
2015-04-13 11:34:21 +01:00 |
|
Maxime Coste
|
43c03ea412
|
Merge remote-tracking branch 'jjthrash/next-prev-buffer'
|
2015-04-13 11:26:31 +01:00 |
|
Maxime Coste
|
be5ed0e036
|
Small alignement change
|
2015-04-12 23:48:11 +01:00 |
|
Maxime Coste
|
f644a51f24
|
Use char for KeyMapMode enum
|
2015-04-11 17:22:37 +01:00 |
|
Maxime Coste
|
cfd071b2ad
|
small code formatting fix
|
2015-04-09 16:28:13 +01:00 |
|
Jimmy Thrasher
|
ba59033935
|
Add nextbuffer command
Wraps around at the end. If only 1 buffer loaded, does nothing.
|
2015-04-09 10:14:32 -04:00 |
|
Maxime Coste
|
da09da29c4
|
Regex comparison operator are const
|
2015-04-08 23:16:27 +01:00 |
|
Maxime Coste
|
b5ab318a2d
|
Always optimize StringView::strlen (recursive due to constexpr)
|
2015-04-07 23:21:14 +01:00 |
|
Maxime Coste
|
87b385b956
|
Use default values for ncurses options when not specified
|
2015-04-06 20:05:49 +01:00 |
|
Maxime Coste
|
b7144fff6c
|
Make ncurses wheel scroll button configurable
|
2015-04-06 18:43:27 +01:00 |
|
Maxime Coste
|
dde16b00a9
|
Add onkey command for executing commands after reading a key
This completes the various user interaction primitives, on_next_key
was the last not to be available through a command.
|
2015-04-04 13:10:39 +01:00 |
|
Maxime Coste
|
04a922fe1a
|
Avoid zstr in write_debug when no *debug* buffer can be created
|
2015-04-03 13:14:59 +01:00 |
|
Maxime Coste
|
7176685690
|
Avoid zstr call in ncurses addutf8str
|
2015-04-03 13:10:46 +01:00 |
|
Maxime Coste
|
762f60f9fd
|
Rewrite rgb color parsing
|
2015-04-02 21:27:58 +01:00 |
|
Maxime Coste
|
64e0b6e3f8
|
Replace a snprintf with format in backup file name generation
|
2015-04-02 13:58:06 +01:00 |
|
Maxime Coste
|
9edeb08e3a
|
Avoid zero terminated string based console printing
|
2015-04-01 13:44:04 +01:00 |
|
Maxime Coste
|
4c49583fed
|
small code tweak in format
|
2015-03-31 13:55:57 +01:00 |
|
Maxime Coste
|
e875828aa9
|
Use format for {Win,Buf}SetOption hooks description
|
2015-03-31 13:55:40 +01:00 |
|
Maxime Coste
|
758bfe7284
|
number to string conversion avoids memory allocations
|
2015-03-31 13:53:40 +01:00 |
|
Maxime Coste
|
519254dfdc
|
More useage of the format function
|
2015-03-30 23:56:33 +01:00 |
|
Maxime Coste
|
335c73a09b
|
Use custom implementation rather the sscanf in str_to_int
|
2015-03-30 23:37:55 +01:00 |
|
Maxime Coste
|
6e1a388544
|
Replace various adhoc operator+ based formatting with format func
|
2015-03-30 23:06:02 +01:00 |
|
Maxime Coste
|
13a5af70ae
|
Add a format function for printf like formatting
|
2015-03-30 23:05:24 +01:00 |
|
Maxime Coste
|
8761fc34f4
|
Always go through StringView to compare strings
That avoids creating temporary String needlessly
|
2015-03-30 19:59:08 +01:00 |
|
Maxime Coste
|
8439059758
|
Fix wrong implicit conversions from int/Codepoint to StringView
|
2015-03-30 13:33:46 +01:00 |
|
Maxime Coste
|
adaf6ecc40
|
Move skip_while helpers to selectors.hh
|
2015-03-29 20:03:09 +01:00 |
|
Maxime Coste
|
56b5300b9d
|
Handle mouse events in key_to_str
|
2015-03-28 18:18:52 +00:00 |
|
Maxime Coste
|
d1b81c8f8a
|
minor cleanup
|
2015-03-27 13:47:02 +00:00 |
|
Maxime Coste
|
195b813b73
|
Add support for Home/End keys in normal and insert mode
Fixes #260
|
2015-03-27 13:33:14 +00:00 |
|
Maxime Coste
|
0fbbd64681
|
small formatting tweak
|
2015-03-27 13:20:37 +00:00 |
|
Maxime Coste
|
727580a238
|
Make utf8_iterator a proper stl useable iterator
|
2015-03-27 13:19:30 +00:00 |
|
Maxime Coste
|
c2150dd163
|
Rework show_matching highlighter implementation
|
2015-03-27 13:18:06 +00:00 |
|
Maxime Coste
|
94bd32572d
|
Move some only used once inline functions directly in their caller
No need to have that in a header, and not really selectors anyway
|
2015-03-26 13:34:21 +00:00 |
|
Maxime Coste
|
757366472b
|
Add <alt-:> for ensuring selections are forward (cursor >= anchor)
Not very useful interactively, but that feature can make macros much
more robust.
|
2015-03-26 13:34:21 +00:00 |
|
Maxime Coste
|
e0757e7ba9
|
Flip the cat assistant
|
2015-03-25 13:53:13 +00:00 |
|
Maxime Coste
|
16037744b7
|
Add exception type name when failing with an uncaught exception
|
2015-03-25 13:42:36 +00:00 |
|
Maxime Coste
|
bc67a6547d
|
Remove unneeded c_str() call
|
2015-03-25 13:42:36 +00:00 |
|
Maxime Coste
|
48007d5de2
|
Only do tty validation when using a NCursesUI
|
2015-03-24 19:38:03 +00:00 |
|
Maxime Coste
|
7eaa6976b9
|
Use a dummy UI when running tests, so that we do not need a tty
|
2015-03-24 13:14:02 +00:00 |
|
Maxime Coste
|
4188335b51
|
Fix segfault in highlighting
|
2015-03-23 19:21:35 +00:00 |
|
Maxime Coste
|
323b0359c7
|
Add support for mouse wheel
|
2015-03-22 12:17:01 +00:00 |
|
Maxime Coste
|
5eaf472fc0
|
Experimental support for mouse
|
2015-03-22 11:41:20 +00:00 |
|
Maxime Coste
|
def33de9bc
|
Check modifiers before inserting codepoints in the line editor
|
2015-03-22 11:41:19 +00:00 |
|
Maxime Coste
|
7a7f86a205
|
Impreove Window::buffer_coord behaviour with invalid coords
|
2015-03-22 11:41:19 +00:00 |
|
Maxime Coste
|
dbbbc3aa80
|
constexprify Face
|
2015-03-21 16:32:22 +00:00 |
|
Maxime Coste
|
74ecf4976e
|
Fix Color constructor not constexpr
|
2015-03-21 16:32:07 +00:00 |
|
Maxime Coste
|
bbfcfe4242
|
constexprify Color (in)equality operator
|
2015-03-20 19:03:41 +00:00 |
|
Maxime Coste
|
5cf7d650c8
|
Small code tweak
|
2015-03-19 23:33:44 +00:00 |
|
Maxime Coste
|
f5da1671fd
|
Refactor number_line higlighter, use a switch to higlhight the cursor line
|
2015-03-19 00:31:11 +00:00 |
|
Maxime Coste
|
006f8ca588
|
Merge remote-tracking branch 'ekie/relative_line_numbers'
|
2015-03-19 00:03:59 +00:00 |
|