sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
271 stars 14 forks source link

Font size works wrong #968

Open sunnat49 opened 3 years ago

sunnat49 commented 3 years ago

Version info

Description

I set in settings for SublimeText font_size=14. It doesn't affect on font preferences in diffs of SublimeMerge, which is ok. But when I set in SublimeText "Syntax Specific" font_size=12 for XML, SublimeMerge starts to use font_size=14 for XML diffs which is neither default nor syntax specific.

Steps to reproduce

Steps to reproduce the behavior:

  1. Set "font_size": 14 for user settings in SublimeText
  2. Set "font_size": 12 for XML settings in SublimeText
  3. Explore diffs for C++ and for XML files in SublimeMerge. SublimeMerge will use 14 which is font size for XML and default (10 or 12) font size for C++.

Expected behavior

SublimeMerge should use one font size for all diffs either follow Syntax Specific Settings.

Screenshots image

sunnat49 commented 3 years ago

Ah, sorry, I was wrong, my bad, it was visual illusion. It uses exact Syntax Specific font size for XML, but do not use user preferences for other files though. Behavior is still discouraging in that font_size(XML)<font_size(any other language) in SublimeText and font_size(XML)>font_size(any other language) in SublimeMerge.