Merge pull request #1593 from ralpheav/master

Removing right empty space from trigger editor.
This commit is contained in:
julceslauhub
2013-04-19 09:15:52 -07:00
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);