OSDN Git Service

改行を常に表示するようにした
authortest <test@yahoo.co.jp>
Sun, 23 Aug 2020 09:32:23 +0000 (18:32 +0900)
committertest <test@yahoo.co.jp>
Sun, 23 Aug 2020 09:32:23 +0000 (18:32 +0900)
UWP/Test/MainViewModel.cs

index b256439..310c8a6 100644 (file)
@@ -62,6 +62,7 @@ namespace Test
             doc.AutoComplete = new AutoCompleteBox(doc);
             doc.AutoComplete.Items = complete_collection;
             doc.AutoComplete.Enabled = true;
+            doc.ShowLineBreak = true;
             MainViewModel._list.Add(doc);
 
             doc = new Document() { Title = "test2" };
@@ -82,6 +83,7 @@ namespace Test
             if (file != null)
             {
                 var doc = new Document() { Title = "test" + MainViewModel._list.Count };
+                doc.ShowLineBreak = true;
                 using (var ws = await file.OpenAsync(FileAccessMode.Read))
                 using (var fs = new StreamReader(ws.AsStream()))
                 {