summaryrefslogtreecommitdiff
path: root/src/face_registry.hh
AgeCommit message (Collapse)Author
2024-08-16include headers cleanupAdriĆ  Arrufat
2024-04-12Introduce "local" scope in evaluate-commandsMaxime Coste
When using `eval` a new scope named 'local' gets pushed for the whole evaluation, this makes it possible to temporarily set an option/hook/alias... Local scopes nest so nested evals do work as expected. Remove the now trivial with-option command
2023-06-10Pre-parse face specs in HighlightersMaxime Coste
Re-parsing face specs can be expensive as highlighters can be called many times during a redraw with nested regions.
2019-04-23Change faces alias to be a base that can be modifiedMaxime Coste
Using <fg>,<bg>+<attr>@<base> will apply the given fg color, bg color and attributes on top of base dynamically. Simply giving <base> is a shorthand for default,default@<base>. Inspired by the discussion in #2862
2018-04-10Redraw window when the face definition changedMaxime Coste
Hash the current face state and store that hash to check for changes.
2018-04-07Make FaceRegistry scopedMaxime Coste
set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411
2018-02-09FaceRegistry: pass face names as StringViews instead of const String&Maxime Coste
2017-09-11Add debug facesDelapouite
2017-09-01Slight tweak of FaceRegistry::FaceOrAlias definitionMaxime Coste
2017-03-07Replace uses of UnorderedMap with HashMapMaxime Coste
2016-02-12Fix face completion, avoid a spurious temporaryMaxime Coste
2015-01-14Even more memory trackingMaxime Coste
2014-12-23Remove trailing blank linesMaxime Coste
2014-12-16Rework hashing, use a more extensible framework similar to n3876 proposalMaxime Coste
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-08-19Allow faces to reference facesMaxime Coste
Fixes #102
2014-08-14Add support for running kakoune as a filter, using -f 'keys'Maxime Coste
It will cycle on every given files, apply the keys and write to <filename>.kak-out. Only normal/insert mode is available, kakrc are not read.
2014-07-12Refactor RegexColorizers face handlingMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes