mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-16 16:37:06 +00:00
Compare commits
5 Commits
v2.7.1
...
221c1a8cda
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
221c1a8cda | ||
|
|
0b7afa9f1e | ||
|
|
5841d4db8a | ||
|
|
7a360d4a99 | ||
|
|
40c97a1bc3 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -18,4 +18,4 @@ android.keystore
|
|||||||
*.frag
|
*.frag
|
||||||
*.vert
|
*.vert
|
||||||
*.metal
|
*.metal
|
||||||
.vscode/launch.json
|
.vscode/
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ exec = "0.3"
|
|||||||
|
|
||||||
# native:
|
# native:
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
tracing-subscriber = "0.3"
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|
||||||
# web:
|
# web:
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
|
|||||||
@@ -149,6 +149,10 @@ fn ins_hover_ui(
|
|||||||
ui.colored_label(appearance.highlight_color, "Extern".to_string());
|
ui.colored_label(appearance.highlight_color, "Extern".to_string());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Some(demangled) = rlwinmdec::decode(&ins.formatted) {
|
||||||
|
ui.colored_label(appearance.highlight_color, demangled.trim());
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ pub fn rlwinm_decode_window(
|
|||||||
if let Some(demangled) = rlwinmdec::decode(&state.text) {
|
if let Some(demangled) = rlwinmdec::decode(&state.text) {
|
||||||
ui.scope(|ui| {
|
ui.scope(|ui| {
|
||||||
ui.style_mut().override_text_style = Some(TextStyle::Monospace);
|
ui.style_mut().override_text_style = Some(TextStyle::Monospace);
|
||||||
ui.colored_label(appearance.replace_color, &demangled);
|
ui.colored_label(appearance.replace_color, demangled.trim());
|
||||||
});
|
});
|
||||||
if ui.button("Copy").clicked() {
|
if ui.button("Copy").clicked() {
|
||||||
ui.output_mut(|output| output.copied_text = demangled);
|
ui.output_mut(|output| output.copied_text = demangled);
|
||||||
|
|||||||
Reference in New Issue
Block a user