Skip to content

XML editor: improve handling of long attribute values

Patrick Storz requested to merge ede123/inkscape:xml_editor_value into master

Alternative implementation of !1301 (closed).

The maximum length of attributes is large enough that the hard cut we make for performance reasons should rarely ever be visible (except for very large windows on very large screens). If it should happen nonetheless, match the gtk ellipsis by moving it to the end (instead of the middle).

Values with multiple lines are cut at the first newline with a visual indicator added indicating there's more content.

image
image

/cc @speleo3 @doctormo

Merge request reports