{
int beginLine, endLine, beginColumn, endColumn;
string fileName, plainText;
-
+ ILocation location;
+
public Location (ILocation location)
{
Init (location);
fileName = location.Filename;
plainText = location.PlainText;
}
+ this.location = location;
}
public string Filename {
get { return plainText; }
set { plainText = value; }
}
+
+ public string FileText {
+ get {
+ if (location != null)
+ return location.FileText;
+
+ return null;
+ }
+ }
}
}