SciDAVis / scidavis

Other
102 stars 24 forks source link

Copy-paste behaviour improvement #10

Closed Suthiro closed 3 years ago

Suthiro commented 3 years ago

Copy-paste behaviour improvement: invalid & empty cells are copied as '-' instead of empty ('') or zero ('0') values. Previous variant: copying

1 2
- 4
5

was leading to the next clipboard contents

1 2
0 4
5 0

with this improvement clipboard contents are

1 2
- 4
5 -

Also, now '-' symbol is not treated as text when pasting to a numerical column, and treated as invalid input instead.