ajaxorg / ace

Ace (Ajax.org Cloud9 Editor)

Home Page:https://ace.c9.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue mode: incorrect processing of colon in attributes

InspiredGuy opened this issue · comments

Describe the bug

Semicolon is processed incorrectly in attributes, for example v-bind:to is shown as v-bindto.

Expected Behavior

Colons are processed as expected

Current Behavior

  1. Colons are not shown
  2. Cursor position is incorrect
  3. Typing : manually shows two colons (::)

Reproduction Steps

Open kitchen sink, select Vue mode and replace the content with

<template>
    <router-link v-bind:to="item.url">
    </router-link>
</template>

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

latest

Vue mode was introduced in #5483, @mkslanc could you maybe take a look if your memory is still fresh?
cc @nightwing

#5586 with the fix was merged, will be available in the next release.