Commit 88fd2625 authored by Ilya Kirillov's avatar Ilya Kirillov

Bug #32050 Исправлен баг с селектом внутри многостраничных таблиц.

parent 97c2654f
......@@ -6461,7 +6461,7 @@ CTable.prototype =
// При селекте внутри ячейки мы селектим содержимое ячейки
if (0 === this.Parent.Selection_Is_OneElement() && this.Selection.StartPos.Pos.Row === this.Selection.EndPos.Pos.Row && this.Selection.StartPos.Pos.Cell === this.Selection.EndPos.Pos.Cell)
{
this.CurCell.Content_Selection_SetStart(this.Selection.StartPos.X, this.Selection.StartPos.Y, this.Selection.StartPos.PageIndex, this.Selection.StartPos.MouseEvent);
this.CurCell.Content_Selection_SetStart(this.Selection.StartPos.X, this.Selection.StartPos.Y, this.Selection.StartPos.PageIndex - this.CurCell.Content.Get_StartPage_Relative(), this.Selection.StartPos.MouseEvent);
this.Selection.Type = table_Selection_Text;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment