Aptana Studio
  1. Aptana Studio
  2. APSTUD-2540

Incorrect computation of replace range in CSS CA

    Details

      Description

      {html}<div><p>Given the following snippet:</p>
      <p>A:</p>
      <pre>
      <code class="css">b,| {}</code>
      </pre>
      <p>B:</p>
      <pre>
      <code class="css">b, |{}</code>
      </pre>
      <p>If the cursor is placed at '|', no CA appears in (A), but does
      in (B). Looking at the CSS CA computer, it appears it is
      calculating the replace range incorrectly, and the proposals fail
      during the "validate" step of filtering.</p></div>{html}

        Activity

        Hide
        Kevin Lindsey added a comment -

        We no longer try to select the ceiling lexeme. Instead we select the lexeme to the right. Uncommented unit test for this case as well.

        Show
        Kevin Lindsey added a comment - We no longer try to select the ceiling lexeme. Instead we select the lexeme to the right. Uncommented unit test for this case as well.

          People

          • Assignee:
            Kevin Lindsey
            Reporter:
            Ingo Muschenetz
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development