From 43b2f2ea9b6e5e872b515df0490001f99ec7d976 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 6 Dec 2010 22:32:11 +0000 Subject: [PATCH] Keep a reference to the file being read. --- Source/Bind/BindStreamWriter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Bind/BindStreamWriter.cs b/Source/Bind/BindStreamWriter.cs index ec942e8f..41ffc860 100644 --- a/Source/Bind/BindStreamWriter.cs +++ b/Source/Bind/BindStreamWriter.cs @@ -18,9 +18,12 @@ namespace Bind Regex splitLines = new Regex(Environment.NewLine, RegexOptions.Compiled); //Regex splitLines = new Regex("(\r\n|\n\r|\n|\r)", RegexOptions.Compiled); + public readonly string File; + public BindStreamWriter(string file) : base(file) { + File = file; } public void Indent()