summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native
diff options
context:
space:
mode:
authorSungHyun Min <shyun.min@samsung.com>2017-07-05 16:35:46 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:29 +0900
commit82fd1275fb813070cc420aedaa643e86d4e7e069 (patch)
treebc8c95097db2ba4b6c83f882f8ddbb75aa1c62ca /Xamarin.Forms.Platform.Tizen/Native
parenta0eafa63f4994dee7bbabf1ef916f520a0f68182 (diff)
downloadxamarin-forms-82fd1275fb813070cc420aedaa643e86d4e7e069.tar.gz
xamarin-forms-82fd1275fb813070cc420aedaa643e86d4e7e069.tar.bz2
xamarin-forms-82fd1275fb813070cc420aedaa643e86d4e7e069.zip
Fix Editor cursor position issue
TASK=TCAPI2439 Change-Id: I6cf8ba60d74b0cd3fc72e86f1336127cdc5e5559
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Native/Span.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index 3ffea252..cf5299fb 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -186,7 +186,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
else
{
// FontWeight is only available in case of FontAttributes.Bold is not used.
- if(FontWeight != Specific.FontWeight.None)
+ if (FontWeight != Specific.FontWeight.None)
{
_formattingString.AppendFormat("font_weight={0} ", FontWeight);
}
@@ -244,19 +244,25 @@ namespace Xamarin.Forms.Platform.Tizen.Native
case LineBreakMode.TailTruncation:
_formattingString.Append("ellipsis=1.0");
break;
+
case LineBreakMode.CharacterWrap:
_formattingString.Append("wrap=char");
break;
+
case LineBreakMode.WordWrap:
_formattingString.Append("wrap=word");
break;
+
case LineBreakMode.MixedWrap:
_formattingString.Append("wrap=mixed");
break;
+
case LineBreakMode.NoWrap:
- case LineBreakMode.None:
_formattingString.Append("wrap=none");
break;
+
+ case LineBreakMode.None:
+ break;
}
return _formattingString;
@@ -292,4 +298,4 @@ namespace Xamarin.Forms.Platform.Tizen.Native
return new Span { Text = text };
}
}
-}
+} \ No newline at end of file