Bug 209309 Show javascript errorposition
If a javascript expression has errors, the error message is shown in the last lines in the preview tab. But there is no info where the error occurs. In most cases you had to guess the error location. It would be very helpfull to display the error location.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
}
	/**
	 * @param renderOption
	 *            The renderOption to set.
	 */
	public void setRenderOption( IRenderOption renderOption )
	{
		this.renderOption = renderOption;
	}
	public String getOutputFormat( )
	{
		if ( renderOption != null )
		{
			return renderOption.getOutputFormat( );
		}
		return IRenderOption.OUTPUT_FORMAT_HTML;
	}
	public class ElementExceptionInfo
	{
		DesignElementHandle element;
		ArrayList exList = new ArrayList( );
		ArrayList countList = new ArrayList( );
		public ElementExceptionInfo( DesignElementHandle element )
		{
			this.element = element;
		}
		public void addException( BirtException e )
		{
			for ( int i = 0; i < exList.size( ); i++ )
			{