diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-18 17:00:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-18 17:27:09 +0100 |
commit | b0f170d7df9cff12535d2ecfd146b32b745a8ef8 (patch) | |
tree | e09f240df49300cb5848b9b1e9441682d6ca690c /sw/inc/hintids.hxx | |
parent | 165640076df65971eb01f887a3c285cd6eb61d94 (diff) |
0xFFF9 is a better choice for CH_TXTATR_INWORD than 0x0002.
a) the default properties for the code point make it not split a word it
appears in into two different words in any break mode we have. Which is what we
want from a CH_TXTATR_INWORD
b) unicode TR#20 gives for the interlinear annotation anchor: "What to do if
detected: In a proxy context or browser context, remove U+FFF9", so when we
need to strip it from text to run that text through e.g. the spellchecker or
word counting then there's a solid precedent for stripping it
In addition I *do* want the footnote placeholder to break the word it appears
in, that gives the desired wordcount and cursor travelling behaviour
The BREAKWORD and other *random* selection of CH_TXTATR are still odd choices,
and there's way too many of them.
Change-Id: I930ff8ff806af448829bc1a1ae6cb92053e9a284
Diffstat (limited to 'sw/inc/hintids.hxx')
-rw-r--r-- | sw/inc/hintids.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 9428072fa53a..9ea4bc4ca16f 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -35,7 +35,7 @@ // For SwTxtHints without end index the following char is added: #define CH_TXTATR_BREAKWORD ((sal_Unicode)0x01) -#define CH_TXTATR_INWORD ((sal_Unicode)0x02) +#define CH_TXTATR_INWORD ((sal_Unicode)0xFFF9) #define CH_TXTATR_TAB ((sal_Unicode)'\t') #define CH_TXTATR_NEWLINE ((sal_Unicode)'\n') #define CH_TXT_ATR_FIELDSTART ((sal_Unicode)0x04) |