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
79efb9be
Commit
79efb9be
authored
Oct 07, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix paste
parent
532abdbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+3
-8
No files found.
cell/view/WorksheetView.js
View file @
79efb9be
...
@@ -9345,14 +9345,13 @@
...
@@ -9345,14 +9345,13 @@
var
rMax2
=
rMax
;
var
rMax2
=
rMax
;
var
cMax2
=
cMax
;
var
cMax2
=
cMax
;
//var rMax = values.length;
//var rMax = values.length;
var
trueArn
=
t
.
activeRange
;
if
(
isCheckSelection
)
{
if
(
isCheckSelection
)
{
var
newArr
=
arn
.
clone
(
true
);
var
newArr
=
arn
.
clone
(
true
);
newArr
.
r2
=
rMax2
-
1
;
newArr
.
r2
=
rMax2
-
1
;
newArr
.
c2
=
cMax2
-
1
;
newArr
.
c2
=
cMax2
-
1
;
if
(
isMultiple
||
isOneMerge
)
{
if
(
isMultiple
||
isOneMerge
)
{
newArr
.
r2
=
trueA
rn
.
r2
;
newArr
.
r2
=
a
rn
.
r2
;
newArr
.
c2
=
trueA
rn
.
c2
;
newArr
.
c2
=
a
rn
.
c2
;
}
}
return
newArr
;
return
newArr
;
}
}
...
@@ -9368,7 +9367,7 @@
...
@@ -9368,7 +9367,7 @@
var
n
=
0
;
var
n
=
0
;
if
(
isMultiple
)
//случай автозаполнения сложных форм
if
(
isMultiple
)
//случай автозаполнения сложных форм
{
{
t
.
model
.
getRange3
(
trueArn
.
r1
,
trueArn
.
c1
,
trueArn
.
r2
,
trueA
rn
.
c2
).
unmerge
();
t
.
model
.
getRange3
(
arn
.
r1
,
arn
.
c1
,
arn
.
r2
,
a
rn
.
c2
).
unmerge
();
var
maxARow
=
heightArea
/
heightPasteFr
;
var
maxARow
=
heightArea
/
heightPasteFr
;
var
maxACol
=
widthArea
/
widthPasteFr
;
var
maxACol
=
widthArea
/
widthPasteFr
;
var
plRow
=
(
rMax2
-
arn
.
r1
);
var
plRow
=
(
rMax2
-
arn
.
r1
);
...
@@ -9617,10 +9616,6 @@
...
@@ -9617,10 +9616,6 @@
}
}
}
}
}
}
if
(
isMultiple
)
{
arn
.
r2
=
trueArn
.
r2
;
arn
.
c2
=
trueArn
.
c2
;
}
t
.
isChanged
=
true
;
t
.
isChanged
=
true
;
var
arnFor
=
[];
var
arnFor
=
[];
...
...
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