added ability to run bidi on selection

added ability to run bidi on selection or multiple selected text