Commit 8dc39a3e authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с передвижением курсора вправо. Исправлен баг с сохранением (баг 24862).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56837 954022d7-b5bf-4e40-9824-e11837661b57
parent 846f0b1a
......@@ -3830,9 +3830,7 @@ CDocument.prototype =
if ( this.Content.length - 1 === this.CurPos.ContentPos )
{
var Item = this.Content[this.CurPos.ContentPos];
var StartPos = Item.Internal_GetEndPos();
Item.CurPos.ContentPos = StartPos;
Item.Cursor_MoveToEndPos(false);
}
}
......
......@@ -366,7 +366,7 @@ CHistory.prototype =
};
if ( this.SavedIndex >= this.Points.length - 2 && null !== this.SavedIndex )
this.SavedIndex = this.Points.length - 3;
this.SavedIndex = this.Points.length - 2;
this.Points.splice( this.Points.length - 2, 2, NewPoint );
if ( this.Index >= this.Points.length )
......
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