-
- // Clear the logical to visual and the visual to logical conversion tables.
- CharacterIndex* logicalToVisualMapBuffer = mLogicalModel->mLogicalToVisualMap.Begin();
- mLogicalModel->mLogicalToVisualMap.Erase( logicalToVisualMapBuffer + startIndex,
- logicalToVisualMapBuffer + endIndexPlusOne );
-
- CharacterIndex* visualToLogicalMapBuffer = mLogicalModel->mVisualToLogicalMap.Begin();
- mLogicalModel->mVisualToLogicalMap.Erase( visualToLogicalMapBuffer + startIndex,
- visualToLogicalMapBuffer + endIndexPlusOne );