Kaydet (Commit) 44a3a345 authored tarafından Ivan Timofeev's avatar Ivan Timofeev

fdo#38887: SmNodeToTextVisitor: use ^ and _ instead of rsup and rsub

Change-Id: I0f13eed1843412f97b84c28fa6405378227be934
üst e3b220a5
......@@ -2212,13 +2212,13 @@ void SmNodeToTextVisitor::Visit( SmOperNode* pNode )
}
if( ( pChild = pSubSup->GetSubSup( RSUP ) ) ) {
Separate( );
Append( "rsup { " );
Append( "^ { " );
LineToText( pChild );
Append( "} " );
}
if( ( pChild = pSubSup->GetSubSup( RSUB ) ) ) {
Separate( );
Append( "rsub { " );
Append( "_ { " );
LineToText( pChild );
Append( "} " );
}
......@@ -2398,12 +2398,12 @@ void SmNodeToTextVisitor::Visit( SmSubSupNode* pNode )
}
if( ( pChild = pNode->GetSubSup( RSUP ) ) ) {
Separate( );
Append( "rsup " );
Append( "^ " );
LineToText( pChild );
}
if( ( pChild = pNode->GetSubSup( RSUB ) ) ) {
Separate( );
Append( "rsub " );
Append( "_ " );
LineToText( pChild );
}
if( ( pChild = pNode->GetSubSup( CSUP ) ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment