The title says it all. Is there a way to replace the default text box with a program like gedit?

I know there's something like this for Firefox, but it doesn't have a Chrome version.