idk
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
use egui::Color32;
|
||||
use egui::TextBuffer;
|
||||
use egui::widgets::text_edit::TextEditOutput;
|
||||
use egui::{Color32, text::LayoutJob};
|
||||
|
||||
use std::hash::{Hash, Hasher};
|
||||
|
||||
@@ -123,7 +123,7 @@ impl CodeEditor {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn format(&self, string: &str) -> egui::text::TextFormat {
|
||||
pub fn format(&self, _string: &str) -> egui::text::TextFormat {
|
||||
let font_id = egui::FontId::monospace(self.fontsize);
|
||||
let color = Color32::WHITE;
|
||||
egui::text::TextFormat::simple(font_id, color)
|
||||
|
||||
Reference in New Issue
Block a user