feat: semantic syntax highlights for pattern editor. (#2214)

allows the ability to assign colors to global placed and non-placed
variables, pattern, local and calculated pointer variables, template
arguments, function variables and arguments, etc etc etc. It
accomplishes this using the parser and the token sequence generated by
the lexer. It still uses the original colorizing code but the underlying
data holding the pattern has been updated to be easier to use and to
debug. The changes are too numerous to cite here.It is a big but
necessary step to bring the pattern editor to a somewhat useful state.
There may be one commit in the pattern language repo needed to be able
to run this code
This commit is contained in:
paxcut
2025-07-11 22:47:56 -07:00
committed by GitHub
parent 5782236379
commit e7a2729d36
13 changed files with 4384 additions and 1058 deletions

View File

@@ -2,8 +2,6 @@
#include <hex.hpp>
#include <windows.h>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/imhex_api.hpp>