From 8e3e5fe75ad533f626eb51d02df3ed6e6bcf6a78 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 2 Nov 2001 08:47:40 +0000 Subject: Documented SCI_[SG]ETXOFFSET and SC_MARK_BACKGROUND. Rearranged a little. --- doc/ScintillaDoc.html | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a5f1eae78..4956197dc 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -220,8 +220,6 @@ SCI_LINEFROMPOSITION(int position) SCI_POSITIONFROMLINE(int line) SCI_GETLINEENDPOSITION(int line) SCI_LINELENGTH(int line) -SCI_LINESCROLL(int column, int line) -SCI_SCROLLCARET SCI_POSITIONFROMPOINT(int x, int y) SCI_POSITIONFROMPOINTCLOSE(int x, int y) SCI_POINTXFROMPOSITION(<unused>, int position) @@ -240,12 +238,8 @@ SCI_SELECTALL SCI_GOTOLINE(int line) SCI_GOTOPOS(int position) SCI_GETCURLINE(int textlen, char *text) -SCI_SETCARETPOLICY(int policy, int slop) -SCI_SETVISIBLEPOLICY(int policy, int slop) SCI_LINESONSCREEN SCI_SELECTIONISRECTANGLE -SCI_SETHSCROLLBAR(bool visible) -SCI_GETHSCROLLBAR SCI_MOVECARETINSIDEVIEW

@@ -260,6 +254,24 @@ SCI_MOVECARETINSIDEVIEW SCI_GETCURLINE retrieves the text of the line containing the caret and returns the position within the line of the caret.

+

+ SCI_POSITIONFROMPOINT finds the closest character position to a point and + SCI_POSITIONFROMPOINTCLOSE is similar but returns -1 if the point is + outside the window or not close to any characters. +

+

+ Scrolling and automatic scrolling +

+
+SCI_LINESCROLL(int column, int line)
+SCI_SCROLLCARET
+SCI_SETCARETPOLICY(int policy, int slop)
+SCI_SETVISIBLEPOLICY(int policy, int slop)
+SCI_SETHSCROLLBAR(bool visible)
+SCI_GETHSCROLLBAR
+SCI_GETXOFFSET
+SCI_SETXOFFSET(int xoffset)
+

SCI_SETCARETPOLICY can be set to a combination of the flags CARET_SLOP and CARET_STRICT to change the automatic vertical positioning of the view @@ -278,9 +290,7 @@ SCI_MOVECARETINSIDEVIEW for the policy parameter.

- SCI_POSITIONFROMPOINT finds the closes character position to a point and - SCI_POSITIONFROMPOINTCLOSE is similar but returns -1 if the point is - outside the window or not close to any characters. + The xoffset is the horizontal scroll position in pixels.

Searching @@ -744,7 +754,9 @@ SCI_MARKERDELETEHANDLE(int handle)

The marker symbols currently available are SC_MARK_CIRCLE, SC_MARK_ROUNDRECT, SC_MARK_ARROW, SC_MARK_SMALLRECT, SC_MARK_SHORTARROW, SC_MARK_EMPTY, SC_MARK_ARROWDOWN, - SC_MARK_MINUS, SC_MARK_PLUS. The SC_MARK_EMPTY symbol is invisible, + SC_MARK_MINUS, SC_MARK_PLUS. The SC_MARK_BACKGROUND marker changes the background colour + of the line only. + The SC_MARK_EMPTY symbol is invisible, allowing client code to track the movement of lines. Characters can be used as markers by adding the ASCII value of the character to SC_MARK_CHARACTER.

@@ -1093,7 +1105,8 @@ SCI_ENSUREVISIBLEENFORCEPOLICY(int line) indentation and in C++ by brace characters. This hierarchy can be represented within a Scintilla document object by attaching a numeric level to each line. The initial level of a file is SC_FOLDLEVELBASE to allow unsigned arithmetic - on levels. + on levels. The SC_FOLDLEVELNUMBERMASK constant can be used to mask + out the other bits to reveal the fold level number. There are also two bit flags associated with each line. SC_FOLDLEVELWHITEFLAG indicates that the line is blank and allows to be treated slightly different then its -- cgit v1.2.3