Commit Graph

219 Commits

Author SHA1 Message Date
ema
97ebb410fb Add .cnf extension to INI syntax highlighting
Some checks failed
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
Updated both dark and light INI.xshd syntax definition files to include the .cnf extension, enabling proper syntax highlighting for .cnf files.
2025-12-12 02:29:25 +08:00
ema
7211c2ebdd Update PowerShell syntax colors in dark theme
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
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.
2025-12-05 13:40:57 +08:00
Copilot
1f96cf5745 Add Svelte syntax highlighting support (#1809) 2025-11-20 00:01:34 +08:00
ema
17b374b2e9 Keep TextViewer compatible with VS2022 2025-11-17 03:00:29 +08:00
ema
9ebc030f8b Improve TextViewerPanel UI and usability
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.
2025-11-17 02:55:24 +08:00
ema
5caaf749f7 Set _currentPath before file type check in View
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.
2025-10-29 21:25:30 +08:00
ema
6a6c411efb Refactor icon usage to use FontSymbols constants
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.
2025-10-10 17:39:32 +08:00
ema
39ee2f6b00 Update Batch syntax highlighting colors
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.
2025-10-10 17:07:23 +08:00
ema
d2c80e1847 Rename Goovy.xshd to Groovy.xshd 2025-10-10 16:52:41 +08:00
ema
1095d2be68 Add dark theme syntax definition for HTML viewer
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
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.
2025-10-08 02:00:41 +08:00
ema
432b3b033a Add cross-plugin 'Reopen as' menu for SVG and HTML
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.
2025-10-08 01:55:58 +08:00
ema
f7c029f127 Support Reopen as HTML preview #1690 2025-10-08 01:24:23 +08:00
ema
342f14ebd9 Add KrcDetector for .krc file support
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-28 03:04:44 +08:00
ema
1fa31d0983 Add 'Copy' and 'Select All' translations for more languages
Added 'Editor_Copy' and 'Editor_SelectAll' translations for Arabic, Catalan, Norwegian, Dutch, Polish, Portuguese, Russian, Turkish, Vietnamese, Marathi, Hindi, Hebrew, Hungarian, Indonesian, and Slovak to improve localization coverage.
2025-09-24 23:55:18 +08:00
ema
0bca38e2bf Add .slnx extension to XML syntax highlighting
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-15 12:50:07 +08:00
samueljoh
ae05deea46 Add Swedish translation (#1755) 2025-09-11 11:01:23 +08:00
ema
c748f6d7e4 Update NuGet package versions in project files
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.
2025-09-08 02:42:09 +08:00
ema
e0a2204e56 Add diff file syntax highlighting 2025-09-08 02:16:55 +08:00
ema
21a3dd3d4b Fix the same previous issue in other plugins
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-08-15 02:17:50 +08:00
VenusGirl❤
a4d118e11f Update Korean (#1710)
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-07-23 15:07:39 +08:00
ema
10ce29e836 Refactor JSON detection to use Regex field
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-07-10 07:38:21 +08:00
ema
8d66dfac54 Add hosts file syntax highlighting 2025-07-10 07:33:57 +08:00
ema
d06abf461e Enable Dockerfile detection 2025-07-10 07:10:48 +08:00
ema
4c4375612e Add configuration syntax highlighting
File extension: .conf;.config;.cfg
2025-07-10 07:01:15 +08:00
ema
8dcb09cf84 Add syntax highlighting for .env files 2025-07-10 06:46:54 +08:00
ema
b27ff01eff Add syntax highlighting for .gitattributes files 2025-07-10 06:29:42 +08:00
ema
befdb17718 Remove unused settings from GitIgnore 2025-07-10 06:26:57 +08:00
ema
2ee54695e7 Set RichTextBox background to transparent 2025-07-10 05:37:58 +08:00
ema
4a72e1ed8e Optimize file name comparison in detectors 2025-07-10 04:11:00 +08:00
ema
0bb6e622f6 Refactor confused format detection method names
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-09 04:27:50 +08:00
ema
345b061a8d Add dark mode CMake syntax highlighting 2025-07-09 04:20:18 +08:00
ema
67dc0ce10d Add CMake syntax highlighting and format detection 2025-07-09 04:16:19 +08:00
ema
631fd91219 Prepare hosts format detector 2025-07-09 03:55:45 +08:00
ema
cf6dd5cdf3 Prepare Dockerfile format detector 2025-07-09 03:50:50 +08:00
ema
7a11127b09 Prepare CMakeLists.txt format detector 2025-07-09 03:47:10 +08:00
ema
e035153642 Add .editorconfig to INI syntax highlighting 2025-07-09 03:37:55 +08:00
ema
78b695a170 Improve fallback logic for highlighting themes 2025-07-09 03:34:14 +08:00
ema
ed4169d6fe Add light mode Makefile syntax highlighting 2025-07-09 03:29:16 +08:00
ema
0a79d59c79 Add MakefileDetector for text viewer 2025-07-09 03:24:42 +08:00
ema
d6cc984267 Optimize JSONDetector with Span 2025-07-09 03:03:56 +08:00
ema
484acddba3 Add reStructuredText syntax highlighting
Just a simple highlighting solution for `.rst` files
2025-07-09 00:12:52 +08:00
ema
18634f15be Add Markdown syntax highlighting
Add from https://github.com/cuiliang/AvalonEditHighlightingThemes
2025-07-09 00:04:44 +08:00
ema
09a3cc3ea5 Add dark mode and unify naming for .sln syntax 2025-07-08 23:18:55 +08:00
ema
a6c077fbbb Add Pixso (.pip, .pix) support to ThumbnailViewer
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-08 22:28:08 +08:00
ema
c47d9f3c9b Move resource dictionary initialization 2025-07-08 22:04:34 +08:00
ema
06d9ed2a85 Add Protobuf syntax highlighting
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-08 04:44:35 +08:00
ema
3de93386cc Add NSIS syntax highlighting
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-05 03:31:33 +08:00
ema
b42b7ce4e8 Add syntax highlighting for SubRip Subtitle (.srt) files 2025-07-05 03:20:56 +08:00
ema
89571b1431 Add Swift dark mode syntax highlighting 2025-07-05 03:00:55 +08:00
ema
a7e26519ed Add Dart dark mode syntax highlighting 2025-07-05 02:59:08 +08:00