working implementation for CCEditBox on linux