Closing an editor

Now that we have a couple of editors open, we should learn how to close them. 

  1. Select the JanesFile.txt editor tab. 

  2. In the text area add a 6th line of text:

    This is a 6th line

  3. To close the editor, do one of the following options:

  4. Note that you are prompted to save the file before the editor is closed.

  5. Click OK to save your changes and close the editor.

If you closed the editor using File > Close you may have noticed the option File > Close All. This is a quick way to close all of your open editors. If you choose File > Close All, you will be prompted to choose which editors with unsaved changes you want to save.

If you choose Window > Preferences then Workbench > Editors, you will find the preference to close editors automatically. There you can configure how many editors are opened before editors are reused and what should happen when all editors have unsaved changes.

 Copyright IBM Corporation 2000, 2003. All Rights Reserved.