Unplanned
Last Updated: 21 Feb 2018 13:30 by ADMIN
ADMIN
Dimitar
Created on: 13 Feb 2018 09:25
Category: RichTextEditor
Type: Bug Report
1
FIX. RadRichTextEditor - pressing Tab when caret is at the beginning of a paragraph should change first line indent instead of left indent.
Pressing Tab/Shift+Tab when caret position is at the beginning of a paragraph should change current paragraph FirstLineIndent instead of LeftIndent.

First line indent should be changed to Document.DefaultTabWidth step.

Workaround:
private void RadRichTextEditor1_KeyDown(object sender, KeyEventArgs e)
{
    if (e.KeyData != Keys.Tab)
    {
        return;
    }

    this.radRichTextEditor1.Insert("\t");
    e.SuppressKeyPress = true;
    e.Handled = true;
}
0 comments