aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-06-19 11:01:21 +0000
committernyamatongwe <unknown>2002-06-19 11:01:21 +0000
commit1d36d7e91e44d0675bf1c1e3c8834b1d0a4804ee (patch)
tree27673630a940f5074c74a2199c8b805289f67897 /doc/ScintillaDoc.html
parent5fd10810590591df4d2aa51d1de0f239f0fe8dfa (diff)
downloadscintilla-mirror-1d36d7e91e44d0675bf1c1e3c8834b1d0a4804ee.tar.gz
TextHeight feature contributed by Josh Wingstrom.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 30d7660dd..39cc14a34 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -244,6 +244,7 @@ SCI_MOVECARETINSIDEVIEW
SCI_WORDENDPOSITION(int position, bool onlyWordCharacters)
SCI_WORDSTARTPOSITION(int position, bool onlyWordCharacters)
SCI_TEXTWIDTH(int stylenumber, char *text)
+SCI_TEXTHEIGHT(int line)
</pre>
<p>
Scintilla maintains a selection which stretches between two points, the anchor and the
@@ -267,7 +268,9 @@ SCI_TEXTWIDTH(int stylenumber, char *text)
can be used to find the pixel location of text on the display.
SCI_TEXTWIDTH can be used to find the pixel width of a string which
can be used, for example, to decide how wide to make the line number
- margin in order to display a given number of numerals.
+ margin in order to display a given number of numerals. SCI_TEXTHEIGHT
+ returns the height in pixels of a particular line. Currently all lines are the
+ same height.
</p>
<p>
SCI_WORDENDPOSITION and SCI_WORDSTARTPOSITION can be used to find