Hi i was wondering if it is possible to include a
method list (drop down menu), like the one in codewarrior.
It would realy help manige large files.
The dropdown should be like this
dropdown:
YellowFish
----------------------
ShowAll
MyClass::MyProcedure
if the code was
CODE:
#pragma mark YellowFish
typedef struct bluefish { int i; } bluefish #pragma mark - void ShowAll( void ) { printf( "hellow" ); } void MyClass::MyProcedure( void ) { MessageBox( NULL , "Hellow" , "MyApp" , MB_OK ); }
Logged In: YES
user_id=210587
I do not understand your request...
Can you be more specific?
Yiannis.
Logged In: YES
user_id=379876
Oh sorry.. I will try to make my self more clear..
I would like a dropdown menu, linking to all methods in a
specific document, in the order of occurrence. That is:
There should be an item in the menu for every procedure or
function in the document, this item should then link (jump
to/select) the procedure in the code text:
E.G a file like this
void main( void ) {
printf( Hi);
}
int MyClass::MyFunction( int ) {
MessageBox( NULL , Hi , , MB_OK );
}
would result in a menu with two items:
-main
-MyClass:: MyFunction
Selecting the first item in the menu (I.E. main), would
move the writing cursor to the first line of the document.
Selecting the second item in the menu (I.E. MyClass::
MyFunction) would move the writing cursor to the 5. line of
the file.
Furthermore this feature could be extended to include the
pragma mark syntax, so that a line containing #pragma
mark Something, would add the text something to the menu,
again selecting the item something in the menu would move
the writing cursor to the correct location in the document.
The notation #pragma mark , would then indicate a
separating line in the menu. Altogether this could be used
like this:
The C/CPP file
pragma mark Predeclarations
void main( void );
int fish( void );
pragma mark
void main( void ) {
printf( Hi);
}
void fish ( void ) {
printf( Gollom);
}
Would result in a menu like this:
- Predeclarations
-Main
-Fish