Oh you want to edit it via your user's graphical text editor. That would require making it writable to your user, or one of your user's groups. Run the following as root:
chgrp <yourgrouphere> /etc/hosts
chmod g+w /etc/hosts
<yourgrouphere> will likely be your user name
Not saying I recommend doing it this way... but it is an option.