Thanks, that makes sense. One edge I noticed in line_to_string: when a selection ends on the leading spacer but not on the wide char after the wrap, it appends that wide char anyway (the comment there reads "If wide char is not part of the selection, but leading spacer is, include it"). Does your egui selection highlight extend to the wrapped glyph in that case, or can copy pick up a character that wasn't highlighted?