From: test Date: Sat, 19 Dec 2020 04:03:08 +0000 (+0900) Subject: テストのビルドが失敗していた X-Git-Url: http://git.osdn.net/view?p=fooeditengine%2FFooEditEngine.git;a=commitdiff_plain;h=b7936584dd8ebbee3f900b7e23bc5bae4ad232cc テストのビルドが失敗していた --- diff --git a/WPF/UnitTest/DummyRender.cs b/WPF/UnitTest/DummyRender.cs index dd146d4..abe65d6 100644 --- a/WPF/UnitTest/DummyRender.cs +++ b/WPF/UnitTest/DummyRender.cs @@ -130,11 +130,6 @@ namespace UnitTest throw new NotImplementedException(); } - public ITextLayout CreateLaytout(string str, SyntaxInfo[] syntaxCollection, IEnumerable MarkerRanges, IEnumerable SelectRanges) - { - return new DummyTextLayout(); - } - public void DrawGripper(Point p, double radius) { throw new NotImplementedException(); @@ -147,6 +142,11 @@ namespace UnitTest public void EndClipRect() { } + + public ITextLayout CreateLaytout(string str, SyntaxInfo[] syntaxCollection, IEnumerable MarkerRanges, IEnumerable Selections, double WrapWidth) + { + return new DummyTextLayout(); + } } class DummyTextLayout : ITextLayout { @@ -199,5 +199,15 @@ namespace UnitTest { this.Disposed = true; } + + public int GetIndexFromPostion(double x, double y) + { + return 0; + } + + public Point GetPostionFromIndex(int index) + { + return new Point(0,0); + } } }