Maxime Coste
|
65fd0df041
|
More code style cleanup
|
2015-03-14 17:30:44 +00:00 |
|
Maxime Coste
|
3c1a325b6f
|
Refactor String, use a common StringOps interface, hide std::string
|
2015-03-10 19:50:22 +00:00 |
|
Maxime Coste
|
1cec8df45e
|
ArrayView content is not const anymore
As in upcoming std c++ array_view, ArrayView<T> points to mutable
data, use ArrayView<const T> or alias ConstArrayView<T> for const
data.
|
2015-03-09 13:54:09 +00:00 |
|
Maxime Coste
|
6c65c5e080
|
Add docstrings to highlighters, displayed by addhl help
|
2015-02-19 13:54:03 +00:00 |
|
Maxime Coste
|
fd3365deb1
|
Remove unused RegionMatch::timestamp
|
2015-02-17 13:56:26 +00:00 |
|
Maxime Coste
|
59177c12f9
|
Replace vector of vector in RegexHighlighter with a single vector.
|
2015-02-17 13:50:31 +00:00 |
|
Maxime Coste
|
2f890f12c6
|
Fix RegexHighlighter cache invalidation when changing the regex
|
2015-02-16 22:43:14 +00:00 |
|
Maxime Coste
|
8f6dab08d6
|
Try to limit the quantity of buffer reparsed by RegexHighlighter
|
2015-02-16 19:13:55 +00:00 |
|
Maxime Coste
|
ce950ec9f7
|
Fix RegexHighlighter in a few corner cases
|
2015-02-16 13:25:17 +00:00 |
|
Maxime Coste
|
53f1c35013
|
Fix caching of regex highlighter matches
The previous method was constantly invalidating cache when used in
conjunction with region highlighters.
|
2015-02-15 19:42:48 +00:00 |
|
Maxime Coste
|
2a28260f87
|
Extend line numbering max width to 15 char
|
2015-02-03 13:44:42 +00:00 |
|
Maxime Coste
|
b4442055e8
|
Fix recursive regions matching when a recursive matches just before an end
%sh{ $test {} $test } was incorrrectly closing the %sh block at the first {
because it was immediatly followed by a }.
|
2015-02-02 13:48:27 +00:00 |
|
Maxime Coste
|
09fc14be4b
|
Small refactor in highlighters.cc
|
2015-02-01 23:30:58 +00:00 |
|
Maxime Coste
|
4d6b8a70e1
|
Fix highlighter update with new LineModification behaviour
|
2015-02-01 23:19:07 +00:00 |
|
Maxime Coste
|
0b4ecef2d2
|
Rewrite line modifications, hopefully with easier to comprehend code
|
2015-01-31 23:50:24 +00:00 |
|
Maxime Coste
|
19797ae8d6
|
Fix flag line highlighting
|
2015-01-12 19:35:31 +00:00 |
|
Maxime Coste
|
da562e03a0
|
replace all std::vector with Vector
|
2015-01-12 13:58:41 +00:00 |
|
Maxime Coste
|
0bdf1778cb
|
Some more memory tracking
|
2015-01-12 13:32:14 +00:00 |
|
Maxime Coste
|
295a97f2a6
|
Rename memoryview to ArrayView
|
2015-01-06 13:43:37 +00:00 |
|
Maxime Coste
|
c698032ace
|
Style tweak
|
2014-12-31 13:09:35 +00:00 |
|
Maxime Coste
|
b0fef1a962
|
Rename id_map to IdMap
|
2014-12-23 22:51:00 +00:00 |
|
Maxime Coste
|
fb611e2f62
|
Use an id_map directly for HighlighterRegistry rather than the FunctionRegistry class
|
2014-12-23 22:15:53 +00:00 |
|
Maxime Coste
|
b6ff15aa75
|
Unify completion from container content logic
|
2014-12-23 13:54:09 +00:00 |
|
Maxime Coste
|
ebecd60eb8
|
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
|
2014-12-16 18:57:19 +00:00 |
|
Maxime Coste
|
def4221ac7
|
Pass a BufferRange to highlighters, fix subregions
Regions highlighter can now correctly be applied to only subrange
of the buffer, fixing some corner cases in recursive regions.
|
2014-12-02 19:56:17 +00:00 |
|
Maxime Coste
|
e38ba6ce3d
|
Add scope class and encapsulate Options, Keymaps, Aliases and Hooks in it
|
2014-10-30 14:04:57 +00:00 |
|
Maxime Coste
|
b2e90fe21e
|
Refactor highlighters, use an interface with virtual methods
|
2014-10-22 13:54:03 +01:00 |
|
Maxime Coste
|
fa85f0fc32
|
Refactor regex uses, do not reference boost except in regex.hh
|
2014-10-13 13:14:23 +01:00 |
|
Maxime Coste
|
d4a84125ef
|
Use InternedStrings for buffer contents
|
2014-10-03 13:39:13 +01:00 |
|
Maxime Coste
|
f738316689
|
small refactor in highlighters
|
2014-09-19 13:45:11 +01:00 |
|
Maxime Coste
|
5092494427
|
Add support for target column preservation
Fixes #64
|
2014-09-09 19:42:57 +01:00 |
|
Maxime Coste
|
032b621150
|
Use strongly typed enum for Face Attribute, add Dim
|
2014-07-15 20:11:47 +01:00 |
|
Maxime Coste
|
ac5cbba0ae
|
Remove region highlighter, rename multi_regions to regions, cleanup
|
2014-07-14 21:42:19 +01:00 |
|
Maxime Coste
|
ec37adc523
|
Fix bug in nested highlighting
|
2014-07-14 21:41:29 +01:00 |
|
Maxime Coste
|
d5d76721b0
|
Avoid infinite loop in MultiRegionHighlighter when regexes generate empty matches
|
2014-07-14 20:46:46 +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
|
a32b49acd1
|
Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
|
2014-07-11 00:27:43 +01:00 |
|
Maxime Coste
|
ed68d1ff28
|
utf8: use end of sequence iterators for more security
|
2014-07-05 12:10:06 +01:00 |
|
Maxime Coste
|
7aa78d726a
|
fix potential infinite loop in show_matching highlighter
|
2014-06-27 21:10:09 +01:00 |
|
Maxime Coste
|
7235180614
|
Use main selection index as default when accessing only one register value
Fixes #117
|
2014-06-21 11:31:08 +01:00 |
|
Maxime Coste
|
e202b7af50
|
Add a line_option highlighter that highlight the line stored in an int option
Use it to highlight the current error in the *make* buffer
|
2014-06-18 20:50:39 +01:00 |
|
Maxime Coste
|
6f2569ff30
|
Color Default now means 'keep as is' for most highlighters
|
2014-06-18 20:33:23 +01:00 |
|
Maxime Coste
|
54590f5d79
|
Minor code cleanup in highlighters
|
2014-06-18 20:31:49 +01:00 |
|
Maxime Coste
|
fc6a16a571
|
Fix corner cases in region highlighting
|
2014-06-16 19:41:07 +01:00 |
|
Maxime Coste
|
51da452dc4
|
Merge branch 'master' into hierarchical-highlighters
|
2014-06-16 01:06:09 +01:00 |
|
Maxime Coste
|
2acfe85281
|
Highlight selection cursors in a second pass
This allows cursors to overlap on next selection and still be
visible.
|
2014-06-16 00:59:05 +01:00 |
|
Maxime Coste
|
205e8b2889
|
Refactor highlighter command completions
|
2014-06-15 16:04:38 +01:00 |
|
Maxime Coste
|
9130f0334b
|
Remove defhl, use addhl -group
|
2014-06-12 22:35:40 +01:00 |
|