[webkit-reviews] review requested: [Bug 12852] Drosera should select function name, not "function" keyword when selecting from function list pop-up : [Attachment 13310] Patch

bugzilla-request-daemon at macosforge.org bugzilla-request-daemon at macosforge.org
Wed Feb 21 23:52:45 PST 2007


Vladimir Olexa (vladinecko) <vladimir.olexa at gmail.com> has asked  for review:
Bug 12852: Drosera should select function name, not "function" keyword when
selecting from function list pop-up
http://bugs.webkit.org/show_bug.cgi?id=12852

Attachment 13310: Patch
http://bugs.webkit.org/attachment.cgi?id=13310&action=edit

------- Additional Comments from Vladimir Olexa (vladinecko)
<vladimir.olexa at gmail.com>
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.



More information about the webkit-reviews mailing list