boxer-project / boxer-sunrise

Sunrise on the Boxer Reconstruction Project
BSD 3-Clause "New" or "Revised" License
39 stars 2 forks source link

When using `change` to update a box, the box uses the font styling from the current cursor position #41

Open sgithens opened 2 years ago

sgithens commented 2 years ago

See image below. If m, x, and y currently have plain font styling, and then the reset: line at the end is executed WITH the cursor over the bolded reset, then the m, x, and y boxes give up their plain text to bold. If the line is run again but with the cursor further down the line where the text it plain, the variable boxes go back to plain.

In this situation, the boxes should keep their styles rather than picking up the current cursor location.

image