bundles/org.eclipse.orion.client.core/web/orion/bidiFormat.js
function (element, type, args, isRtl, locale) {
            return attachElement(element, type, args, isRtl, locale);
        }
function (element, type, args, isRtl, locale) {
            return attachElement(element, type, args, isRtl, locale);
        }
function ( element , type , args , isRtl , locale ) { return attachElement ( element , type , args , isRtl , locale ) ; }
Handle Structured text correct display for a given HTML element.
@param element - the element  : should be of type div contenteditable=true
@param type - could be one of filepath, url, email
@param args - pass additional arguments to the handler. generally null.
@param isRtl - indicates if the GUI is mirrored
@param locale - the browser locale
Handle Structured text correct display for a given HTML element .