Commit c5827e55 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent ebaa5b52
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -226062,10 +226062,31 @@ CDocument.prototype =
if ( null !== CurPara )
{
this.Cursor_MoveLeft(true, false);
this.Selection.Start = false;
var MouseEvent = new CMouseEventHandler();
MouseEvent.ClickCount = 1;
MouseEvent.Type = g_mouse_event_type_down;
var OldX = CurPara.CurPos.X;
var OldY = CurPara.CurPos.Y;
var DrawMatrix = CurPara.Get_ParentTextTransform();
if (DrawMatrix)
{
var _OldX = DrawMatrix.TransformPointX(OldX, OldY);
var _OldY = DrawMatrix.TransformPointY(OldX, OldY);
OldX = _OldX;
OldY = _OldY;
}
this.CurPage = CurPara.Get_StartPage_Absolute() + CurPara.CurPos.PagesPos;
this.Selection_SetStart( OldX, OldY, MouseEvent );
this.CurPage = PageIndex;
this.Selection_SetEnd( X, Y, e );
this.Document_UpdateSelectionState();
return;
}
}
......@@ -237656,7 +237677,7 @@ CDocumentContent.prototype =
if ( true === SelectionUse_old && true === MouseEvent.ShiftKey && true === bOldSelectionIsCommon )
{
this.Selection_SetEnd( X, Y, this.CurPage + this.StartPage, {Type : g_mouse_event_type_up, ClickCount : 1} );
this.Selection_SetEnd( X, Y, {Type : g_mouse_event_type_up, ClickCount : 1} );
this.Selection.Use = true;
this.Selection.Start = true;
this.Selection.EndPos = ContentPos;
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