-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
base: master
Are you sure you want to change the base?
Commits on May 23, 2024
-
feat: full syntax highlights and interactive compiler error reporting…
… 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.
Configuration menu - View commit details
-
Copy full SHA for 10b398f - Browse repository at this point
Copy the full SHA 10b398fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a15db96 - Browse repository at this point
Copy the full SHA a15db96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2516b - Browse repository at this point
Copy the full SHA 9e2516bView commit details
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 35cefd3 - Browse repository at this point
Copy the full SHA 35cefd3View commit details
Commits on Aug 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ebfb047 - Browse repository at this point
Copy the full SHA ebfb047View commit details -
Configuration menu - View commit details
-
Copy full SHA for f84a493 - Browse repository at this point
Copy the full SHA f84a493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1356637 - Browse repository at this point
Copy the full SHA 1356637View commit details
Commits on Aug 4, 2024
-
Improvements to the Pattern editor including full syntax highlights a…
…nd per provider saved cursor position.Also includes other fixes and additions as follows. improv: Changed palette index names from patternPlacedVariable to calculatedPointer and from patternLocalVariable to localVariable. Also added new entry for views. improv: removed redundant enumerations for colors not really needed improv: implemented a better handling of the color information that is both more efficient and thread safe. Colorizer stages the glyph colors and text editor commits the changes. improv: favor using over typedefs. better names for text editor variables fix: find/replaces matches were being incorrectly kept after editions that moved them. improv: moved all highlighting code to its own file. improv: preprocess text when provider is opened to remove tabs and other things. improv: when text is changed, highlighter must wait for parser to finish and once highlighting starts, parser will not start parsing new changes until highlighting is finished with the file or else the data being processed will get corrupted by new incoming changes. improv: incorporated new highlighting system to the editor console. Fix: changed palette index entries used by pattern drawer to color namesin pattern data window to the new names that correspond to the ones being used before.
Configuration menu - View commit details
-
Copy full SHA for 4ac2ee7 - Browse repository at this point
Copy the full SHA 4ac2ee7View commit details
Commits on Aug 5, 2024
-
Fix: global variables not handled properly when only global scope exi…
…sts. Added comments, removed old code and formatted code to follow imhex code style a bit more.
Configuration menu - View commit details
-
Copy full SHA for c08742a - Browse repository at this point
Copy the full SHA c08742aView commit details
Commits on Aug 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d624497 - Browse repository at this point
Copy the full SHA d624497View commit details
Commits on Aug 12, 2024
-
improv: Made m_tokens a const reference to avoid copies.
fix: Moved checking for import keyword to member chains. fix: global variables were labeled incorrectly as being local fix: linkAttributes was checking for last line incorrectly Removed unused assigned values. fix: When globals are defined in imported or included files they can't be detected as valid global identifiers, so unknown identifiers found in global scope are always labeled as valid. Removed unused included files and unused code
Configuration menu - View commit details
-
Copy full SHA for 0484087 - Browse repository at this point
Copy the full SHA 0484087View commit details -
fix: Double-clicking on a string with no spaces could also select clo…
…sing ". fix: After doing a search, scrolling to another position with the wheel and using left-click to set the cursor would revert the scrolling to the last search when typing chars. fix: After doing a search, if the file was edited at a place before the matches the locations of the matches were not being updated to include the editions.
Configuration menu - View commit details
-
Copy full SHA for 6ef844c - Browse repository at this point
Copy the full SHA 6ef844cView commit details
Commits on Aug 13, 2024
-
fix: Scope resolution chains were not being processed correctly in pa…
…rt because UDT definitions had the wrong information. Enums defined in imports or includes cannot resolve the members so they are always labeled as pattern variables.
Configuration menu - View commit details
-
Copy full SHA for 88f723c - Browse repository at this point
Copy the full SHA 88f723cView commit details
Commits on Aug 16, 2024
-
fix: Global variables were not highlighting correctly because they we…
…re being identified as globals much too early. Their identification prevented the detection of member variables highlight colors.
Configuration menu - View commit details
-
Copy full SHA for d7cfdcf - Browse repository at this point
Copy the full SHA d7cfdcfView commit details
Commits on Aug 18, 2024
-
These changes are mostly to correct cppcheck areas of concern but not…
…hing really worth noting.
Configuration menu - View commit details
-
Copy full SHA for 14644ad - Browse repository at this point
Copy the full SHA 14644adView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d54c1dc - Browse repository at this point
Copy the full SHA d54c1dcView commit details
Commits on Aug 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7cc4f53 - Browse repository at this point
Copy the full SHA 7cc4f53View commit details
Commits on Sep 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0d5d77 - Browse repository at this point
Copy the full SHA f0d5d77View commit details