-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLineInfo.cs
34 lines (30 loc) · 890 Bytes
/
LineInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tachufind
{
internal class LineInfo
{
//public string Line { get; set; }
public int LineStart { get; set; }
public int LineEnd { get; set; }
public string IsLineBracketed { get; set; }
public LineInfo(int lineStart, int lineEnd, string isLineBracketed) // Old was: public LineInfo(string line, int lineStart, int lineEnd)
{
//Line = line;
LineStart = lineStart;
LineEnd = lineEnd;
IsLineBracketed = isLineBracketed;
}
public void AddToStart(int value)
{
LineStart += value;
}
public void AddToEnd(int value)
{
LineEnd += value;
}
}
}