diff options
-rw-r--r-- | doc/ScintillaDoc.html | 6 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 12 | ||||
-rw-r--r-- | src/Editor.cxx | 2 |
3 files changed, 16 insertions, 4 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index e0ba05915..5417fa8dd 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -8246,7 +8246,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <p>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.</p> + zoom factor you set. You can set zoom factors in the range -10 to +60 points.</p> <code><a class="message" href="#SCI_ZOOMIN">SCI_ZOOMIN</a><br /> <a class="message" href="#SCI_ZOOMOUT">SCI_ZOOMOUT</a><br /> <a class="message" href="#SCI_SETZOOM">SCI_SETZOOM(int zoomInPoints)</a><br /> @@ -8256,13 +8256,13 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <p><b id="SCI_ZOOMIN">SCI_ZOOMIN</b><br /> <b id="SCI_ZOOMOUT">SCI_ZOOMOUT</b><br /> <code>SCI_ZOOMIN</code> increases the zoom factor by one point if the current zoom factor is - less than 20 points. <code>SCI_ZOOMOUT</code> decreases the zoom factor by one point if the + less than 60 points. <code>SCI_ZOOMOUT</code> decreases the zoom factor by one point if the current zoom factor is greater than -10 points.</p> <p><b id="SCI_SETZOOM">SCI_SETZOOM(int zoomInPoints)</b><br /> <b id="SCI_GETZOOM">SCI_GETZOOM → int</b><br /> 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.</p> <h2 id="LongLines">Long lines</h2> diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index a92b79100..3bf4c94fb 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -584,6 +584,18 @@ </table> <h2>Releases</h2> <h3> + <a href="https://www.scintilla.org/scintilla551.zip">Release 5.5.1</a> + </h3> + <ul> + <li> + Released 23 April 2024. + </li> + <li> + Increase maximum zoom set interactively to +60 points. + <a href="https://sourceforge.net/p/scintilla/feature-requests/1517/">Feature #1517</a>. + </li> + </ul> + <h3> <a href="https://www.scintilla.org/scintilla550.zip">Release 5.5.0</a> </h3> <ul> 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(); |