diff --git a/kitchen-sink.html b/kitchen-sink.html
index 22f9f7d3..ee49cd28 100644
--- a/kitchen-sink.html
+++ b/kitchen-sink.html
@@ -56,6 +56,7 @@
+
diff --git a/lib/ace/editor.js b/lib/ace/editor.js
index 02eb0bcc..b3fa60c4 100644
--- a/lib/ace/editor.js
+++ b/lib/ace/editor.js
@@ -529,6 +529,14 @@ var Editor = function(renderer, session) {
return this.$mouseHandler.getScrollSpeed();
};
+ this.setDragTimer = function(dragTimer) {
+ this.$mouseHandler.setDragTimer(dragTimer);
+ };
+
+ this.getDragTimer = function() {
+ return this.$mouseHandler.getDragTimer();
+ };
+
this.$selectionStyle = "line";
this.setSelectionStyle = function(style) {
if (this.$selectionStyle == style) return;
diff --git a/lib/ace/mode/php_highlight_rules.js b/lib/ace/mode/php_highlight_rules.js
index a873f6fc..69a5181f 100644
--- a/lib/ace/mode/php_highlight_rules.js
+++ b/lib/ace/mode/php_highlight_rules.js
@@ -44,6 +44,7 @@ var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocComme
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var PhpHighlightRules = function() {
+ var docComment = new DocCommentHighlightRules();
// http://php.net/quickref.php
var builtinFunctions = lang.arrayToMap(
('abs|acos|acosh|addcslashes|addslashes|aggregate|aggregate_info|aggregate_methods|aggregate_methods_by_list|aggregate_methods_by_regexp|' +
@@ -903,13 +904,32 @@ var PhpHighlightRules = function() {
this.$rules = {
"start" : [
{
- token : "support", // php open tag
+ token : "support.php_tag", // php open tag
regex : "<\\?(?:php|\\=)"
},
{
- token : "support", // php close tag
+ token : "support.php_tag", // php close tag
regex : "\\?>"
},
+ {
+ token : "comment",
+ regex : "<\\!--",
+ next : "htmlcomment"
+ },
+ {
+ token : "meta.tag",
+ regex : "