kakoune/test/highlight/replace-only-fully-selected-ranges/rc
Maxime Coste cb119251bc Do not replace partially selected ranges in replace-ranges highlighter
Partially selected ranges should not be replaced to make it possible
to see what is actually selected.
2020-04-27 17:39:21 +10:00

3 lines
226 B
Plaintext

declare-option range-specs test_ranges %val{timestamp} '1.2,1.4|{blue}replaced{green} text' '2.2,2.4|{blue}replaced{green} text' '3.2,3.4|{red}not {blue}replaced{green} text'
add-highlighter window/ replace-ranges test_ranges