Extensible inline text completion mechanism