Function TextEdit.getWordUnderCursor

Returns a String text with the word under the mouse cursor location.

String getWordUnderCursor() nothrow @nogc const;