private void transformFileNames()
{
var text = this.textBox.TargetText;
// Trim quotes if necessary
if (text.StartsWith(@"""") && text.EndsWith(@""""))
{
this.textBox.TargetStart++;
this.textBox.TargetEnd--;
text = text.Substring(1, text.Length - 2);
}
// If it's not a valid file, we won't highlight it
if (!this.isValidFileName(text))
this.textBox.TargetStart = this.textBox.TargetEnd;
}