Bug 143104 TVT3.2:TCT639: AR: BIRT: Expression builder should be unmirrored.
OS: Windows XP Must Fix: No. Build Date: 0522 Component: BIRT Blocking: No Language: AR Tester name: Omar Bahy Scenario: 1- Import a report Design, i.e, Test_Report_1.rptdesign 2- Double click on Column_1. 3- Click on row ["CUSTOMERNUMBER"] 4- Click ont he empty box that apears next to it to open the expression builder. Problem: - expression builder text window should be unmirrored to maintain expression readability. This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/TextEditor.java
{
						text = frontTag + selectedText + backTag;
					}
					textEditor.insert( text );
				}
				else
				{
					textEditor.insert( frontTag + selectedText );
				}
				
				
				if ( !tag.getAttributes( ).isEmpty( ) )
				{
					textEditor.setCaretOffset( start
							+ tag.getName( ).length( )
							+ ( (String) tag.getAttributes( ).get( 0 ) ).length( )
							+ 2 );
				}
				else
				{
					int offset = start + frontTag.length( );
					if ( tag.isPair( ) && selectedText.length( ) == 0 )
					{
						
						
						offset = textEditor.getOffsetAtLine( textEditor.getLineAtOffset( start ) + 1 );
					}
					textEditor.setCaretOffset( offset );
				}
			}