Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions devel/201_80.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# [201_80] 修复/ / 的乐高符号Tab循环高亮显示问题

## 如何测试
1. 进入数学模式输入`/` `/`,出现斜着的平行符号,Tab一次是竖着的,两次是`//`
2. 观察Tab循环高亮是否正常显示。

2 changes: 1 addition & 1 deletion src/Texmacs/Window/tm_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ box_widget (scheme_tree p, string s, color col, bool trans, bool ink) {
if ((n >= 5) && is_atomic (p[4])) sz= as_int (p[4]);
if ((n >= 6) && is_atomic (p[5])) dpi= as_int (p[5]);
if ((n >= 7) && is_atomic (p[6])) dw= as_int (p[6]);
font fn= find_font (family, fn_class, series, shape, sz, dpi);
font fn= smart_font (family, fn_class, series, shape, sz, dpi);
box b = text_box (decorate (), 0, s, fn, col);
if (ink) b= resize_box (decorate (), b, b->x3, b->y3, b->x4, b->y4, true);
return box_widget (b, trans, dw);
Expand Down