mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
feat: status bar format, tab titles with source, taller tabs, pill hover, source switch base fix
- Status bar: show StructName.field +0xOFFSET with dimmed offset suffix - Status bar: sync font to global editor font (JetBrains Mono 10pt) - Dock tab title: include active source name (StructName — source.exe) - Dock tabs +10% height (28→31), pane tabs (24→26), workspace title (26→29) - Footer pills (+1024, Trim, +10): add visual hover highlight via IND_HOVER_SPAN - Fix source switch keeping old base address for plugin providers
This commit is contained in:
@@ -138,17 +138,26 @@ private slots:
|
||||
}
|
||||
|
||||
// ── formatHint ──
|
||||
void formatHint_single() {
|
||||
void formatHint_strong() {
|
||||
TypeSuggestion s;
|
||||
s.kinds = {NodeKind::Float};
|
||||
QCOMPARE(formatHint(s), QStringLiteral("float"));
|
||||
s.strength = 3;
|
||||
QCOMPARE(formatHint(s), QStringLiteral("float strong"));
|
||||
}
|
||||
void formatHint_moderate() {
|
||||
TypeSuggestion s;
|
||||
s.kinds = {NodeKind::Float};
|
||||
s.strength = 2;
|
||||
QCOMPARE(formatHint(s), QStringLiteral("float moderate"));
|
||||
}
|
||||
void formatHint_split() {
|
||||
TypeSuggestion s;
|
||||
s.kinds = {NodeKind::Float, NodeKind::Float};
|
||||
s.strength = 3;
|
||||
QString h = formatHint(s);
|
||||
QVERIFY(h.contains("float"));
|
||||
QVERIFY(h.contains("2"));
|
||||
QVERIFY(h.endsWith("strong"));
|
||||
}
|
||||
|
||||
// ── Denormal rejection ──
|
||||
|
||||
Reference in New Issue
Block a user