| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-08 | Replace std::unique_ptr with a custom implementation | Maxime Coste | |
| <memory> is a costly header we can avoid by just implementing UniquePtr ourselves, which is a pretty straightforward in modern C++, this saves around 10% of the compilation time here. | |||
| 2024-08-16 | include headers cleanup | AdriĆ Arrufat | |
| 2024-08-12 | Extract format implementation to its own file | Maxime Coste | |
| Split it to avoid pulling all string_utils dependencies for just format. | |||
| 2024-04-12 | Make removing an unknown highlighter an error | Maxime Coste | |
| Fail instead of silently doing nothing, this makes it easier to toggle highlighters using a try/catch | |||
| 2022-07-21 | Use menu behavior for add-highlighter/remove-highlighter completion | Johannes Altmanninger | |
| This means that typing :add-highlighter g c 80 results in :add-highlighter global/ column 80 Paths for add-highlighter do not get the menu behavior because we want to be able to type "global/foo" even if "global/foobar" exists. | |||
| 2020-03-30 | Add -override support to add-highlighter | Maxime Coste | |
| This allow replacing a highlighter in place, not loosing its current position in its parent. Fixes #3436 | |||
| 2018-07-05 | Tweak how highlighter names are auto-generated | Maxime Coste | |
| 2018-07-05 | Refactor add-highlighter to make naming explicit | Maxime Coste | |
| The highlighter name must be given as part of the path of the highlighter, as the last element. Fixes #1712 | |||
| 2018-06-11 | Pass DisplaySetup through the HighlightContext | Maxime Coste | |
| 2018-04-06 | Make error messages more consistent | Delapouite | |
| 2018-04-06 | Make compute_display_setup methods const | Maxime Coste | |
| 2018-03-20 | Revert "Throw when trying to remove a child highlighter that does not exists" | Maxime Coste | |
| This reverts commit 56237aa8f8adaffc63584a6e8435b9cf414d82ef. Throwing seems more correct, but it breaks lots of existing scripts. reverting for now until we have a nice solution. | |||
| 2018-03-20 | Throw when trying to remove a child highlighter that does not exists | Maxime Coste | |
| 2018-02-22 | Fix typos in C++ string literals | aver-d | |
| informations, dont, incrementaly, alignement | |||
| 2017-11-25 | Highlighters: Introduce unique highlighter support | Maxime Coste | |
| Some highlighters, such as wrap or line numbers, are not intended to be used multiple times on the same display. Add support for unique ids that are used by highlighters to disable themselves if another unique highlighter with the same id is supposed to override them. The usual highlighter "precedence" takes, place, that it, that most nested highlighter will the the one to run (window in priority to buffer in priority to global). | |||
| 2017-11-02 | Append '/' to highlighter group completion candidates | Maxime Coste | |
| 2017-10-31 | Highlighters does not need to inherit from HighlighterGroup | Maxime Coste | |
| Just compose, to avoid coupling Highlighters with the Highlighter interface. And yeah, that naming is a bit confusing. | |||
| 2017-10-28 | Move highlighters into Scopes | Maxime Coste | |
| That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch. | |||
| 2017-10-10 | Move all non-core string code to string_utils.{hh,cc} | Maxime Coste | |
| 2017-08-29 | Rename containers.hh to ranges.hh (and Container to Range) | Maxime Coste | |
| 2017-05-07 | Move passes logic to the base Highlighter class | Maxime Coste | |
| Validate that childs of HighlighterGroup are matching its passes. | |||
| 2017-05-07 | Make scrolling around work more correctly with wrapping | Maxime Coste | |
| 2017-05-07 | Introduce highlighting phases and display setup computation | Maxime Coste | |
| Highlighters now run in 3 phases: Wrap, Move, and Colorize. That way we guarantee the wrap highlighter runs first, then eventual line numbers/flags, and finally the colorizers. We also run a `compute_display_setup` method thats responsible for computing the lines that will be displayed, eventually scrolling the view to ensure the cursor is visible. | |||
| 2017-03-07 | Replace IdMap with HashMap | Maxime Coste | |
| 2016-03-08 | Rework container helpers, use pipe syntax and cleanup implementation | Maxime Coste | |
| use 'container | filter(func) | reverse() | transform(func)' instead of 'transform(reverse(filter(container), func), func)' to express container transformations. | |||
| 2016-02-13 | Do not allow / in highlighter names as it is used for hierachies | Maxime Coste | |
| / are replaced with <slash> in the highlighter names. Fixes #553 | |||
| 2015-11-11 | Fix access to dead temporary | Maxime Coste | |
| 2015-09-16 | Store key hash in IdMap | Maxime Coste | |
| 2015-06-01 | Port even more code to use format function | Maxime Coste | |
| 2015-06-01 | Port more code to use the format function instead of adhoc string concat | Maxime Coste | |
| 2014-12-23 | Unify completion from container content logic | Maxime Coste | |
| 2014-12-23 | Move containers utils to containers.hh and add filtered/transformed utils | Maxime Coste | |
| 2014-12-02 | Pass a BufferRange to highlighters, fix subregions | Maxime Coste | |
| Regions highlighter can now correctly be applied to only subrange of the buffer, fixing some corner cases in recursive regions. | |||
| 2014-10-28 | Style fixes | Maxime Coste | |
| 2014-10-22 | Refactor highlighters, use an interface with virtual methods | Maxime Coste | |
| 2014-06-16 | Share implementation in complete_id/complete_group_id | Maxime Coste | |
| 2014-06-15 | Refactor highlighter command completions | Maxime Coste | |
| 2014-06-12 | Remove defhl, use addhl -group | Maxime Coste | |
| 2014-06-10 | Add HierachicalHighlighter class | Maxime Coste | |
| HierachicalHighlighter contains a map of names to HighlighterGroup and can wrap any highlighter that wants to access user settable sub groups. | |||
| 2014-06-10 | Replace FunctionGroup template with HighlighterGroup class | Maxime Coste | |
| 2013-03-27 | Merge {Filter,Highlighter}Group in a FunctionGroup template | Maxime Coste | |
| 2012-10-11 | use ByteCount instead of CharCount when we are really counting bytes | Maxime Coste | |
| (that is most of the time when we are not concerned with displaying) | |||
| 2012-08-23 | use a strongly typed int CharCount for character counts | Maxime Coste | |
| 2012-06-25 | remove ugly id_to_str param in idvaluemap and str_to_str | Maxime Coste | |
| 2012-04-14 | replace std::string references with String | Maxime Coste | |
| 2012-04-03 | fix error message in HighlighterGroup | Maxime Coste | |
| 2012-01-19 | HighlighterGroup: use idvaluemap::complete_id_if in complete_group_id | Maxime Coste | |
| 2012-01-19 | HighlighterGroup: move to it's own file, Window uses them directly | Maxime Coste | |
