Commit 329214fa authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

Fixed issue #30841

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68444 954022d7-b5bf-4e40-9824-e11837661b57
parent a88a8952
......@@ -4255,7 +4255,7 @@ parserFormula.prototype = {
this.countRef++;
}
/* Referens to cell A4 */
else if ( parserHelp.isRef.call( this, this.Formula, this.pCurrPos, true ) ) {
else if ( parserHelp.isRef.call( this, this.Formula, this.pCurrPos ) ) {
found_operand = new cRef( this.operand_str.toUpperCase(), this.ws );
this.RefPos.push( {start:this.pCurrPos - this.operand_str.length, end:this.pCurrPos, index:this.outStack.length, oper:found_operand } );
if ( this.operand_str.indexOf( "$" ) > -1 ) {
......
......@@ -884,6 +884,7 @@
if ( ret ) {
range = t._parseRangeStr( r.oper.value );
if(!range) return false;
range.cursorePos = offset - (_e - _s) + 1;
range.formulaRangeLength = _e - _s;
t.handlers.trigger( "newRange", range, wsName );
......
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