diff options
| author | nyamatongwe <devnull@localhost> | 2010-09-24 13:14:40 +1000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-09-24 13:14:40 +1000 | 
| commit | 27fe93c781719be46a2ca770f33f9cfba9cb054c (patch) | |
| tree | cd28473d19ca2523fc24b6c430e65cbe037f7588 /doc/ScintillaDoc.html | |
| parent | e612ffd2248bcacfc56bee45f277d110393c7171 (diff) | |
| download | scintilla-mirror-27fe93c781719be46a2ca770f33f9cfba9cb054c.tar.gz | |
Added SCI_CONTRACTEDFOLDNEXT as a way to find contracted fold headers efficiently.
Diffstat (limited to 'doc/ScintillaDoc.html')
| -rw-r--r-- | doc/ScintillaDoc.html | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index fbffd64aa..02747ee69 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -4699,6 +4699,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){       <a class="message" href="#SCI_SETFOLDEXPANDED">SCI_SETFOLDEXPANDED(int line, bool      expanded)</a><br />       <a class="message" href="#SCI_GETFOLDEXPANDED">SCI_GETFOLDEXPANDED(int line)</a><br /> +     <a class="message" href="#SCI_CONTRACTEDFOLDNEXT">SCI_CONTRACTEDFOLDNEXT(int lineStart)</a><br />       <a class="message" href="#SCI_TOGGLEFOLD">SCI_TOGGLEFOLD(int line)</a><br />       <a class="message" href="#SCI_ENSUREVISIBLE">SCI_ENSUREVISIBLE(int line)</a><br />       <a class="message" href="#SCI_ENSUREVISIBLEENFORCEPOLICY">SCI_ENSUREVISIBLEENFORCEPOLICY(int @@ -4849,6 +4850,13 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){      until you had finished. See <code>SciTEBase::FoldAll()</code> and      <code>SciTEBase::Expand()</code> for examples of the use of these messages.</p> +    <p><b id="SCI_CONTRACTEDFOLDNEXT">SCI_CONTRACTEDFOLDNEXT(int lineStart)</b><br /> +     Search efficiently for lines that are contracted fold headers.  +     This is useful when saving the user's folding when switching documents or saving folding with a file.  +     The search starts at line number <code>lineStart</code> and continues forwards to the end of the file. +     <code>lineStart</code> is returned if it is a contracted fold header otherwise the next contracted +     fold header is returned. If there are no more contracted fold headers then -1 is returned.</p> +      <p><b id="SCI_ENSUREVISIBLE">SCI_ENSUREVISIBLE(int line)</b><br />       <b id="SCI_ENSUREVISIBLEENFORCEPOLICY">SCI_ENSUREVISIBLEENFORCEPOLICY(int line)</b><br />       A line may be hidden because more than one of its parent lines is contracted. Both these | 
