Show error code in diagnostic header
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user