Hello all, first post! Thanks in advance.

I used gedit to write a simple ip sweep script, but when I save it, in the GUI, this error pops in my terminal window:
---------------
(gedit:21632):...