Files
paxcut 34483cb905 fixed data races and imhex crashes from pattern editor. (#2930)
* data races on error markers
* crashes due to data races in color strings.
* crashes when loading patterns that caused errors in console.
* crashes when using code folds of previous loaded pattern.

Other fixes/improvements. Some were created by the fixes above.

* initialize text editor for pattern editor and console on pattern
source code changed callback.
* utf-8 chars in directives made highlighting break.
* highlighter could link struct vars to attribute functions if it had
comments on every line.
* Added a conditional compilation define to unit test target for ui of
IMHEX_TESTS.
* Multi line selections now span the editor's available width.
* Moved all language definitions to the pattern editor for consistency.
* num-lock had no effect on find/replace dialog.
* Select word under cursor selected space when double-clicking the start
of the word.
* A few per provider variables didn't specify provider.
* Clicking on console errors no longer jumped to the source location
* Always use path.string_generic().
* Undo/redo in PE saved redundant information that could become
inconsistent.
* Reworked comment detection logic to ensure only the expected type is
detected.
* obtain tokens directly from lexer.

<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->

### Implementation description
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->
2026-10-08 03:55:57 -07:00
..