<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12852</bug_id>
          
          <creation_ts>2007-02-21 23:46:20 -0800</creation_ts>
          <short_desc>Drosera should select function name, not &quot;function&quot; keyword when selecting from function list pop-up</short_desc>
          <delta_ts>2008-05-17 09:56:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir Olexa (vladinecko)">vladimir.olexa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22312</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Olexa (vladinecko)">vladimir.olexa</who>
    <bug_when>2007-02-21 23:46:20 -0800</bug_when>
    <thetext>When a function is selected from the function list pop-up button, Drosera should select the function name, like Xcode. 

Patch coming soon...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22313</commentid>
    <comment_count>1</comment_count>
      <attachid>13310</attachid>
    <who name="Vladimir Olexa (vladinecko)">vladimir.olexa</who>
    <bug_when>2007-02-21 23:52:45 -0800</bug_when>
    <thetext>Created attachment 13310
Patch

Since Xcode doesn&apos;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 &quot;foo&quot; like Xcode. However, if the function is anonymous, we select the &quot;function&quot; keyword, just to handle this case as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22031</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2007-02-22 20:43:50 -0800</bug_when>
    <thetext>Landed in r19821.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80797</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-05-17 09:56:04 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>13310</attachid>
            <date>2007-02-21 23:52:45 -0800</date>
            <delta_ts>2007-02-22 00:58:16 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>drosera-function-select-patch.txt</filename>
            <type>text/plain</type>
            <size>1352</size>
            <attacher name="Vladimir Olexa (vladinecko)">vladimir.olexa</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDE5Nzg4
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTEgQEAKKzIwMDctMDIt
MjEgIFZsYWRpbWlyIE9sZXhhICA8dmxhZGltaXIub2xleGFAZ21haWwuY29tPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZpeGVzOiBodHRwOi8vYnVn
cy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMjg1MgorICAgICAgICBCdWcjMTI4NTI6IERy
b3N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aWQ9XCIiICsgZmlsZUluZGV4ICsgIi0iICsgZmlsZS5mdW5j
dGlvbk5hbWVzLmxlbmd0aCArICJcIj4iICsga2V5d29yZCArICI8L2E+PC9zcGFuPiI7CiAgICAg
ICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gIjxzcGFuIGNs
YXNzPVwia2V5d29yZFwiPiIgKyBrZXl3b3JkICsgIjwvc3Bhbj4iOwo=
</data>
<flag name="review"
          id="5208"
          type_id="1"
          status="+"
          setter="timothy"
    />
          </attachment>
      

    </bug>

</bugzilla>