 258 [details]
A simple project of code example
Code formatting throw "System.InvalidOperationException: Tried to remove non ws chars" in this case :
using System;
namespace MonodevelopFormattingBug
{
class MainClass
{
public static void Main (string[] args)
{
bool vTest = true;
Console.WriteLine ((vTest ? "One unicode char like é doesn't accepted in inline condition" : "One unicode char like à doesn't accepted in inline condition"));
}
}
}
Code formatting stop at the "é" char.
Fixed in master. It was caused by an encoding error. Encoding.Default is UTF8 on mono - always. But different on MS.NET. And we used UTF8 at one occassion and Encoding.Default in another.
That why it failed.