diff options
| author | nyamatongwe <unknown> | 2002-04-07 02:48:01 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-04-07 02:48:01 +0000 | 
| commit | a2c624d721b8ee85dc2a2a2276a14b87b7c623a0 (patch) | |
| tree | c4c32b312905214b93bb8c45edab0ea4263d6833 | |
| parent | 8c291f052e31556079a02eb55777709633c468a5 (diff) | |
| download | scintilla-mirror-a2c624d721b8ee85dc2a2a2276a14b87b7c623a0.tar.gz | |
Added SCN_ZOOM and SCI_TEXTWIDTH.
| -rw-r--r-- | doc/ScintillaDoc.html | 18 | 
1 files changed, 18 insertions, 0 deletions
| diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 8d03977d0..2905e5e22 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -243,6 +243,7 @@ SCI_SELECTIONISRECTANGLE  SCI_MOVECARETINSIDEVIEW  SCI_WORDENDPOSITION(int position, bool onlyWordCharacters)  SCI_WORDSTARTPOSITION(int position, bool onlyWordCharacters) +SCI_TEXTWIDTH(int stylenumber, char *text)  </pre>      <p>  	Scintilla maintains a selection which stretches between two points, the anchor and the @@ -262,6 +263,13 @@ SCI_WORDSTARTPOSITION(int position, bool onlyWordCharacters)  	outside the window or not close to any characters.      </p>      <p> +	SCI_POINTXFROMPOSITION and SCI_POINTYFROMPOSITION +	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. +    </p> +    <p>  	SCI_WORDENDPOSITION and SCI_WORDSTARTPOSITION can be used to find   	the start and end of words using the same definition of words as used internally   	within Scintilla. @@ -1601,6 +1609,16 @@ SC_TIME_FOREVER  	If set to SC_TIME_FOREVER, the default, no dwell events will be   	generated.      </p> +<pre> +SCN_ZOOM +</pre> +    <p> +	SCN_ZOOM is generated when the user zooms the display +	using the keyboard or the SCI_SETZOOM method is called. +	This notification can be used to recalculate positions, such as the +	width of the line number margin to maintain sizes in terms of characters +	rather than pixels. +    </p>      <h3>  	Edit messages currently supported by Scintilla which will be   	removed in the future. | 
