<?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>27447</bug_id>
          
          <creation_ts>2009-07-20 08:36:28 -0700</creation_ts>
          <short_desc>WebInspector: Accept autocomplete on &apos;End&apos; key pressed.</short_desc>
          <delta_ts>2009-07-28 21:41:07 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Feldman">pfeldman</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>eric</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>133145</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-07-20 08:36:28 -0700</bug_when>
    <thetext>Currently only &apos;Right&apos; leads to autocomplete accept. Should be both &apos;Right&apos; and &apos;End&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133147</commentid>
    <comment_count>1</comment_count>
      <attachid>33087</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-07-20 08:55:50 -0700</bug_when>
    <thetext>Created attachment 33087
зфеср</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133234</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-20 14:47:47 -0700</bug_when>
    <thetext>In XCode &quot;end&quot; cancels autocomplete.  What autocomplete are you basing this functionality off of?  MS Word?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133412</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-07-21 02:01:01 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; In XCode &quot;end&quot; cancels autocomplete.  What autocomplete are you basing this
&gt; functionality off of?  MS Word?

On non-Mac OS-based systems (Linux, Windows), &quot;End&quot; is moving cursor to the end of the edit field. It sounds much more intuitive to use &quot;End&quot; for auto-complete accept rather than &quot;Right&quot; arrow on these platforms. I could make this action platform-specific, but then decided to keep it simple.

On a more general topic, non-popup-based autocomplete is pretty unique to XCode and I don&apos;t think many web developers find it useful. (much more are familiar with Eclipse and Visual Studio). So I am thinking of filing a bug to support popup-based autocomplete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133417</commentid>
    <comment_count>4</comment_count>
      <attachid>33163</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-07-21 02:13:41 -0700</bug_when>
    <thetext>Created attachment 33163
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135466</commentid>
    <comment_count>5</comment_count>
      <attachid>33163</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-07-28 20:35:40 -0700</bug_when>
    <thetext>Comment on attachment 33163
patch

Sometimes space accepts completions too, but I think that isn&apos;t as comon. (I never used End before.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135478</commentid>
    <comment_count>6</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-07-28 21:41:07 -0700</bug_when>
    <thetext>Committed r46515
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/TextPrompt.js
r46515 = 3a4dd73bf7f0b4ef5f4148170c0a1e7e6330f94d (trunk)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>33087</attachid>
            <date>2009-07-20 08:55:50 -0700</date>
            <delta_ts>2009-07-21 02:13:41 -0700</delta_ts>
            <desc>зфеср</desc>
            <filename>accept-on-end.txt</filename>
            <type>text/plain</type>
            <size>1015</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQ2MDg3
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDktMDct
MjAgIFBhdmVsIEZlbGRtYW4gIDxwZmVsZG1hbkBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgV2Vi
SW5zcGVjdG9yOiBBY2NlcHQgYXV0b2NvbXBsZXRlIG9uICdFbmQnIGtleSBwcmVzc2VkLgorCisg
ICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yNzQ0Ny4KKwor
ICAgICAgICAqIGluc3BlY3Rvci9mcm9udC1lbmQvVGV4dFByb21wdC5qczoKKyAgICAgICAgKFdl
Ykluc3BlY3Rvci5UZXh0UHJvbXB0LnByb3RvdHlwZS5oYW5kbGVLZXlFdmVudCk6CisKIDIwMDkt
MDctMTggIEplcmVteSBPcmxvdyAgPGpvcmxvd0BjaHJvbWl1bS5vcmc+CiAKICAgICAgICAgUnVi
YmVyIHN0YW1wZWQgYnkgQWRhbSBCYXJ0aC4KSW5kZXg6IGluc3BlY3Rvci9mcm9udC1lbmQvVGV4
dFByb21wdC5qcwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09Ci0tLSBpbnNwZWN0b3IvZnJvbnQtZW5kL1RleHRQcm9tcHQu
anMJKHJldmlzaW9uIDQ2MDg3KQorKysgaW5zcGVjdG9yL2Zyb250LWVuZC9UZXh0UHJvbXB0Lmpz
CSh3b3JraW5nIGNvcHkpCkBAIC02Niw2ICs2Niw3IEBACiAgICAgICAgICAgICAgICAgdGhpcy5f
dGFiS2V5UHJlc3NlZChldmVudCk7CiAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAg
ICBjYXNlICJSaWdodCI6CisgICAgICAgICAgICBjYXNlICJFbmQiOgogICAgICAgICAgICAgICAg
IGlmICghdGhpcy5hY2NlcHRBdXRvQ29tcGxldGUoKSkKICAgICAgICAgICAgICAgICAgICAgdGhp
cy5hdXRvQ29tcGxldGVTb29uKCk7CiAgICAgICAgICAgICAgICAgYnJlYWs7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>33163</attachid>
            <date>2009-07-21 02:13:41 -0700</date>
            <delta_ts>2009-07-28 20:35:40 -0700</delta_ts>
            <desc>patch</desc>
            <filename>accept-on-end.txt</filename>
            <type>text/plain</type>
            <size>1063</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0NjA4NykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTIgQEAKKzIwMDktMDctMjAgIFBhdmVsIEZlbGRtYW4gIDxwZmVsZG1hbkBjaHJv
bWl1bS5vcmc+CisKKyAgICAgICAgV2ViSW5zcGVjdG9yOiBBY2NlcHQgYXV0b2NvbXBsZXRlIG9u
ICdFbmQnIGtleSBwcmVzc2VkLgorCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3No
b3dfYnVnLmNnaT9pZD0yNzQ0Ny4KKworICAgICAgICAqIGluc3BlY3Rvci9mcm9udC1lbmQvVGV4
dFByb21wdC5qczoKKyAgICAgICAgKFdlYkluc3BlY3Rvci5UZXh0UHJvbXB0LnByb3RvdHlwZS5o
YW5kbGVLZXlFdmVudCk6CisKIDIwMDktMDctMTggIEplcmVteSBPcmxvdyAgPGpvcmxvd0BjaHJv
bWl1bS5vcmc+CiAKICAgICAgICAgUnViYmVyIHN0YW1wZWQgYnkgQWRhbSBCYXJ0aC4KSW5kZXg6
IFdlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9UZXh0UHJvbXB0LmpzCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IFdlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9UZXh0UHJvbXB0LmpzCShyZXZpc2lvbiA0NjA4
NykKKysrIFdlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9UZXh0UHJvbXB0LmpzCSh3b3JraW5n
IGNvcHkpCkBAIC02Niw2ICs2Niw3IEBACiAgICAgICAgICAgICAgICAgdGhpcy5fdGFiS2V5UHJl
c3NlZChldmVudCk7CiAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICBjYXNlICJS
aWdodCI6CisgICAgICAgICAgICBjYXNlICJFbmQiOgogICAgICAgICAgICAgICAgIGlmICghdGhp
cy5hY2NlcHRBdXRvQ29tcGxldGUoKSkKICAgICAgICAgICAgICAgICAgICAgdGhpcy5hdXRvQ29t
cGxldGVTb29uKCk7CiAgICAgICAgICAgICAgICAgYnJlYWs7Cg==
</data>
<flag name="review"
          id="17484"
          type_id="1"
          status="+"
          setter="timothy"
    />
          </attachment>
      

    </bug>

</bugzilla>