I’ve done some testing and here is what I’ve managed to replicate.
Steps to follow.
- Create a new file ‘test.asp’ with the following contents.
<%if (someBoolean) then%> <input type="button" value="Void Application" onclick='window.location="/srvc/appl/appl_voidtd_h.asp?app_id=<%=l_id %>&cmd=vd"' /> <input type="button" value="Turn Down Application" onclick='window.location="/srvc/appl/appl_voidtd_h.asp?app_id=<%=l_id %>&cmd=td"' /> <% elseif AnotherBoolean OR _ NewLineBoolean THEN %> <input type="button" value="Do & Void" onclick='confirmVoid();' /> <% end if%>
Now try and open this file in sublime text and it will replicate the <%=l_id %>&cmd=vd"'
section of code.
To be sure it wasn’t my installed packages I tried all the above with fresh installs.
Here is what I found when I tested.
3143 Fresh install
- Opens test.asp without issues
3154 Fresh Install w/ ASP Enabled
- Fails test, text duplicated, deleting inside inline ASP doesn’t work
3154 Fresh Install w/ ASP Disabled
The only package I installed in the tests was Package Control so i could disable the ASP package that ships with ST3.
@kingkeith I agree with your comment that the asp has no python however to edit the code but I’m wondering if there is some magic in the syntax files.
For the time being i’ve switched back to the release build 3143 and everything is working as expected.