Bug 979666-Update the documentation for function text method

Bug 979666-Update the documentation for function text method