Browse Source

fix missing method.

newNRvisualizers
Mike Krüger 14 years ago
parent
commit
42717c9b0c
  1. 5
      ICSharpCode.NRefactory.Tests/FormattingTests/TextEditorTestAdapter.cs

5
ICSharpCode.NRefactory.Tests/FormattingTests/TextEditorTestAdapter.cs

@ -41,7 +41,10 @@ namespace ICSharpCode.NRefactory.FormattingTests @@ -41,7 +41,10 @@ namespace ICSharpCode.NRefactory.FormattingTests
return string.Format ("[Delimiter: Offset={0}, Length={1}]", Offset, Length);
}
}
public void Replace (int offset, int count, string value)
{
this.text = this.text.Substring (0, offset) + value + this.text.Substring (offset + count);
}
static IEnumerable<Delimiter> FindDelimiter (string text)
{
for (int i = 0; i < text.Length; i++) {

Loading…
Cancel
Save