>From Muhammad Haggag <mhag...@gmail.com>:

Muhammad Haggag has uploaded a new change for review.

Change subject: fdo#32773 LibO thinks comments separate words
......................................................................

fdo#32773 LibO thinks comments separate words

Commments are represented by post-it note fields. When a comment is inserted, a 
marker character (CH_TXTATR_INWORD = 0x2) is inserted in the text node. This 
marker is not a word character, so it results in splitting any word it's 
inserted into.

This change updates SwTxtNode::BuildConversionMap so that it eliminates post-it 
note field markers when expanding strings. It also updates the 
ModelToViewHelper functions to work properly with the new change, since it's 
now possible for expanded strings to be smaller than the original node text.

Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
---
M sw/source/core/txtnode/modeltoviewhelper.cxx
M sw/source/core/txtnode/ndtxt.cxx
2 files changed, 35 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/311/1
--
To view, visit https://gerrit.libreoffice.org/311
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Muhammad Haggag <mhag...@gmail.com>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to