Dear Xara...

I believe there is a fault in how a Name is added to a Text Box when the Select tool has selected the textbox.
It ends up embedded within the first SPAN and not in the wrapping DIV.

It gets worse if a Name is added with all the text selected with the Text tool.

Can this be corrected?

Acorn


Example, text box selected then Names picked:
Code:
 <div class="xr_txt Normal_text xr_s0" style="position: absolute; left:202px; top:191px; width:310px; height:10px;">
  <span class="xr_tl Normal_text xr_s0" style="top: -14.25px;"><span id="cabbage"></span>Ut pariatur aliqua ad exercitation in aute. Et aute </span>
  <span class="xr_tl Normal_text xr_s0" style="top: 7.54px;">in sint do. Et cupidatat non elit non enim eu, elit </span>
  <span class="xr_tl Normal_text xr_s0" style="top: 29.33px;">ex ea veniam commodo laboris consequat quis </span>
  <span class="xr_tl Normal_text xr_s0" style="top: 51.11px;">consectetur.</span>
 </div>
Example with Name "wrapped" with all text highlighted and then using context menu, picking Names:
Code:
 <div class="xr_txt Normal_text xr_s0" style="position: absolute; left:202px; top:191px; width:310px; height:10px;">
  <span class="xr_tl Normal_text xr_s0" style="top: -14.25px;"><span id="wrapped">Ut pariatur aliqua ad exercitation in aute. Et aute </span></span>
  <span class="xr_tl Normal_text xr_s0" style="top: 7.54px;"><span>in sint do. Et cupidatat non elit non enim eu, elit </span></span>
  <span class="xr_tl Normal_text xr_s0" style="top: 29.33px;"><span>ex ea veniam commodo laboris consequat quis </span></span>
  <span class="xr_tl Normal_text xr_s0" style="top: 51.11px;"><span>consectetur.</span></span>
 </div>