aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-09-12 17:15:34 +1000
committerNeil <nyamatongwe@gmail.com>2021-09-12 17:15:34 +1000
commite1a52e49814cb1ab2efcdbd65dcb9a83976c2a54 (patch)
treec811e2fdd4f46e0dc955d71fba87a4f46e65be40 /doc/ScintillaDoc.html
parent3d017cb655c23d9dfb39cbecbcaddaf14bb25117 (diff)
downloadscintilla-mirror-e1a52e49814cb1ab2efcdbd65dcb9a83976c2a54.tar.gz
Make negative settings for extra ascent and descent safer by ensuring calculated
ascent and thus line height is at least 1 pixel. Allow 1 point font minimum instead of 2 as this may help with document maps. Document negative extra ascent and descent. Use XYPOSITION for ascent and descent for more coherent types and fewer casts but floor the values when retrieving from Surface so behaviour is unchanged.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 5dfd16585..37a99a0f2 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -128,7 +128,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 25 August 2021 NH</p>
+ <p>Last edited 12 September 2021 NH</p>
<p style="background:#90F0C0">Scintilla 5 has moved the lexers from Scintilla into a new
<a href="Lexilla.html">Lexilla</a> project.<br />
@@ -2448,6 +2448,10 @@ struct Sci_TextToFind {
maximum descent (<code>SCI_SETEXTRADESCENT</code>) to allow for more space between lines.
This may done to make the text easier to read or to accommodate underlines or highlights.
</p>
+ <p>
+ The extra ascent and descent values can be negative but that should be done with care as it
+ may lead to unexpected interference when lines share space.
+ </p>
<h2 id="Cursor">Cursor</h2>
<a class="message" href="#SCI_SETCURSOR">SCI_SETCURSOR(int cursorType)</a><br />