Include the .pyx (Cython) extension in the Python SyntaxDefinition files for both Dark and Light themes so .pyx files are recognized and highlighted. Updated QuickLook.Plugin.TextViewer/Syntax/Dark/Python.xshd and QuickLook.Plugin.TextViewer/Syntax/Light/Python.xshd.
Include CUDA source (.cu) and header (.cuh) extensions in the C++ syntax definitions so CUDA files are recognized and highlighted. Updated QuickLook.Plugin.TextViewer/Syntax/Dark/C++.xshd and QuickLook.Plugin.TextViewer/Syntax/Light/C++.xshd.
Introduces dark theme syntax definition (.xshd) files for various programming languages in QuickLook.Plugin.TextViewer, including ANTLR, Boo, Ceylon, ChucK, Clojure, Cocoa, CoffeeScript, Cool, and others. This enhances text viewer support for code files with improved readability in dark mode.
Updated both dark and light XML syntax definition files to include the .axml extension, ensuring proper syntax highlighting for files with this extension.
Introduces a new XML-based syntax definition for ActionScript in the dark theme, specifying colors and rules for keywords, comments, strings, and documentation tags.
Added a new Fortran95.xshd syntax definition for the dark theme. Cleaned up the light theme Fortran95.xshd by removing duplicate keywords, updating digit color, and fixing delimiter escaping.
Changed all Plugin classes and PluginManager to be sealed, preventing further inheritance. This improves code safety and clarifies the intended usage of these classes.
Added logic to strip the UTF-8 BOM character from the start of the text before performing JSON format detection. This ensures that files with a BOM are correctly identified as JSON.
Added support for .clang-format files to YAML highlighting definitions. Enhanced syntax highlighting to color YAML document separators (---, ...) and their comments distinctly in both dark and light themes. Fixed a potential exception when handling lines without a colon.
Updated the XMLDetector regex to support both single and double quotes in the XML version attribute, improving compatibility with different XML declaration styles.
Now supports:
<?xml version="1.0"?>
<?xml version='1.0'?>
Changed the color values for Keywords2 and Keywords3 in the PowerShell.xshd dark theme file to use specific hex codes instead of named colors for improved consistency and appearance.
Enabled touch gesture support, disabled automatic hyperlink detection, and visually hid the line number separator. Added context menu items for copy and select all, installed a custom element generator for long lines, and integrated the search panel for enhanced text navigation.
Moved assignment of _currentPath to the start of the View method to ensure it is set before any file type-specific logic is executed. This improves consistency and prevents potential issues with path-dependent operations.
Replaced hardcoded icon strings with FontSymbols constants in MoreMenu and converter classes for consistency and maintainability. Removed duplicate FontSymbols class from MidiPlayer and updated usages to reference QuickLook.Common.Controls.
Adjusted colors for selection, caret, fold markers, markers, comments, labels, output, and keywords in the Batch.xshd file to improve readability and consistency with dark theme conventions.
Introduces zzz-After-JavaScript-HTML.xshd, an XML-based syntax highlighting definition for HTML files in dark mode. This file configures colors, rules, and spans for improved readability in the text viewer plugin.
Introduces 'Reopen as source code' and 'Reopen as image preview' options in the MoreMenu for SVG and HTML files, enabling users to switch between ImageViewer and TextViewer plugins. Updates translation files to support new menu items in multiple languages and refactors related plugin code for extensibility.
This commit updates various NuGet package references to newer versions across multiple QuickLook plugin and main project .csproj files. These updates include dependencies such as WixToolset.Dtf.WindowsInstaller, UTF.Unknown, FreeTypeSharp, Microsoft.Web.WebView2, Magick.NET-Q8-AnyCPU, Google.Protobuf, MsgReader, HelixToolkit, bblanchon.PDFiumV8.Win32, Melanchall.DryWetMidi, WPF-UI.Violeta, and Lib.Harmony, ensuring the projects use the latest compatible releases.