Commit Graph

2203 Commits

Author SHA1 Message Date
Maxime Coste
d5d76721b0 Avoid infinite loop in MultiRegionHighlighter when regexes generate empty matches 2014-07-14 20:46:46 +01:00
Alex Leferry 2
12cdfb316a underline (MatchingChar|Search) faces 2014-07-14 20:23:56 +01:00
Maxime Coste
b96f653b6c Fix numbering with '#' register 2014-07-14 19:00:54 +01:00
Maxime Coste
563156992f Merge remote-tracking branch 'alexherbo2/javascript-rc' 2014-07-13 16:59:12 +01:00
Maxime Coste
518c494104 Rename 'macro' face to more general 'meta'
As it is used in python/ruby for 'import' which is not really
a macro.
2014-07-13 16:57:49 +01:00
Maxime Coste
e788417e3b Use a region for c++ macro highlighting 2014-07-13 16:55:34 +01:00
Maxime Coste
cbfceba149 Do not resolve faces in highlighter factories, defer to actual highlighting 2014-07-13 16:52:51 +01:00
Maxime Coste
d78ece490f Rename RegexColorizer to RegexHighlighter 2014-07-12 13:57:16 +01:00
Maxime Coste
72ccb9bce6 Refactor RegexColorizers face handling 2014-07-12 11:19:35 +01:00
Maxime Coste
d0d4108085 Rename :colalias to :face and update documentation 2014-07-12 10:55:50 +01:00
Maxime Coste
608e188960 Support attributes in face specifications 2014-07-11 00:44:59 +01:00
Alex Leferry 2
fdfb65194c highlight '$' identifiers 2014-07-11 01:38:24 +02:00
Maxime Coste
a32b49acd1 Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
2014-07-11 00:27:43 +01:00
Maxime Coste
42611aef1e Fix select_number 2014-07-10 19:22:14 +01:00
Maxime Coste
b6979e2d2c Add docstring for normal mode commands and display them if autoinfo >= 2 2014-07-10 19:22:14 +01:00
Maxime Coste
4c3bd68876 Change autoinfo option to be an integer, allowing different levels 2014-07-10 19:22:14 +01:00
Maxime Coste
81d3eadd09 :edit! without argument reload current buffer 2014-07-10 19:22:14 +01:00
Maxime Coste
7a080ffb41 Merge pull request #194 from alexherbo2/ruby-rc
ruby.kak: code maintenance
2014-07-10 19:16:02 +01:00
Maxime Coste
d157ba06cf Merge pull request #193 from alexherbo2/javascript-rc
javascript.kak: highlight comments
2014-07-10 19:15:51 +01:00
Alex Leferry 2
4b23919e92 highlight symbols in hash syntax as identifiers 2014-07-10 19:16:20 +02:00
Alex Leferry 2
bbc1e1f5c2 minor style fix 2014-07-10 16:23:15 +02:00
Alex Leferry 2
1356e9cb6b fix nested literals highlighting 2014-07-10 16:03:57 +02:00
Alex Leferry 2
84c960ea7c highlight multi-line comments 2014-07-10 01:40:04 +02:00
Alex Leferry 2
2aab87f28c fix single line comments highlighting 2014-07-10 01:40:02 +02:00
Maxime Coste
9952704eaf Fix :map scope completion 2014-07-08 00:53:06 +01:00
Maxime Coste
4e4680c9c6 Merge remote-tracking branch 'alexherbo2/json-rc' 2014-07-08 00:18:35 +01:00
Maxime Coste
0341aa2cbc Merge various language support scripts 2014-07-07 23:59:20 +01:00
Maxime Coste
c6df0c9174 Do not write '*** kak: fifo closed ***' in buffers
The status line '[fifo]' flag should replace that
2014-07-07 23:56:17 +01:00
Maxime Coste
55866b51d7 Fix redrawing of windows when only the status line changes 2014-07-07 23:56:17 +01:00
Maxime Coste
90c2647c0b Use colors in status bar for certain flags 2014-07-07 23:56:17 +01:00
Alex Leferry 2
3730c8445b add rc/yaml.kak 2014-07-07 23:01:24 +02:00
Alex Leferry 2
9db995c4eb add rc/ruby.kak 2014-07-07 23:00:15 +02:00
Alex Leferry 2
fad6808d2a add rc/javascript.kak 2014-07-07 22:55:01 +02:00
Alex Leferry 2
ea29a4c2d4 add rc/python.kak 2014-07-07 22:51:09 +02:00
Alex Leferry 2
31cf73bbfd minor style fix 2014-07-07 22:36:00 +02:00
Alex Leferry 2
d25a88a4ae single string is not escapable 2014-07-07 22:35:39 +02:00
Alex Leferry 2
207bb7e389 string and comment do not require white space before 2014-07-07 22:35:32 +02:00
Alex Leferry 2
0b16ca3e5e add rc/json.kak 2014-07-07 16:24:14 +01:00
Maxime Coste
7726db0799 NCurses: change scroll bar characters 2014-07-05 19:18:59 +01:00
Maxime Coste
fc7f017372 Remove 'ReplaceMain' select mode 2014-07-05 12:37:49 +01:00
Maxime Coste
a61db7ef5e Merge remote-tracking branch 'alexherbo2/previous-match' 2014-07-05 12:36:35 +01:00
Maxime Coste
f69df6560d Merge remote-tracking branch 'alexherbo2/termite-termcmd-option' 2014-07-05 12:30:57 +01:00
Maxime Coste
63b2326906 Document space and ';' changes in README 2014-07-05 12:10:06 +01:00
Maxime Coste
9439d28028 More consistent <space> and <a-space> behaviour
<space> and <a-space> without count now remove all except/keep
main selection. Without reducing main selection to cursor.

Reduce to cursor is moved to ';' and flip selections to <a-;>
2014-07-05 12:10:06 +01:00
Maxime Coste
60bf540ee6 NCurses: better support for 256 color terminals that cannot change colors 2014-07-05 12:10:06 +01:00
Maxime Coste
d181a40a91 Add support for paste all (on <a-[pP]>)
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
2014-07-05 12:10:06 +01:00
Maxime Coste
8795efdf19 Minor style cleanup 2014-07-05 12:10:06 +01:00
Maxime Coste
12ecffd361 Improve colalias documentation in README 2014-07-05 12:10:06 +01:00
Maxime Coste
ed68d1ff28 utf8: use end of sequence iterators for more security 2014-07-05 12:10:06 +01:00
Maxime Coste
3f70d91f8c Use unsigned char rather than char in utf8 decoding to avoid sign extension 2014-07-05 12:10:06 +01:00