Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Alt-G not working for static functions in 1274
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jfrancis
Senior Member

39 Posts

Posted - Oct 13 2004 :  07:01:31 AM  Show Profile
I've just installed 1274 and when I Alt-G against a call to a simple static function the cursor just goes to the start of my current line. Even if I manually locate the static function definition and Alt-G on the function name, the cursor jumps back to the location at the beginning of the line which calls the function! Perhaps the first instance of that name in the source file apart from the declaration.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 13 2004 :  3:53:40 PM  Show Profile
i have just added:
static void testFunc()
{
    printf("hello");
}

void testFunc2()
{
    testFunc();
    printf(" world");
}

to an existing cpp file, and alt_g on testFunc jumps to the '{' on the function, just fine. these are the first two functions in this cpp file.

however, other alt_g jumps in the same cpp file are picking up an extra, incorrect target i am getting the same problem in two different projects, in different cpp files.

i dont know if this is the problem you are seeing, but i have definetly confused alt_g. are you getting the problem with the first static function in a file? or are there static functions further up the file?

case=371

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000