Now text layout looks at both the state structure and the current text block for propagating anchor information when a new text layout element is created.