From 9e59273e1a91a77efd675b0f912e5e680ce300a6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 11 Apr 2000 11:11:00 +0000 Subject: Added smart indentation support code. --- doc/ScintillaDoc.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index c2ce990df..d35b0b541 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -418,6 +418,17 @@ SCI_SETUSETABS(bool usetabs) and space or be based purely on spaces.

+SCI_SETLINEINDENTATION(int line, int indentation)
+SCI_GETLINEINDENTATION(int line)
+SCI_GETLINEINDENTPOSITION(int line)
+
+

+ The amount of indentation on a line can be discovered and set with SCI_GETLINEINDENTATION and + SCI_SETLINEINDENTATION. The indnetation is measuered in character columns which correspond + to the width of space characters. + SCI_GETLINEINDENTPOSITION returns the position at the end of indentation of a line. +

+
 SCI_SETCODEPAGE(int codepage)
 

-- cgit v1.2.3