Completed
Last Updated: 15 Oct 2020 05:07 by ADMIN
Release R3 2020 SP1
ADMIN
Dimitar
Created on: 22 May 2015 09:59
Category: RichTextEditor
Type: Bug Report
1
FIX. RadRichTextEditor - the ruler tabs are not respected when the caret is at the beginning of the paragraph.
To reproduce:
- Add RichTextEditorRuler and RichTextEditor to a form.
- Add some tab stops in the ruler and press the tab key.

Workaround:
void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is IncrementParagraphLeftIndentCommand)
    {
        e.Cancel = true;
        TabForwardCommand tabForward = new TabForwardCommand(this.radRichTextEditor1.RichTextBoxElement);
        tabForward.Execute();
    }
}
0 comments