Commit 182bb10a authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с поиском (баг 20250)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49941 954022d7-b5bf-4e40-9824-e11837661b57
parent 8e658618
......@@ -925,7 +925,7 @@ Paragraph.prototype.Search_GetId = function(bNext, bCurrent)
for ( var ElemId in this.SearchResults )
{
var Element = this.SearchResults[ElemId];
if ( Pos < Element.StartPos && ( -1 === NearElementPos || NearElementPos > Element.StartPos ) )
if ( Pos <= Element.StartPos && ( -1 === NearElementPos || NearElementPos > Element.StartPos ) )
{
NearElementPos = Element.StartPos;
NearElementId = ElemId;
......
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