1
0
mirror of synced 2025-01-09 13:11:38 +01:00
ImHex/plugins/builtin/include/content/views
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
..
view_about.hpp impr: Refactor various view drawing code (#1698) 2024-06-08 13:56:48 +02:00
view_achievements.hpp refactor: Streamline entire view system 2023-11-21 13:47:50 +01:00
view_bookmarks.hpp impr: Improve bookmark drag-n-drop logic 2024-06-09 20:11:55 +02:00
view_command_palette.hpp refactor: Get rid of this->m_ 2023-12-19 13:10:25 +01:00
view_constants.hpp refactor: Streamline entire view system 2023-11-21 13:47:50 +01:00
view_data_inspector.hpp impr: Refactor various view drawing code (#1698) 2024-06-08 13:56:48 +02:00
view_data_processor.hpp feat: Display pattern descriptions in file chooser and pattern popup 2024-08-03 22:00:47 +02:00
view_find.hpp feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
view_hex_editor.hpp impr: Make highlight hovering more efficient 2024-07-08 21:34:27 +02:00
view_highlight_rules.hpp feat: Added highlighting rules 2023-12-02 11:09:32 +01:00
view_information.hpp feat: Added option to highlight pattern parents in the hex editor when hovering 2024-02-25 14:30:56 +01:00
view_logs.hpp refactor: Streamline entire view system 2023-11-21 13:47:50 +01:00
view_patches.hpp fix: Modification highlighting not working correctly when provider data was moved 2024-02-15 22:09:37 +01:00
view_pattern_data.hpp feat: Highlight patterns in hex editor when hovering over pattern data row 2024-06-07 19:48:10 +02:00
view_pattern_editor.hpp fix: Various pattern editor settings not being per-provider (#1917) 2024-11-24 11:24:14 +01:00
view_provider_settings.hpp fix: Provider loader interface being closable and not resizing correctly 2023-12-17 23:15:52 +01:00
view_settings.hpp impr: Use sidebar for settings categories instead of tabs 2024-04-10 19:55:37 +02:00
view_store.hpp fix: Replace old defaults path system with a new one 2024-06-22 10:44:55 +02:00
view_theme_manager.hpp refactor: Streamline entire view system 2023-11-21 13:47:50 +01:00
view_tools.hpp impr: Various web build improvements, API cleanup (#1541) 2024-02-10 23:31:05 +01:00
view_tutorials.hpp feat: Added basic introduction tutorial 2023-12-13 23:03:39 +01:00