aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2019-05-06 00:37:48 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2019-05-06 00:37:48 +0200
commit09abcce174f8dc4e612f5cd98b07dffced5b38cd (patch)
treef7c1c60b81cba6e05fafc5719dc9a21f9f4ed50e /Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
parente2f434f35a86a30962f2aebb36fcf59c9250838d (diff)
wip
Diffstat (limited to 'Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs')
-rw-r--r--Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs b/Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
new file mode 100644
index 00000000..07dd25b6
--- /dev/null
+++ b/Samples/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
@@ -0,0 +1,20 @@
+using System;
+
+namespace Crow.Coding
+{
+ public class CodeBufferEventArgs : EventArgs {
+ public int LineStart;
+ public int LineCount;
+
+ public CodeBufferEventArgs(int lineNumber) {
+ LineStart = lineNumber;
+ LineCount = 1;
+ }
+ public CodeBufferEventArgs(int lineStart, int lineCount) {
+ LineStart = lineStart;
+ LineCount = lineCount;
+ }
+ }
+
+}
+