diff options
author | nyamatongwe <unknown> | 2001-08-17 08:23:16 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-08-17 08:23:16 +0000 |
commit | 07a269a00c84cd96d6bbd2bd7d5ebc907951f925 (patch) | |
tree | 69f92b0a7d7e8f39f0f2e8b95619920d890baf96 /include | |
parent | 7fe7682dbe881c62c40029ade60b71f2a4ebe904 (diff) | |
download | scintilla-mirror-07a269a00c84cd96d6bbd2bd7d5ebc907951f925.tar.gz |
Separate out the enforcement of the visibilty policy by having both an
EnsureVisible method and an EnsureVisibleEnforcePolicy method.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index fee9f9922..0185d3e5b 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -334,6 +334,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_TOGGLEFOLD 2231 #define SCI_ENSUREVISIBLE 2232 #define SCI_SETFOLDFLAGS 2233 +#define SCI_ENSUREVISIBLEENFORCEPOLICY 2234 #define SCI_SETTABINDENTS 2260 #define SCI_GETTABINDENTS 2261 #define SCI_SETBACKSPACEUNINDENTS 2262 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 2f0baebb6..4bce389e9 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -848,6 +848,10 @@ fun void EnsureVisible=2232(int line,) # Set some debugging options for folding fun void SetFoldFlags=2233(int flags,) +# Ensure a particular line is visible by expanding any header line hiding it. +# Use the currently set visibility policy to determine which range to display. +fun void EnsureVisibleEnforcePolicy=2234(int line,) + # Sets whether a tab pressed when caret is within indentation indents set void SetTabIndents=2260(bool tabIndents,) |