13.3.1. Displaying files in the Editor Buffer List

You do not have to close the Editor Buffer List during your editing session as this might help with organizing your files. However, the File List must be kept up to date, using ReScan, to ensure that files can be accessed.

To demonstrate file operations:

  1. Load two files into the File Editor, for example sample_arm.c and dhry_1.c.

  2. Select Tools → New Editor → Editor Buffer List....

    The Active Files list shows:

    --- Active Files ---
    
    1 c:\program files\arm\rvd\...dhrystone\dhry_1.c
    
    1 c:\program files\arm\rvd\...sample\sample_arm.c
    
    --- Previously Used Files ---
    

    Do not close the Editor Buffer List.

  3. Right-click on the sample_arm.c file tab in the File Editor pane and select Close.

    The Active Files list shows:

    --- Active Files ---
    
    1 c:\program files\arm\rvd\...dhrystone\dhry_1.c
    
    0 c:\program files\arm\rvd\...sample\sample_arm.c
    
    --- Previously Used Files ---
    
  4. Select the sample_arm.c entry in the Editor Buffer List and click Edit. This results in an error message to say that the file is no longer available.

  5. Click ReScan to refresh the File List.

    The Active Files list shows:

    --- Active Files ---
    
    1 c:\program files\arm\rvd\...dhrystone\dhry_1.c
    
    --- Previously Used Files ---
    
     c:\program files\arm\rvd\...sample\sample_arm.c
    
  6. Select the sample_arm.c entry and click Edit. This displays a standalone File Editor window ready for editing. The Active Files list is updated to show the change.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential