aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
commit5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa (patch)
tree8c01fd9b8f9e446d17adf9c415e0a4d6ef988a18 /CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs
parent99d63b94c2e0e09eae8efb67e720920c130f7346 (diff)
limit to html safe color plus several ones, crowIDE wip
Diffstat (limited to 'CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs')
-rw-r--r--CrowIDE/src/Editors/CodeBuffer/TextBufferEventArgs.cs20
1 files changed, 20 insertions, 0 deletions
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;
+ }
+ }
+
+}
+