Remove shape reset from BufferLine::set_align docs since that isn't performed

This commit is contained in:
Imbris 2023-08-02 00:15:46 -04:00 committed by GitHub
parent bbebd312d6
commit 9d2d2dd7a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ impl BufferLine {
/// Set the text alignment
///
/// Will reset shape and layout if it differs from current alignment.
/// Will reset layout if it differs from current alignment.
/// Setting to None will use `Align::Right` for RTL lines, and `Align::Left` for LTR lines.
/// Returns true if the line was reset
pub fn set_align(&mut self, align: Option<Align>) -> bool {