Approved
Last Updated: 30 Mar 2016 11:24 by ADMIN
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();
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments