CodeEditSourceEditor icon indicating copy to clipboard operation
CodeEditSourceEditor copied to clipboard

🐞 Font doesn't apply consistently

Open alicerunsonfedora opened this issue 1 year ago • 1 comments

Description

When using a custom font, the editor appears to only apply that font to select areas when the file has syntax highlighting.

To Reproduce

  1. Open CodeEdit Settings > Text Editing.
  2. Change the font to anything other than the default.
  3. Open a file in CodeEdit.
  4. Notice the inconsistent font application.

Expected behavior

The same font should be used throughout the entire editor view, regardless of syntax highlighting.

Version information

CodeEdit: 1.0 Hash: (Commit) 095abfec2475ca053bb7783572e4ae9a38d514ea MacOS: 13.0 beta 4 (22A5311f) Xcode: 14.0 beta 4 (14A5284g)

Additional context

This is an example screenshot demoing the behavior. I've set my font to Fira Code Retina (size 13). Notice that, here, the identifier "Foundation" uses the correct font, as well as the line gutter, whereas everything else doesn't.

image

alicerunsonfedora avatar Aug 05 '22 12:08 alicerunsonfedora

@lukepistrol is this a problem with CodeEditTextView? If so please transfer this issue.

austincondiff avatar Aug 15 '22 03:08 austincondiff

@thecoolwinter is this fixed with #59 ?

lukepistrol avatar Oct 03 '22 18:10 lukepistrol

Yes, closed with #59

thecoolwinter avatar Oct 03 '22 18:10 thecoolwinter