Erlang enhanced function completion with modules.

Do not call ```getText()``` unless you really need it. Use ```getTextLength()``` here instead.