selectedWord() {

        // if there is no current selection, return blank
        if (!this.currentSelection) { return ""; }

        let txt= "";

        for (let value of this.currentSelection) { txt += value.character; }

        return txt;

    }
/*
     * Name: selectedWord
     * Description: Retrives the selected word
     * Return: String
    */
selectedWord
Description: Retrives the selected word
Return: String
selectedWord Description : Retrives the selected word Return : String
selectedWord() {
        if (!this.currentSelection) { return ""; }
        let txt= "";
        for (let value of this.currentSelection) { txt += value.character; }
        return txt;
    }
selectedWord ( ) { if ( ! this . currentSelection ) { return "" ; } let txt = "" ; for ( let value of this . currentSelection ) { txt += value . character ; } return txt ; }
Name: selectedWord
 Description: Retrives the selected word
 Return: String
Name : selectedWord Description : Retrives the selected word Return : String
// if there is no current selection, return blank