EXT-3606 - Script editor window: next line not indenting if current line wraps

master
Richard Linden 2010-04-01 14:08:49 -07:00
parent 09add95e31
commit 2be2fdca5c
2 changed files with 2 additions and 1 deletions

View File

@ -2334,7 +2334,7 @@ void LLTextEditor::getCurrentLineAndColumn( S32* line, S32* col, BOOL include_wo
void LLTextEditor::autoIndent()
{
// Count the number of spaces in the current line
S32 line = getLineNumFromDocIndex(mCursorPos);
S32 line = getLineNumFromDocIndex(mCursorPos, false);
S32 line_start = getLineStart(line);
S32 space_count = 0;
S32 i;

View File

@ -14,6 +14,7 @@
name="test_text_editor"
tool_tip="text editor"
top="25"
word_wrap="true"
width="200">
Text Editor
</text_editor>