aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-10 06:03:25 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-10 06:03:25 +0100
commit407690e9b8a2693a7bd831e954c079cb26c569b7 (patch)
tree080e33bbd9e9aea75048306513cde40b603223ea /CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
parentfd3397cdf340284c7cbb912b45ebfdbb654947d5 (diff)
getStremFromPath made instanced for overriding in designiface, crowide wip
Diffstat (limited to 'CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs')
-rw-r--r--CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs b/CrowIDE/src/Editors/CodeBuffer/CodeBufferEventArgs.cs
new file mode 100644
index 00000000..07dd25b6
--- /dev/null
+++ b/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;
+ }
+ }
+
+}
+