Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Boby
Created on: 18 Mar 2015 15:00
Category: RichTextBox
Type: Bug Report
0
RichTextBox: Pressing Tab key when the caret is at the beginning of a Paragraph which starts with Bookmark do not change the indent
When the paragraph starts with Annotation with SkipPositionBefore = true, TabForward command does not detect that the caret is actually at the beginning of paragraph, and inserts Tab character instead of changing left indent.

Workaround: Subscribe to CommandExecuting and cancel the InsertTextCommand with parameter "\t" if the caret is at such position

Steps to reproduce:
- Insert a paragraph in the document.
- Put the caret at the beginning of the paragraph and insert bookmark (without selection).
- Put the caret at the beginning of the paragraph and press tab.
Expected: Paragraph's Left indent is changed.
Observed: Tab character is inserted.
0 comments