关闭文件

To close a file in gedit, select Close. Alternately, you can click the small "X" that appears on the right-side of the file's tab, or press Ctrl+W.

上述的任何一个操作都会关闭文件,如果您的文件中发生了变化而没有保存,gedit 会在关闭前提示您保存更改。