-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code editor improvements: refactoring, selection handling, and new co…
…mmands (#5) * Improve editor Fix security warning Remove elseif element Change Swift definition to remove confusion between "switch" and "else if" ``` switch (...) case ... result... default result... ``` Add multi-line tabulation with "Tab" and "Shift+Tab" button Fix deprecation in JavaScript Add scroll synchronisation between code input and DA result * Text zoom Add button to zoom in and zoom out in editor Add command Ctrl+; Ctrl-;Ctrl0 to manage quickly zoom * Update Switch Refactor: Replace ‘switch’ keyword with ‘match’ for better clarity and understanding in code logic. * Improvements to zoom, textarea resize, and reintroduction of compatibility with old switch syntax - Disabled `textarea` resizing as the resize button was not functional. - Updated the zoom function to use relative units (`rem`) instead of absolute units (`px`), ensuring better zoom behavior based on the document's font size. - Reintroduced compatibility with the old switch syntax (`if`, `elseif`, `else`, `endif`) while maintaining the new switch syntax, allowing both to coexist and ensuring compatibility with older code. - Implemented the requested changes from the review for better code alignment and functionality. * Minor Code Optimizations Refactoring of repetitive code blocks to reduce redundancy.
- Loading branch information
1 parent
c8f42f2
commit 96257e8
Showing
8 changed files
with
270 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.