diff options
author | Neil <nyamatongwe@gmail.com> | 2021-07-31 08:49:25 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-07-31 08:49:25 +1000 |
commit | 4d1a31d6a74019c3d43de1c33e2be093ed6dfd11 (patch) | |
tree | d2b113b25d2cfcb751f4b5a961bb14a04261175f /src/Style.h | |
parent | 297d17ace8501b23a32390163676c838dad71f9a (diff) | |
download | scintilla-mirror-4d1a31d6a74019c3d43de1c33e2be093ed6dfd11.tar.gz |
Implement StyleSetCheckMonospaced.
Diffstat (limited to 'src/Style.h')
-rw-r--r-- | src/Style.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Style.h b/src/Style.h index 8153d156e..087b13b2f 100644 --- a/src/Style.h +++ b/src/Style.h @@ -17,6 +17,7 @@ struct FontSpecification { int size; Scintilla::CharacterSet characterSet; Scintilla::FontQuality extraFontFlag; + bool checkMonospaced = false; FontSpecification() noexcept : fontName(nullptr), weight(Scintilla::FontWeight::Normal), @@ -35,6 +36,7 @@ struct FontMeasurements { XYPOSITION capitalHeight; // Top of capital letter to baseline: ascent - internal leading XYPOSITION aveCharWidth; XYPOSITION spaceWidth; + bool monospaceASCII = false; int sizeZoomed; FontMeasurements() noexcept; void ClearMeasurements() noexcept; |