Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7537

HTML Autocompletion fails to spell words correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Aptana Studio 3.2.2
    • Fix Version/s: None
    • Component/s: Content Assist
    • Labels:
    • Environment:

      Debian Linux x86_64 (OpenJDK 7)
      Windows 7 x64 (JVM 7u9)

      Description

      When pressing TAB/Enter to autocomplete words in HTML code, the editor complete the word starting from the last already typed letter, and adds extra double quotes at the end of the word.

      Example: ( | is the cursor position)

      Typing:

      <i|

      suggests (and completes correctly)

      <input />

      Typing

      <input ty| />

      leads to

      <input type="" />

      But when typing

      <input type="hi|" />

      The expected result is

      <input type="hidden" />

      While the actual result is

      <input type="hiidden"" />

      If one types

      <input type="hid|" />

      The actual result is

      <input type="hiddden"" />

      And so on, with all HTML attributes:

      <div align="ceenter" "></div>

      <textarea disabled="diisabled" "></textarea>

      etc.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                flyingstar16 Claudio
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code