Revision | 44d33aba58b5e6d2c4242a4262981d654a014789 (tree) |
---|---|
Zeit | 2016-09-25 17:32:16 |
Autor | konekoneko <test2214@hotm...> |
Commiter | konekoneko |
デバックコードを追加した
@@ -785,7 +785,9 @@ namespace FooEditEngine.UWP | ||
785 | 785 | return; |
786 | 786 | } |
787 | 787 | |
788 | - if(i_startIndex != -1 && i_endIndex != -1) | |
788 | + System.Diagnostics.Debug.WriteLine("core text layoutreq range({0}-{1})",i_startIndex,i_endIndex); | |
789 | + | |
790 | + if (i_startIndex != -1 && i_endIndex != -1) | |
789 | 791 | { |
790 | 792 | TextStoreHelper.GetStringExtent(this.Document, this.View, i_startIndex, i_endIndex, out startPos, out endPos); |
791 | 793 |
@@ -844,6 +846,7 @@ namespace FooEditEngine.UWP | ||
844 | 846 | System.Diagnostics.Debug.WriteLine("update selection start:{0} end:{1}", sel.StartCaretPosition, sel.EndCaretPosition); |
845 | 847 | TextStoreHelper.SetSelectionIndex(this.Controller, this.View, sel.StartCaretPosition, sel.EndCaretPosition); |
846 | 848 | args.Result = CoreTextSelectionUpdatingResult.Succeeded; |
849 | + this.Refresh(); | |
847 | 850 | } |
848 | 851 | |
849 | 852 | private void TextEditContext_TextUpdating(CoreTextEditContext sender, CoreTextTextUpdatingEventArgs args) |