Optimize highlighting performance and fix Markdown bug#1
Conversation
* Significantly improved syntax highlighting performance by using a background thread. * Fixed a bug where Markdown code was not being highlighted correctly.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
Updated the minSdk version from 21 to 23 in both the app and snapcode modules. This change is necessary to resolve a manifest merger failure caused by the androidx.graphics:graphics-shapes library, which requires a minimum SDK version of 23.
* Added necessary imports to `SyntaxView.java` to resolve compilation errors. * Removed an unused import from `SliderCompat.java`. * Optimized the zoom functionality in `CodeEditText.java` by streamlining `invalidate` calls and adding a null check to prevent crashes.
* Reverted Material and Graphics Shapes libraries to the user-specified alpha versions. * Disabled `abortOnError` for lint as requested by the user. * Fixed an API incompatibility in `LangType.java` by replacing `Arrays.stream()` with a standard `for` loop, ensuring compatibility with minSdk 23.
This submission optimizes syntax highlighting performance and fixes a bug with Markdown highlighting. The performance of syntax highlighting has been significantly improved by moving the highlighting process to a background thread. Additionally, the bug that was preventing Markdown code from being highlighted correctly has been fixed.
Fixes #
PR created automatically by Jules for task 16863517904439388072 started by @HanzoDev1375