ace.define('ace/mode/wast_highlight_rules', function (acequire, exports, module) {
    "use strict";

    var oop = acequire("ace/lib/oop");
    var TextHighlightRules = acequire("ace/mode/text_highlight_rules").TextHighlightRules;

    var WastHighlightRules = function () {
        var keywords = "global|local|type|func|memory|module|import|export|param|result";
        var types    = "i32|i64|f32|f64|none";
        var operator = [
            "const|if|else|loop|block|br|br_if|br_table|drop|select|end|return|call|call_indirect",
            "current_memory|grow_memory|get_local|set_local|tee_local|get_global|set_global",
            "load|load8_s|load8_u|load16_s|load16_u|load32_s|load32_u|store|store8|store16|store32",
            "eqz|eq|ne|lt_s|lt_u|lt|gt_s|gt_u|gt|le_s|le_u|le|ge_s|ge_u|ge|clz|ctz|popcnt|add|sub",
			"mul|div_s|div_u|div|rem_s|rem_u|and|xor|or|shl|shr_s|shr_u|rotl|rotr|abs|neg|ceil|floor",
			"trunc|nearest|sqrt|min|max|copysign|wrap|trunc_s|trunc_u|extend_s|extend_u|convert_s",
			"convert_u|demote|promote|reinterpret|unreachable|nop"
        ].join("|");

        var keywordMapper = this.createKeywordMapper({
            "keyword.control":   keywords,
            "keyword.operator":  operator,
            "support.function":  types
        }, "identifier", true);

        this.$rules = {
            "start": [{
                token : "constant.numeric", // hex
                regex : /0(?:[xX][0-9a-fA-F][0-9a-fA-F_]*|[bB][01][01_]*)\b/
            }, {
                token : "constant.numeric", // float
                regex : /[+-]?\d[\d_]*(?:(?:\.[\d_]*)?(?:[eE][+-]?[\d_]+)?)\b/
            }, {
                token : keywordMapper,
                regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
            }, {
                token : "lparen",
                regex : "[[({]"
            }, {
                token : "rparen",
                regex : "[\\])}]"
            }, {
                token : "text",
                regex : "\\s+"
            }]
        };
    };

    oop.inherits(WastHighlightRules, TextHighlightRules);
    exports.WastHighlightRules = WastHighlightRules;
});

@@ -826,19 +826,28 @@
 d%7Csub%22,%0A
-%09%09%09
+            
 %22mul%7Cdiv
@@ -929,19 +929,28 @@
 floor%22,%0A
-%09%09%09
+            
 %22trunc%7Cn
@@ -1033,11 +1033,20 @@
 s%22,%0A
-%09%09%09
+            
 %22con

fix indent