Bug 12852 - Drosera should select function name, not "function" keyword when selecting from function list pop-up
Summary: Drosera should select function name, not "function" keyword when selecting fr...
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 23:46 PST by Vladimir Olexa (vladinecko)
Modified: 2008-05-17 09:56 PDT (History)
0 users

See Also:


Attachments
Patch (1.32 KB, patch)
2007-02-21 23:52 PST, Vladimir Olexa (vladinecko)
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Olexa (vladinecko) 2007-02-21 23:46:20 PST
When a function is selected from the function list pop-up button, Drosera should select the function name, like Xcode. 

Patch coming soon...
Comment 1 Vladimir Olexa (vladinecko) 2007-02-21 23:52:45 PST
Created attachment 13310 [details]
Patch

Since Xcode doesn't handle a situation like object = function(), we still pick up the name before the assignment operator. Therefore, when a function is formatted properly, e.g. function foo(), we select "foo" like Xcode. However, if the function is anonymous, we select the "function" keyword, just to handle this case as well.
Comment 2 Timothy Hatcher 2007-02-22 20:43:50 PST
Landed in r19821.
Comment 3 Timothy Hatcher 2008-05-17 09:56:04 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.