From 79692af6c51bb115e4a8ddb657eda3d713152730 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 12 Jul 2007 12:59:47 +0000 Subject: Modification allows indentation guides to appear on lines that are empty. --- doc/ScintillaDoc.html | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 22e4a7658..be0c3cef0 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2658,7 +2658,7 @@ struct TextToFind {

SCI_GETLINEINDENTPOSITION(int line)
This returns the position at the end of indentation of a line.

-

SCI_SETINDENTATIONGUIDES(bool view)
+

SCI_SETINDENTATIONGUIDES(int indentView)
SCI_GETINDENTATIONGUIDES
Indentation guides are dotted vertical lines that appear within indentation white space every indent size columns. They make it easy to see which constructs line up especially when they @@ -2666,6 +2666,39 @@ struct TextToFind { href="#StyleDefinition">STYLE_INDENTGUIDE (37) is used to specify the foreground and background colour of the indentation guides.

+

There are 4 indentation guide views. + SC_IV_NONE turns the feature off but the other 3 states determine how far the guides appear on + empty lines. + + + + + + + + + + + + + + + + + + + + + + +
SC_IV_NONENo indentation guides are shown.
SC_IV_REALIndentation guides are shown inside real indentation white space.
SC_IV_LOOKFORWARDIndentation guides are shown beyond the actual indentation up to the level of the + next non-empty line. + If the previous non-empty line was a fold header then indentation guides are shown for + one more level of indent than that line. This setting is good for Python.
SC_IV_LOOKBOTHIndentation guides are shown beyond the actual indentation up to the level of the + next non-empty line or previous non-empty line whichever is the greater. + This setting is good for most languages.
+

+

SCI_SETHIGHLIGHTGUIDE(int column)
SCI_GETHIGHLIGHTGUIDE
When brace highlighting occurs, the indentation guide corresponding to the braces may be -- cgit v1.2.3