From eee34c2c5053450ec48aea8a9cbff4d5dd140b55 Mon Sep 17 00:00:00 2001
From: Neil Scintilla incorporates a "zoom factor" that lets you make all the text in the document
larger or smaller in steps of one point. The displayed point size never goes below 2, whatever
- zoom factor you set. You can set zoom factors in the range -10 to +20 points.
SCI_ZOOMIN
SCI_ZOOMOUT
SCI_SETZOOM(int zoomInPoints)
@@ -8256,13 +8256,13 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
SCI_ZOOMIN
SCI_ZOOMOUT
SCI_ZOOMIN increases the zoom factor by one point if the current zoom factor is
- less than 20 points. SCI_ZOOMOUT decreases the zoom factor by one point if the
+ less than 60 points. SCI_ZOOMOUT decreases the zoom factor by one point if the
current zoom factor is greater than -10 points.
SCI_SETZOOM(int zoomInPoints)
SCI_GETZOOM → int
These messages let you set and get the zoom factor directly. There is no limit set on the
- factors you can set, so limiting yourself to -10 to +20 to match the incremental zoom functions
+ factors you can set, so limiting yourself to -10 to +60 to match the incremental zoom functions
is a good idea.
Long lines
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index a92b79100..3bf4c94fb 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -583,6 +583,18 @@
Releases
+
+ Release 5.5.1
+
+
+ -
+ Released 23 April 2024.
+
+ -
+ Increase maximum zoom set interactively to +60 points.
+ Feature #1517.
+
+
Release 5.5.0
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 867f50fa7..1bcaca2ef 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3953,7 +3953,7 @@ int Editor::KeyCommand(Message iMessage) {
AddChar('\f');
break;
case Message::ZoomIn:
- if (vs.zoomLevel < 20) {
+ if (vs.zoomLevel < 60) {
vs.zoomLevel++;
InvalidateStyleRedraw();
NotifyZoom();
--
cgit v1.2.3