From d7ce81f6083ced58219d728b19d04778377d2f26 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 19 Jun 2002 11:01:21 +0000 Subject: TextHeight feature contributed by Josh Wingstrom. --- doc/ScintillaDoc.html | 5 ++++- doc/ScintillaHistory.html | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') 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)

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.

SCI_WORDENDPOSITION and SCI_WORDSTARTPOSITION can be used to find diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 9cd02286f..6bbc94b7e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -105,6 +105,7 @@

  • Don Paul Beletsky
  • Gerhard Kalab
  • Olivier Dagenais
  • +
  • Josh Wingstrom
  • Sponsorship -- cgit v1.2.3