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

12345

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56832 954022d7-b5bf-4e40-9824-e11837661b57
parent 88c223b2
...@@ -4788,6 +4788,9 @@ Paragraph.prototype = ...@@ -4788,6 +4788,9 @@ Paragraph.prototype =
{ {
var SearchPos = new CParagraphSearchPos(); var SearchPos = new CParagraphSearchPos();
var ContentPos = this.Get_ParaContentPos( false, false ); var ContentPos = this.Get_ParaContentPos( false, false );
if ( true === AddToSelect )
SearchPos.ForSelection = true;
if ( true === Word ) if ( true === Word )
this.Get_WordStartPos( SearchPos, ContentPos ); this.Get_WordStartPos( SearchPos, ContentPos );
...@@ -4889,6 +4892,9 @@ Paragraph.prototype = ...@@ -4889,6 +4892,9 @@ Paragraph.prototype =
var SearchPos = new CParagraphSearchPos(); var SearchPos = new CParagraphSearchPos();
var ContentPos = this.Get_ParaContentPos( false, false ); var ContentPos = this.Get_ParaContentPos( false, false );
if ( true === AddToSelect )
SearchPos.ForSelection = true;
if ( true === Word ) if ( true === Word )
this.Get_WordEndPos( SearchPos, ContentPos, AddToSelect ); this.Get_WordEndPos( SearchPos, ContentPos, AddToSelect );
else else
......
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