添加项目文件。
This commit is contained in:
20
ScriptPad/Editor/TextMarker.cs
Normal file
20
ScriptPad/Editor/TextMarker.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using ICSharpCode.AvalonEdit.Document;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace ScriptPad.Editor
|
||||
{
|
||||
public class TextMarker : TextSegment
|
||||
{
|
||||
public TextMarker(int startOffset, int length, string message, Color markerColor)
|
||||
{
|
||||
StartOffset = startOffset;
|
||||
Length = length;
|
||||
Message = message;
|
||||
MarkerColor = markerColor;
|
||||
}
|
||||
|
||||
public string Message { get; }
|
||||
|
||||
public Color MarkerColor { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user