ATTDEF: Fit/Align attribute text, TEXTSIZE, single-line restart

Align and Fit attributes run their text between the two baseline points,
an ATTDEF height becomes the next text height, and Multiple lines is not
carried to the next definition (measured).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-01 14:16:06 +03:00
1 parent c5790c74a9
commit c992b73cdf
3 files changed
+41 -2

No files matched your search

+3 -1
View File
@@ -498,9 +498,11 @@ impl AttdefCommand {
}
/// Keep AFLAGS / Annotative and the placed definition for the next ATTDEF.
/// Multiple lines is not kept: the reference starts the next definition
/// single-line again.
pub fn remember(spec: &AttdefSpec, entity: &EntityType) {
let mut s = session();
s.aflags = spec.aflags;
s.aflags = spec.aflags & !AFLAG_MULTILINE;
s.annotative = spec.annotative;
if let EntityType::AttributeDefinition(a) = entity {
s.last = Some(a.clone());