- commit
- be90933bb3d3e94e0f73b728a18197085a5f1960
- parent
- 13271c287e48b94c61b7ee65aa07113fe62c9fd0
- author
- Dami <dami.etoile@gmail.com>
| M | internal/ | 5 | +++-- |
@@ -233,8 +233,9 @@ func (s *Sheet) formatAreas(f *clipFormats, p pasteLayout) []Rect {
233233 return out234234 }235235 236-// moveFormats has what moved from src on sheet from to dst on s show237-// what it showed there, f, moving whole lines' formats with them.236+// moveFormats gives dst on s, where the cells of src on sheet from land,237+// the formatting f they showed at src; whole lines take their line238+// formats along, leaving the source lines plain.238239 func (s *Sheet) moveFormats(from *Sheet, f *clipFormats, src, dst Rect) {239240 p := pasteLayout{mode: f.mode(), dst: dst, across: 1, down: 1,240241 tw: src.To.Col - src.From.Col + 1, th: src.To.Row - src.From.Row + 1}