Bug 129580 HCG_BIDI: Undesirable order of BiDi chars in Edit Text Item dialog
This is BiDi specific defect. Capital characters refer to BiDi (Hebrew/Arabic) characters. 1. Create report 2. Add text item from the palette 3. Define it as HTML/Dynamic Text 4. Add <CODE> section 5. Type inside some logical expression using BiDi characters. if ABC != "OLLEH world" then ABC = "ELLOH" Actual result: if OLLEH" =! ABC world" then ELLOH" = ABC" The order of characters is corrupted. The content of comment and variables names is mixed.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
}
			return true;
		}
		return false;
	}
	/**
	 * Gets the first selected edit part in layout editor. Whenever the user has
	 * deselected all edit parts, the contents edit part should be returned.
	 * 
	 * @return the first selected EditPart or root edit part
	 */
	public static EditPart getCurrentEditPart( )
	{
		EditPartViewer viewer = getLayoutEditPartViewer( );
		if ( viewer == null )
			return null;
		IStructuredSelection targets = (IStructuredSelection) viewer.getSelection( );
		if ( targets.isEmpty( ) )
			return null;
		return (EditPart) targets.getFirstElement( );
	}
	/**
	 * Gets EditPartViewer in layout editor.
	 * 
	 * @return the EditPartViewer in layout editor, or null if not found.
	 */
	public static EditPartViewer getLayoutEditPartViewer( )
	{
		IEditorPart part = PlatformUI.getWorkbench( )
				.getActiveWorkbenchWindow( )