|
The options in this dialog box depend on the document type and the Smart Insert configuration in the .dcf file.
|
|
There is a limit to how far Smart Insert will search. A maximum of 10 contexts are searched in the specified Direction. This means that the potential insertion point is moved from its initial position up to 10 subsequent changes of context searching for a valid insertion point. Context changes occur as the insertion point traverses different elements. For example, assume the insertion point is within an emphasis element in an itemizedlist:
• An insertion point within an emphasis element changes context if it moves out from between the emphasis tags and into the context of a surrounding para
• The context changes again when the insertion point moves between the para and a surrounding listitem.
• It changes again going into the listitem
• Then when it is between that and the next listitem
• Then from there into the next listitem, and so on.
If a valid context is not found after searching the maximum context range, a tag structure is built around the element to be inserted in a further attempt to find a context where it can be inserted. A parent element is wrapped around the element. Then the maximum context range is tried again, this time attempting to insert the element and its parent rather than just the element itself. Once the maximum context range of 10 and the maximum structure depth of 5 is reached and no valid context for the element is found, no element is inserted. Move the insertion point to another location (beyond the maximum context range), and try to insert the element again.
|