mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:47:21 +00:00
Highlighted code blocks inside the app (#1153)
This commit is contained in:
1 parent
0b42c0288e
commit
f4a86c2fb8
60 files changed
+2550
-41
No files matched your search
@@ -0,0 +1,9 @@
|
||||
namespace AIStudio.Tools.CodeHighlighting;
|
||||
|
||||
/// <summary>
|
||||
/// A part of a code block which gets a color of its own.
|
||||
/// </summary>
|
||||
/// <param name="Start">Where the part starts in the code.</param>
|
||||
/// <param name="Length">How many characters the part spans.</param>
|
||||
/// <param name="Kind">What the part is.</param>
|
||||
public readonly record struct CodeToken(int Start, int Length, CodeTokenKind Kind);
|
||||
Reference in new issue
Block a user