EXT-3606 - Script editor window: next line not indenting if current line wraps
parent
09add95e31
commit
2be2fdca5c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
name="test_text_editor"
|
||||
tool_tip="text editor"
|
||||
top="25"
|
||||
word_wrap="true"
|
||||
width="200">
|
||||
Text Editor
|
||||
</text_editor>
|
||||
|
|
|
|||
Loading…
Reference in New Issue