Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
effbd684
Commit
effbd684
authored
May 10, 2017
by
Sergey Konovalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
findRangeUnderCursor for name3D
parent
32c25ca8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
cell/model/FormulaObjects/parserFormula.js
cell/model/FormulaObjects/parserFormula.js
+4
-0
cell/view/CellEditorView.js
cell/view/CellEditorView.js
+4
-2
No files found.
cell/model/FormulaObjects/parserFormula.js
View file @
effbd684
...
@@ -3071,6 +3071,7 @@ var cFormulaOperators = {
...
@@ -3071,6 +3071,7 @@ var cFormulaOperators = {
switch
(
item
.
oper
.
type
)
{
switch
(
item
.
oper
.
type
)
{
case
cElementType
.
table
:
case
cElementType
.
table
:
case
cElementType
.
name
:
case
cElementType
.
name
:
case
cElementType
.
name3D
:
ref
=
item
.
oper
.
toRef
();
ref
=
item
.
oper
.
toRef
();
break
;
break
;
case
cElementType
.
cell
:
case
cElementType
.
cell
:
...
@@ -4686,7 +4687,10 @@ parserFormula.prototype.parse = function(local, digitDelim) {
...
@@ -4686,7 +4687,10 @@ parserFormula.prototype.parse = function(local, digitDelim) {
}
}
this
.
RefPos
.
push
(
pos
);
this
.
RefPos
.
push
(
pos
);
}
else
if
(
parserHelp
.
isName
.
call
(
this
,
this
.
Formula
,
this
.
pCurrPos
))
{
}
else
if
(
parserHelp
.
isName
.
call
(
this
,
this
.
Formula
,
this
.
pCurrPos
))
{
pos
.
end
=
this
.
pCurrPos
;
found_operand
=
new
cName3D
(
this
.
operand_str
,
wsF
);
found_operand
=
new
cName3D
(
this
.
operand_str
,
wsF
);
pos
.
oper
=
found_operand
;
this
.
RefPos
.
push
(
pos
);
}
}
this
.
countRef
++
;
this
.
countRef
++
;
}
}
...
...
cell/view/CellEditorView.js
View file @
effbd684
...
@@ -863,7 +863,8 @@
...
@@ -863,7 +863,8 @@
break
;
break
;
}
}
case
cElementType
.
table
:
case
cElementType
.
table
:
case
cElementType
.
name
:
{
case
cElementType
.
name
:
case
cElementType
.
name3D
:
{
var
nameRef
=
r
.
oper
.
toRef
(
bbox
);
var
nameRef
=
r
.
oper
.
toRef
(
bbox
);
if
(
nameRef
instanceof
AscCommonExcel
.
cError
)
{
if
(
nameRef
instanceof
AscCommonExcel
.
cError
)
{
continue
;
continue
;
...
@@ -983,7 +984,8 @@
...
@@ -983,7 +984,8 @@
break
;
break
;
}
}
case
cElementType
.
table
:
case
cElementType
.
table
:
case
cElementType
.
name
:
{
case
cElementType
.
name
:
case
cElementType
.
name3D
:
{
var
nameRef
=
r
.
oper
.
toRef
(
bbox
);
var
nameRef
=
r
.
oper
.
toRef
(
bbox
);
if
(
nameRef
instanceof
AscCommonExcel
.
cError
)
{
if
(
nameRef
instanceof
AscCommonExcel
.
cError
)
{
continue
;
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment