Show error code in diagnostic header
This commit is contained in:
parent
ec0ca2a1b6
commit
7e55353de8
4 changed files with 29 additions and 13 deletions
|
@ -277,6 +277,7 @@ pub struct DiagnosticHeader {
|
|||
pub container: ContainerStyle,
|
||||
pub text: TextStyle,
|
||||
pub highlighted_text: ContainedText,
|
||||
pub code: ContainedText,
|
||||
pub icon: DiagnosticHeaderIcon,
|
||||
}
|
||||
|
||||
|
@ -360,6 +361,10 @@ impl InputEditorStyle {
|
|||
container: Default::default(),
|
||||
text: self.text.clone(),
|
||||
},
|
||||
code: ContainedText {
|
||||
container: Default::default(),
|
||||
text: self.text.clone(),
|
||||
},
|
||||
icon: Default::default(),
|
||||
},
|
||||
error_diagnostic: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue