Removing right empty space from trigger editor.

This commit is contained in:
ralpheav
2013-04-19 12:01:46 -04:00
parent 1dd410e1c1
commit 5e3c5a363e
4 changed files with 3 additions and 4 deletions

View File

@@ -81,7 +81,6 @@
state.pending = null;
var cur = stream.current(), openPHP = cur.search(/<\?/);
if (openPHP != -1) {
alert("openPHP");
if (style == "string" && /\"$/.test(cur) && !/\?>/.test(cur)) state.pending = '"';
else state.pending = {end: stream.pos, style: style};
stream.backUp(cur.length - openPHP);