}
switch (temp)
{
- case "WORD":
+ case "WRAP_MODE_WORD":
return LineWrapMode.Word;
- case "CHARACTER":
+ case "WRAP_MODE_CHARACTER":
return LineWrapMode.Character;
default:
return LineWrapMode.Word;
{
case LineWrapMode.Word:
{
- temp = "WORD";
+ temp = "WRAP_MODE_WORD";
break;
}
case LineWrapMode.Character:
{
- temp = "CHARACTER";
+ temp = "WRAP_MODE_CHARACTER";
break;
}
}
}
switch (temp)
{
- case "WORD":
+ case "WRAP_MODE_WORD":
return LineWrapMode.Word;
- case "CHARACTER":
+ case "WRAP_MODE_CHARACTER":
return LineWrapMode.Character;
default:
return LineWrapMode.Word;