May 13, 2024, 10:40:03 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Update 02-24-2012

Started by LarryMc, February 24, 2012, 02:53:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

The following functionality has been coded:

When a project is opened (whether it is via the File/New/Project, File/Open Project, or the File/Recent Projects menu options or the Open Project main toolbar button the following happens:

1. the *.iwp project file is opened and read
2. the captions are updated in the IDE window and the Project List window to indicate the current project.
3. all the project's source file names are loaded into the Project List   window Files tab
4. all the subroutines in all the project's source files are loaded into the Project List   window Subroutines tab
5. all the *.inc files used by the source files in the project are loaded into the Project List   window Includes tab. Nested include files are not shown  except for files listed in the stdafx.inc file.

6. Dbl-clicking an entry in the Project List/Files tab will open the corresponding file if it is not already open; if it is opened it will become the active editor window.  The File/Recent Files menu will be updated, as necessary.

7. Dbl-clicking an entry in the Project List/Subroutines tab will open the file that contains the selected subroutine (same as in step #6).  The code editor window will scroll so that the desired subroutine is visible somewhere in the code editor window and the "sub" line will be highlighted.

8. At the top of the Project List/Subroutines tab there is a button that the user clicks in order to update the list.  Since the code is based upon the contents of the actual files and not the contents of the editor window, pending changes will have to be saved in order to appear in the list.

9. Dbl-clicking an entry in the Project List/Include tab will function exactly the same as items #6 and #8.

NOTES: Include files usually don't have paths currently.  When one is clicked the new IDE looks in the folder containing the project's iwp file, in the folder's listed in the compiler options dialog (todo list), and in the iwbdev\include folders and sub-folders.

LarryMc

Note: 8500+ lines of code so far
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library