From 5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Tue, 13 Mar 2018 17:16:24 +0100 Subject: limit to html safe color plus several ones, crowIDE wip --- .../src/Editors/CodeBuffer/TextBufferEventArgs.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs (limited to 'CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs') diff --git a/CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs b/CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs new file mode 100644 index 00000000..3b67bb1c --- /dev/null +++ b/CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs @@ -0,0 +1,20 @@ +using System; + +namespace Crow.Text +{ + public class TextBufferEventArgs : EventArgs { + public int LineStart; + public int LineCount; + + public TextBufferEventArgs(int lineNumber) { + LineStart = lineNumber; + LineCount = 1; + } + public TextBufferEventArgs(int lineStart, int lineCount) { + LineStart = lineStart; + LineCount = lineCount; + } + } + +} + -- cgit v1.3.1-4-g156e