| SegmentFillUnmatchedStartAndEndTags Method |
Inserts corresponding start and end tags for unmatched end and start tags to the segment.
For unmatched end tags, the corresponding start tags are inserted at the beginning of the
segment. Corresponding end tags for unmatched start tags are added at the end. In certain
cases, not all dangling tags can be filled, and in order to obtain a valid segment without
any unmatched tags,
RemoveUnmatchedStartAndEndTags(Boolean) should be called after
calling this method. Note that only the tag type is checked, not whether there are
start or end tags without a corresponding tag having the same tag anchor.
The method will discontinue if the tag pairing structure is incorrect (i.e. if there
are overlapping tags).
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic bool FillUnmatchedStartAndEndTags()
Public Function FillUnmatchedStartAndEndTags As Boolean
public:
bool FillUnmatchedStartAndEndTags()
member FillUnmatchedStartAndEndTags : unit -> bool
Return Value
Type:
Booleantrue if the segment was modified, and
false otherwise. Note that
after calling this method, there may still be unmatched start or end tags in the
segment.
See Also
Comments