summaryrefslogtreecommitdiff
path: root/unusedcode.easy
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-03 09:49:37 +0000
committerMichael Stahl <mstahl@redhat.com>2014-11-04 16:24:46 +0000
commit5ae6072774ab544fdfdfebf2364e97ca2fa2326a (patch)
treeb13af642bff1c08a99cb4fb1ce7610a30f981796 /unusedcode.easy
parent026d048e896683a0630ee08879f2f2e5bff89284 (diff)
Resolves: fdo#68347 fix word count with recorded changes
also see fdo#46757 a) We need to ignore redline-deleted text, but count redline-added text b) each block of text is denoted by its end position in the model and where that maps to in the view so a hidden portion should record its end point not its starting point, and a non-hidden deleted portion should always record its end point c) when mapping a model position to the view we take the offset of the model pos arg from the block end and use that to offset the mapped block-end view pos to get the final view pos. But for hidden portions that won't make a whole lot of sense, and end up offsetting into prior portions, so map all positions within a hidden portion to the same block-end view pos add regression tests for these cases (cherry picked from commit fa430e6b4e6f5d096bdf59db26e5d7393ca2297b) Conflicts: sw/qa/core/uwriter.cxx Change-Id: I45c76bba47fd430bc3bccb5f919502660d415d9e Reviewed-on: https://gerrit.libreoffice.org/12219 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'unusedcode.easy')
0 files changed, 0 insertions, 0 deletions