When the cursor position is at the start of a paragraph, the tab/shift-tab keys are used to increase/decrease the indent. If an annotation, such as a bookmark, is placed at the start of the paragraph, this behavior changes and a tab is inserted instead.
We use annotations to mark areas of our documents and this causes inconsistent behavior. What's the best way to resolve this?
Here is an example of some XAML that has 2 lines that work and 1 line that fails because it has a bookmark at the start of the paragraph:
Thank You
We use annotations to mark areas of our documents and this causes inconsistent behavior. What's the best way to resolve this?
Here is an example of some XAML that has 2 lines that work and 1 line that fails because it has a bookmark at the start of the paragraph:
<
t:Paragraph
LeftIndent
=
"0"
>
<
t:Span
Text
=
"This paragraph can be indented using the tab key."
/>
</
t:Paragraph
>
<
t:Paragraph
LeftIndent
=
"0"
>
<
t:BookmarkRangeStart
AnnotationID
=
"1"
Name
=
"MyBookmark"
/>
<
t:BookmarkRangeEnd
AnnotationID
=
"1"
/>
<
t:Span
Text
=
"This paragraph cannot be indented using the tab key."
/>
</
t:Paragraph
>
<
t:Paragraph
>
<
t:Span
Text
=
"This paragraph can be indented using the tab key."
/>
</
t:Paragraph
>
<
t:Paragraph
/>
Thank You