Commit bfee5da5 authored by Anna.Pavlova's avatar Anna.Pavlova

поправила преддущую функцию для селекта плейсхолдера

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55490 954022d7-b5bf-4e40-9824-e11837661b57
parent 6e1708d7
...@@ -1035,18 +1035,18 @@ ParaMath.prototype = ...@@ -1035,18 +1035,18 @@ ParaMath.prototype =
Selection_IsPlaceholder : function() Selection_IsPlaceholder : function()
{ {
var bPlaceholder = false; var bPlaceholder = false;
var content = this.GetSelectContent(); var result = this.GetSelectContent(),
var start = content.SelectStartPos, SelectContent = result.Content;
end = content.SelectEndPos; var start = result.Start,
end = result.End;
if(start == end) if(start == end)
{ {
if(this.content[start].typeObj == MATH_PLACEHOLDER) if(SelectContent.content[start].typeObj == MATH_PLACEHOLDER)
bPlaceholder = true; bPlaceholder = true;
} }
return bPlaceholder; return bPlaceholder;
}, },
Selection_CheckParaEnd : function() Selection_CheckParaEnd : function()
{ {
......
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