Patent attributes
Techniques are provided for text composition. In some implementations, a computer-implemented method is provided. The method includes receiving text to compose, the text including a plurality of paragraphs, and composing the text using paragraph composition, the paragraph composition determining a layout for the lines of each paragraph according to a line break scheme that determines line breaks for the paragraph as a whole. The method also includes, identifying limited recomposition for one or more paragraphs of the plurality of paragraphs, receiving a modification to a line of a paragraph, the paragraph having a plurality of lines and where the modified line is subsequent to a first line in the paragraph, determining whether the paragraph of the modified line is identified as having limited recomposition and, if the paragraph has limited recomposition, recomposing a portion of the paragraph using a multi-line paragraph composition process without recomposing the full paragraph.