Skip to main content
Participant
September 9, 2009
Question

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

  • September 9, 2009
  • 1 reply
  • 578 views

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 has been closed for replies.

1 reply

Adobe Employee
September 9, 2009

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