Symbol label makes bottom panel wider if it contains newline characters
Affected version
- Nightly flatpak: Yes
- Other: F38
Steps to reproduce
- Create Rust project
- Replace main.rs with the following code:
use std::fmt;
enum Cchar {
Known(char),
Unknown(char)
}
impl fmt::Debug for Cchar< {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
Self::Known(c) => write!(f, "{}", c),
Self::Unknown(c) => write!(f, "({})", c)
}
}
}
- Move cursor inside impl block
Current behavior
Expected behavior
symbol label should ignore newlines and be ellipsized if symbol is too long.