Revision | 2fea847a3434534b05aa34aa66e8b78448c1c0ac (tree) |
---|---|
Time | 2021-01-06 19:12:24 |
Author | test <test@yaho...> |
Commiter | test |
キャレットの挙動を元に戻した
@@ -767,7 +767,7 @@ namespace FooEditEngine | ||
767 | 767 | } |
768 | 768 | else if(caret_y >= alignedHeight) |
769 | 769 | { |
770 | - double caretYFromTextArea = Math.Min(caret_y - alignedHeight, alignedHeight - lineHeight); | |
770 | + double caretYFromTextArea = alignedHeight; | |
771 | 771 | var newsrc = this.GetNearstRowAndOffsetY(tp.row, -caretYFromTextArea); |
772 | 772 | if(newsrc == null) |
773 | 773 | this.Document.Src = new SrcPoint(this.Src.X, tp.row, 0); |