1
0
mirror of synced 2024-12-02 19:27:21 +01:00
ImHex/lib
paxcut 1f2e453e20
fix: Various pattern editor settings not being per-provider (#1917)
### Problem description
Fixes provided for the following unreported bugs.

- Environment variables are set to be per provider but used as if they
are not. When a project is loaded all the environment variables for each
provider are assigned to the first provider making it impossible to add
new ones to the other providers.

- When switching providers, the text editor selection, the text editor
breakpoints, the console text, the console selection and the console
cursor position of the old provider are being assigned to the new
provider

### Implementation description

This PR aims at fixing both errors by:
- using variable defined to be per provider so that they affect their
provider only when necessary.

- creating new per provider variables and using them so that each
provider has their own console, selections and breakpoints.

In order to support the newly added per provided features new functions
were added to the text processor for selections and breakpoints. All the
new per provider variables are defined and used in view pattern editor.
2024-11-24 11:24:14 +01:00
..
external patterns: Updated pattern language 2024-11-24 11:17:29 +01:00
libimhex fix: Typo in tar.hpp (#1909) 2024-11-24 11:20:51 +01:00
third_party fix: Various pattern editor settings not being per-provider (#1917) 2024-11-24 11:24:14 +01:00