diff options
author | Neil <nyamatongwe@gmail.com> | 2021-09-28 12:53:58 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-09-28 12:53:58 +1000 |
commit | fe41a24534e1280f088835ea1813fa64120f4169 (patch) | |
tree | b25f80573180e44d01b078331022251792174f86 /src/Style.h | |
parent | 810964f8e6b80fbfdb7f96b9a084acc4cbe5a3a1 (diff) | |
download | scintilla-mirror-fe41a24534e1280f088835ea1813fa64120f4169.tar.gz |
Fix bad layout of monospace text on Cocoa by adding separate field
monospaceCharacterWidth for width of monospaced characters.
Diffstat (limited to 'src/Style.h')
-rw-r--r-- | src/Style.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Style.h b/src/Style.h index 23a1b265f..6cef6bb60 100644 --- a/src/Style.h +++ b/src/Style.h @@ -32,6 +32,7 @@ struct FontMeasurements { XYPOSITION descent = 1; XYPOSITION capitalHeight = 1; // Top of capital letter to baseline: ascent - internal leading XYPOSITION aveCharWidth = 1; + XYPOSITION monospaceCharacterWidth = 1; XYPOSITION spaceWidth = 1; bool monospaceASCII = false; int sizeZoomed = 2; |