Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: full syntax highlights and interactive compiler error reporting indicated using a red squiggly line under the affected symbols. #1700

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paxcut
Copy link
Contributor

@paxcut paxcut commented May 23, 2024

  • Added an under-squiggled text function to imgui extensions.
  • Syntax highlighter supports identifier validation and attempts to use contextually invalid identifiers results in error denoting coloration.
  • Moved shortcuts from text editor to shortcut manager in view_pattern_editor.cpp.
  • Removed all the language definition code.
  • Added a text preprocessing function to remove /t and use standard newlines.
  • Changed uses of int and unsigned to i32 and u32 or equivalent.
  • Changed theme files to use the new names for the color palette entries, but they should remain the same for the most part. - Added a full syntax highlighting theme for pattern language based on the previous Dark theme and clion's darcula which is called Clark
  • Search-replace in pattern editor retained found matches when text was edited.
  • Incorporated blinking cursor resetting to new functions that move the cursor and streamlined previous entries under mouse editing.

… indicated using a red squiggly line under the affected symbols.

Added an under-squiggled text function to imgui extensions.
Syntax highlighter supports identifier validation and attempts to use contextually invalid identifiers results in error denoting coloration.
Moved shortcuts from text editor to shortcut manager in view_pattern_editor.cpp.
Removed all the language definition code.
Added a text preprocessor to remove /t and use standard newlines.
Changed uses of int and unsigned to i32 and u32 or equivalent.
Changed theme files to use the new names for the color palette entries, but they should remain the same for the most part.
Added a full syntax highlighting theme for pattern language based on the previous Dark theme and clion's darcula which is called Clark
Search-replace in pattern editor retained found matches when text was edited.
Incorporated blinking cursor resetting to new functions that move the cursor and streamlined previous entries under mouse editing.
@paxcut
Copy link
Contributor Author

paxcut commented May 23, 2024

Note that this changes won't compile until the latest pattern language submodule pr that i submitted is merged and the pattern language submodule is updated in imhex to use the merged code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant