- use log file instead of buffer for debug messages
- fixed line-indice sort bug (had to specify 'f' for numeric)
- reduced b: level state
- remove textprops on callback '--begin--' instead of write
- track begin/end of lines
- fixed case-sensitivity begin/end bug
- updated RebuildTextProps() to operate on an explicit buffer number
- updated RebuildTextProps() to skip unloaded and/or hidden buffers
- updated enable/refresh/clear all buffer operations to loop over
`getbufinfo()` instead of using `bufdo` command
- updated color parsers to all return RGBA lists
- split alpha-disabled match pruning out into s:UnHlAlpha()
- g:clrzr_maxlines guarding
- single awk job, instead of per-window
- updated awk script to reflect buffer# back to vim
- have plugin check for textprop, termguicolors, ##TextChanged. echoerr
if missing.
- removed most ...Window() functions & window-specific properties
- renamed commands to Clrzr... (shorter, & avoids likely name collisions)
- refactored commands to differentiate between session-wide & window-only operations
- stripped out leader bindings
- per-window alpha toggle
- hoisted get background color outside of syntax parse loop
- process up to g:clrzr_maxlines instead of skipping file entirely
- removed hlexists() check to fix bug during :colorscheme change
(highlights remain, even after all corresponding matches are removed)
- major surgery on autocmds
- hsl, hsla support
- some regex harmonization between searcher & extractor
- handle percentages w/ decimals
- handle decimals without a leading digit
- generic alpha-extraction function
- changed extension of README
- added notes on README.md on how to get `termguicolors`
under true-color terminals
- removed Makefile
- removed xterm palette matching
(close is not good enough, best not to try )
- disable plugin if `termguicolors` is not == 1
- added hsl items to colortest.txt for future addition
- added :ColorAlphaPosToggle command
Color Re-Parsing Avoidances:
- pass colors around as int lists instead of strings
- rolled s:SetMatcher() logic into main loop
- replaced s:FGforBG() w/ s:FGforBGList()
- replaced s:Rgba2Rgb w/ s:IntAlphaMix()
Misc Adjustments:
- use magic mode '\v' for simpler regexes
- added '0x' as a prefix for RGB/RGBA interpretation
- added s:WriteDebugBuf() for debugging
- disabled for 'help' buffers (usu. large, no colors)
Primary Improvement:
- adjusted s:PreviewColorInline() to walk the buffer in
a single pass, find color TOKENs, & pass them on to the
appropriate "ColorFinder".
(i.e. single pass instead of pass-per-ColorFinder)
- adjusted "ColorFinders" to extract color data from a
single color TOKEN