This commit is contained in:
2025-07-24 00:18:09 +01:00
parent 9c50db2b62
commit c3ae04ab75
7 changed files with 13 additions and 24 deletions
+2 -2
View File
@@ -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)