using System;
using System.Text.RegularExpressions;
public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
int indentSize = 1; //Use negative or positve values
char indentChar = '\t'; //Tab character
if (indentSize > 0)
text = Regex.Replace(text, @"^", new string(indentChar, indentSize), RegexOptions.Multiline);
else if (indentSize < 0)
text = Regex.Replace(text, @"^" + new string(indentChar, Math.Abs(indentSize)), "", RegexOptions.Multiline);
return text;
}
}