Commit bec9a67e authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил парсинг формулы (в редакторе ячейки). Вторая часть бага...

Поправил парсинг формулы (в редакторе ячейки). Вторая часть бага http://bugzserver/show_bug.cgi?id=25525

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57389 954022d7-b5bf-4e40-9824-e11837661b57
parent a0a476ae
......@@ -692,12 +692,14 @@
return ret;
}
var fromIndex = 0;
while (null !== (m = re[reIdx].exec(s))) {
range = this._parseRangeStr(m[1]);
if (range) {
ret = true;
range.cursorePos = m.input.indexOf(m[0])+1;
range.cursorePos = m.input.indexOf(m[0], fromIndex)+1;
range.formulaRangeLength = m[1].length;
fromIndex = range.cursorePos + range.formulaRangeLength;
this.handlers.trigger("newRange", range);
} else {
i = m[1].indexOf(":");
......
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