Skip to main content
Participant
Sep 9, 2009 1:36 PM UTC
Question

InlineGraphicElement at the beging of the paragraph, add an extra increment to the selection

Consider the following scenario:

- write text on a line

- click ENTER

- insert a graphic

- select both lines


=> as a result, at the end of the first line, an inaccesible empty space is selected.

Also, if you write "www" on the first line and add a graphic on the second, the selection size when selecting all will be 5... My guess is it should be 4.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Sep 9, 2009 3:28 PM UTC

InlineGraphicElements have a text length of one. Its represented by U+FDEF.  Among other things that gives unique selection positions for before and after the graphic.

Paragraphs always end with a paragraph terminator - U+2029,

Three W's, the graphic and the terminator makes for a length of 5.

Richard

Translate