diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 52 | ||||
| -rw-r--r-- | src/Editor.cxx | 12 | 
2 files changed, 61 insertions, 3 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 7eb677f4a..a6f975256 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -107,6 +107,12 @@        <li>  	Andreas Neukoetter        </li> +      <li> +    	Adam Gates +      </li> +      <li> +	Steve Lhomme +      </li>      </ul>      <p>         Sponsorship @@ -126,6 +132,52 @@        </li>      </ul>      <h3> +       <a href="scite130.zip">Release 1.30</a> +    </h3> +    <ul> +      <li> +        Released on 26 July 2000. +      </li> +      <li> +        Much better support for PHP. +      </li> +      <li> +        Start replacement of Windows-specific APIs with cross platform APIs.  +        In 1.30, the new APIs are introduced but the old APIs are still available. +        For the GTK+ version, may have to include "WinDefs.h" explicitly to  +        use the old APIs. +      </li> +      <li> +        "if" and "import" statements in SciTE properties files allows modularisation into +        language-specific properties files and choices based upon platform.  +        This means that SciTE is delivered with 9 language-specific properties files +        as well as the standard SciTEGlobal.properties file. +      </li> +      <li> +        Much lower resource usage on Windows 9x. +      </li> +      <li> +        "/p" option in SciTE on Windows for printing a file and then exiting. +      </li> +      <li> +        Options for printing with inverted brightness (when the screen is set to use  +        a dark background) and to force black on white printing.  +      </li> +      <li> +        Option for printing magnified or miniaturised from screen settings. +      </li> +      <li> +        In SciTE, Ctrl+F3 and Ctrl+Shift+F3 find the selection in the forwards and backwards +        directions respectively. +      </li> +      <li> +        On Windows, auto-completion lists are visually outdented rather than indented. +      </li> +      <li> +        Bug in indicators leading to extra line drawn fixed. +      </li> +    </ul> +    <h3>         <a href="scite128.zip">Release 1.28</a>      </h3>      <ul> diff --git a/src/Editor.cxx b/src/Editor.cxx index f3aac824f..f70826473 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2226,9 +2226,15 @@ void Editor::Indent(bool forwards) {  	int lineCurrentPos = pdoc->LineFromPosition(currentPos);  	if (lineOfAnchor == lineCurrentPos) {  		ClearSelection(); -		pdoc->InsertChar(currentPos, '\t'); -		//pdoc->InsertChar(currentPos++, '\t'); -		SetEmptySelection(currentPos + 1); +		if (pdoc->useTabs) { +			pdoc->InsertChar(currentPos, '\t'); +			SetEmptySelection(currentPos + 1); +		} else { +			for (int i=0; i<pdoc->tabInChars; i++){ +				pdoc->InsertChar(currentPos, ' '); +			} +			SetEmptySelection(currentPos + pdoc->tabInChars); +		}  	} else {  		int anchorPosOnLine = anchor - pdoc->LineStart(lineOfAnchor);  		int currentPosPosOnLine = currentPos - pdoc->LineStart(lineCurrentPos);  | 
