优化LLM提示词

This commit is contained in:
2026-02-28 22:34:51 +08:00
parent 6beb8b5be9
commit 53f1c4902c
9 changed files with 292 additions and 30 deletions

View File

@@ -2,12 +2,12 @@
using System.Windows.Controls;
using System.Windows.Documents;
using ColorCode;
using ColorCode.Common;
using ColorCode.Parsing;
using ColorCode.Styling;
using ColorCode.Wpf.Common;
#nullable enable
namespace ColorCode.Wpf
namespace Szmedi.RvKits.RvScript
{
/// <summary>
/// Creates a <see cref="RichTextBoxFormatter"/>, for rendering Syntax Highlighted code to a RichTextBlock.
@@ -108,7 +108,7 @@ namespace ColorCode.Wpf
if (Styles.Contains(scope.Name))
{
Styling.Style style = Styles[scope.Name];
ColorCode.Styling.Style style = Styles[scope.Name];
foreground = style.Foreground;
background = style.Background;