datagram 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/.env.sample +7 -0
  2. data/.gitignore +20 -0
  3. data/.rbenv-version +1 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE.txt +22 -0
  6. data/Procfile +1 -0
  7. data/README.md +29 -0
  8. data/Rakefile +1 -0
  9. data/config.ru +5 -0
  10. data/datagram.gemspec +23 -0
  11. data/db/migrate/1_create_queries.rb +9 -0
  12. data/db/migrate/2_add_name_to_queries.rb +5 -0
  13. data/lib/datagram/version.rb +3 -0
  14. data/lib/datagram.rb +135 -0
  15. data/lib/views/application.coffee +222 -0
  16. data/lib/views/index.haml +47 -0
  17. data/lib/views/layout.haml +17 -0
  18. data/lib/views/style.sass +179 -0
  19. data/public/ace/ace.js +15209 -0
  20. data/public/ace/ext-elastic_tabstops_lite.js +301 -0
  21. data/public/ace/ext-emmet.js +253 -0
  22. data/public/ace/ext-searchbox.js +441 -0
  23. data/public/ace/ext-spellcheck.js +67 -0
  24. data/public/ace/ext-static_highlight.js +96 -0
  25. data/public/ace/ext-textarea.js +492 -0
  26. data/public/ace/ext-whitespace.js +204 -0
  27. data/public/ace/keybinding-emacs.js +962 -0
  28. data/public/ace/keybinding-vim.js +1704 -0
  29. data/public/ace/mode-abap.js +260 -0
  30. data/public/ace/mode-asciidoc.js +372 -0
  31. data/public/ace/mode-c9search.js +182 -0
  32. data/public/ace/mode-c_cpp.js +737 -0
  33. data/public/ace/mode-clojure.js +299 -0
  34. data/public/ace/mode-coffee.js +426 -0
  35. data/public/ace/mode-coldfusion.js +1753 -0
  36. data/public/ace/mode-csharp.js +612 -0
  37. data/public/ace/mode-css.js +773 -0
  38. data/public/ace/mode-curly.js +1950 -0
  39. data/public/ace/mode-dart.js +945 -0
  40. data/public/ace/mode-diff.js +166 -0
  41. data/public/ace/mode-django.js +1969 -0
  42. data/public/ace/mode-dot.js +320 -0
  43. data/public/ace/mode-ftl.js +907 -0
  44. data/public/ace/mode-glsl.js +810 -0
  45. data/public/ace/mode-golang.js +632 -0
  46. data/public/ace/mode-groovy.js +1037 -0
  47. data/public/ace/mode-haml.js +487 -0
  48. data/public/ace/mode-haxe.js +609 -0
  49. data/public/ace/mode-html.js +1881 -0
  50. data/public/ace/mode-jade.js +1951 -0
  51. data/public/ace/mode-java.js +996 -0
  52. data/public/ace/mode-javascript.js +876 -0
  53. data/public/ace/mode-json.js +578 -0
  54. data/public/ace/mode-jsp.js +1351 -0
  55. data/public/ace/mode-jsx.js +635 -0
  56. data/public/ace/mode-latex.js +189 -0
  57. data/public/ace/mode-less.js +807 -0
  58. data/public/ace/mode-liquid.js +862 -0
  59. data/public/ace/mode-lisp.js +138 -0
  60. data/public/ace/mode-livescript.js +288 -0
  61. data/public/ace/mode-logiql.js +664 -0
  62. data/public/ace/mode-lsl.js +828 -0
  63. data/public/ace/mode-lua.js +455 -0
  64. data/public/ace/mode-luapage.js +2340 -0
  65. data/public/ace/mode-lucene.js +64 -0
  66. data/public/ace/mode-makefile.js +313 -0
  67. data/public/ace/mode-markdown.js +2280 -0
  68. data/public/ace/mode-mushcode.js +704 -0
  69. data/public/ace/mode-mushcode_high_rules.js +569 -0
  70. data/public/ace/mode-objectivec.js +659 -0
  71. data/public/ace/mode-ocaml.js +443 -0
  72. data/public/ace/mode-pascal.js +233 -0
  73. data/public/ace/mode-perl.js +316 -0
  74. data/public/ace/mode-pgsql.js +908 -0
  75. data/public/ace/mode-php.js +2291 -0
  76. data/public/ace/mode-powershell.js +618 -0
  77. data/public/ace/mode-python.js +264 -0
  78. data/public/ace/mode-r.js +404 -0
  79. data/public/ace/mode-rdoc.js +184 -0
  80. data/public/ace/mode-rhtml.js +2168 -0
  81. data/public/ace/mode-ruby.js +431 -0
  82. data/public/ace/mode-sass.js +442 -0
  83. data/public/ace/mode-scad.js +670 -0
  84. data/public/ace/mode-scala.js +1025 -0
  85. data/public/ace/mode-scheme.js +144 -0
  86. data/public/ace/mode-scss.js +832 -0
  87. data/public/ace/mode-sh.js +204 -0
  88. data/public/ace/mode-sql.js +118 -0
  89. data/public/ace/mode-stylus.js +483 -0
  90. data/public/ace/mode-svg.js +1442 -0
  91. data/public/ace/mode-tcl.js +319 -0
  92. data/public/ace/mode-tex.js +166 -0
  93. data/public/ace/mode-text.js +0 -0
  94. data/public/ace/mode-textile.js +170 -0
  95. data/public/ace/mode-tmsnippet.js +200 -0
  96. data/public/ace/mode-toml.js +180 -0
  97. data/public/ace/mode-typescript.js +961 -0
  98. data/public/ace/mode-vbscript.js +281 -0
  99. data/public/ace/mode-velocity.js +962 -0
  100. data/public/ace/mode-xml.js +789 -0
  101. data/public/ace/mode-xquery.js +2750 -0
  102. data/public/ace/mode-yaml.js +289 -0
  103. data/public/ace/theme-ambiance.js +202 -0
  104. data/public/ace/theme-chaos.js +182 -0
  105. data/public/ace/theme-chrome.js +161 -0
  106. data/public/ace/theme-clouds.js +135 -0
  107. data/public/ace/theme-clouds_midnight.js +136 -0
  108. data/public/ace/theme-cobalt.js +150 -0
  109. data/public/ace/theme-crimson_editor.js +154 -0
  110. data/public/ace/theme-dawn.js +146 -0
  111. data/public/ace/theme-dreamweaver.js +173 -0
  112. data/public/ace/theme-eclipse.js +122 -0
  113. data/public/ace/theme-github.js +136 -0
  114. data/public/ace/theme-idle_fingers.js +136 -0
  115. data/public/ace/theme-kr.js +143 -0
  116. data/public/ace/theme-merbivore.js +135 -0
  117. data/public/ace/theme-merbivore_soft.js +136 -0
  118. data/public/ace/theme-mono_industrial.js +148 -0
  119. data/public/ace/theme-monokai.js +140 -0
  120. data/public/ace/theme-pastel_on_dark.js +148 -0
  121. data/public/ace/theme-solarized_dark.js +128 -0
  122. data/public/ace/theme-solarized_light.js +131 -0
  123. data/public/ace/theme-terminal.js +154 -0
  124. data/public/ace/theme-textmate.js +0 -0
  125. data/public/ace/theme-tomorrow.js +147 -0
  126. data/public/ace/theme-tomorrow_night.js +147 -0
  127. data/public/ace/theme-tomorrow_night_blue.js +145 -0
  128. data/public/ace/theme-tomorrow_night_bright.js +147 -0
  129. data/public/ace/theme-tomorrow_night_eighties.js +144 -0
  130. data/public/ace/theme-twilight.js +147 -0
  131. data/public/ace/theme-vibrant_ink.js +131 -0
  132. data/public/ace/theme-xcode.js +125 -0
  133. data/public/ace/worker-coffee.js +7091 -0
  134. data/public/ace/worker-css.js +8289 -0
  135. data/public/ace/worker-javascript.js +6496 -0
  136. data/public/ace/worker-json.js +2305 -0
  137. data/public/ace/worker-lua.js +3313 -0
  138. data/public/ace/worker-php.js +6743 -0
  139. data/public/ace/worker-xquery.js +21897 -0
  140. data/public/font/FontAwesome.otf +0 -0
  141. data/public/font/fontawesome-webfont.eot +0 -0
  142. data/public/font/fontawesome-webfont.svg +284 -0
  143. data/public/font/fontawesome-webfont.ttf +0 -0
  144. data/public/font/fontawesome-webfont.woff +0 -0
  145. data/public/font-awesome.css +540 -0
  146. data/public/jquery.js +9597 -0
  147. data/script/migrate.sh +2 -0
  148. metadata +242 -0
@@ -0,0 +1,828 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Distributed under the BSD license:
3
+ *
4
+ * Copyright (c) 2013, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *
29
+ * ***** END LICENSE BLOCK ***** */
30
+
31
+ define('ace/mode/lsl', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/lsl_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/range', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
32
+
33
+
34
+ var oop = require("../lib/oop");
35
+ var TextMode = require("./text").Mode;
36
+ var Tokenizer = require("../tokenizer").Tokenizer;
37
+ var lslHighlightRules = require("./lsl_highlight_rules").lslHighlightRules;
38
+ var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
39
+ var Range = require("../range").Range;
40
+ var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
41
+ var CStyleFoldMode = require("./folding/cstyle").FoldMode;
42
+
43
+ var Mode = function() {
44
+ this.$tokenizer = new Tokenizer(new lslHighlightRules().getRules());
45
+ this.$outdent = new MatchingBraceOutdent();
46
+ this.$behaviour = new CstyleBehaviour();
47
+ this.foldingRules = new CStyleFoldMode();
48
+ };
49
+ oop.inherits(Mode, TextMode);
50
+
51
+ (function() {
52
+
53
+ this.lineCommentStart = ["//"];
54
+
55
+ this.blockComment = {start: "/*", end: "*/"};
56
+
57
+ this.getNextLineIndent = function(state, line, tab) {
58
+ var indent = this.$getIndent(line);
59
+
60
+ var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
61
+ var tokens = tokenizedLine.tokens;
62
+ var endState = tokenizedLine.state;
63
+
64
+ if (tokens.length && tokens[tokens.length-1].type == "comment") {
65
+ return indent;
66
+ }
67
+
68
+ if (state == "start") {
69
+ var match = line.match(/^.*[\{\(\[]\s*$/);
70
+ if (match) {
71
+ indent += tab;
72
+ }
73
+ }
74
+
75
+ return indent;
76
+ };
77
+
78
+ this.checkOutdent = function(state, line, input) {
79
+ return this.$outdent.checkOutdent(line, input);
80
+ };
81
+
82
+ this.autoOutdent = function(state, doc, row) {
83
+ this.$outdent.autoOutdent(doc, row);
84
+ };
85
+
86
+ }).call(Mode.prototype);
87
+
88
+ exports.Mode = Mode;
89
+ });
90
+
91
+ define('ace/mode/lsl_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
92
+
93
+
94
+ var oop = require("../lib/oop");
95
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
96
+
97
+ var lslHighlightRules = function() {
98
+
99
+ var keywordMapper = this.createKeywordMapper({
100
+ "constant.language": "ACTIVE ALWAYS_RUN|AGENT_ATTACHMENTS|AGENT_AUTOPILOT|" +
101
+ "AGENT_AWAY|AGENT_BUSY|AGENT_BY_LEGACY_NAME|AGENT_BY_USERNAME|AGENT_CROUCHING|" +
102
+ "AGENT_FLYING|AGENT_IN_AIR|AGENT_LIST_PARCEL|AGENT_LIST_PARCEL_OWNER|" +
103
+ "AGENT_LIST_REGION|AGENT_MOUSELOOK|AGENT_ON_OBJECT|AGENT_SCRIPTED|AGENT_SITTING|" +
104
+ "AGENT_TYPING|AGENT_WALKING|ALL_SIDES|ANIM_ON|ATTACH_BACK|ATTACH_BELLY|" +
105
+ "ATTACH_CHEST|ATTACH_CHIN|ATTACH_HEAD|ATTACH_HUD_BOTTOM|ATTACH_HUD_BOTTOM_LEFT|" +
106
+ "ATTACH_HUD_BOTTOM_RIGHT|ATTACH_HUD_CENTER_1|ATTACH_HUD_CENTER_2|ATTACH_HUD_TOP_CENTER|" +
107
+ "ATTACH_HUD_TOP_LEFT|ATTACH_HUD_TOP_RIGHT|ATTACH_LEAR|ATTACH_LEFT_PEC|" +
108
+ "ATTACH_LEYE|ATTACH_LFOOT|ATTACH_LHAND|ATTACH_LHIP|ATTACH_LLARM|ATTACH_LLLEG|" +
109
+ "ATTACH_LSHOULDER|ATTACH_LUARM|ATTACH_LULEG|ATTACH_MOUTH|ATTACH_NOSE|" +
110
+ "ATTACH_PELVIS|ATTACH_REAR|ATTACH_REYE|ATTACH_RFOOT|ATTACH_RHAND|ATTACH_RHIP|" +
111
+ "ATTACH_RIGHT_PEC|ATTACH_RLARM|ATTACH_RLLEG|ATTACH_RSHOULDER|ATTACH_RUARM|" +
112
+ "ATTACH_RULEG|AVOID_CHARACTERS|AVOID_DYNAMIC_OBSTACLES|AVOID_NONE|CAMERA_ACTIVE|" +
113
+ "CAMERA_BEHINDNESS_ANGLE|CAMERA_BEHINDNESS_LAG|CAMERA_DISTANCE|CAMERA_FOCUS|" +
114
+ "CAMERA_FOCUS_LAG|CAMERA_FOCUS_LOCKED|CAMERA_FOCUS_OFFSET|CAMERA_FOCUS_THRESHOLD|" +
115
+ "CAMERA_PITCH|CAMERA_POSITION|CAMERA_POSITION_LAG|CAMERA_POSITION_LOCKED|" +
116
+ "CAMERA_POSITION_THRESHOLD|CHANGED_ALLOWED_DROP|CHANGED_COLOR|CHANGED_INVENTORY|" +
117
+ "CHANGED_LINK|CHANGED_MEDIA|CHANGED_OWNER|CHANGED_REGION|CHANGED_REGION_START|" +
118
+ "CHANGED_SCALE|CHANGED_SHAPE|CHANGED_TELEPORT|CHANGED_TEXTURE|CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES|" +
119
+ "CHARACTER_AVOIDANCE_MODE|CHARACTER_CMD_JUMP|CHARACTER_CMD_SMOOTH_STOP|" +
120
+ "CHARACTER_CMD_STOP|CHARACTER_DESIRED_SPEED|CHARACTER_DESIRED_TURN_SPEED|" +
121
+ "CHARACTER_LENGTH|CHARACTER_MAX_ACCEL|CHARACTER_MAX_ANGULAR_ACCEL|CHARACTER_MAX_ANGULAR_SPEED|" +
122
+ "CHARACTER_MAX_DECEL|CHARACTER_MAX_SPEED|CHARACTER_MAX_TURN_RADIUS|CHARACTER_ORIENTATION|" +
123
+ "CHARACTER_RADIUS|CHARACTER_TYPE|CHARACTER_TYPE_A|CHARACTER_TYPE_B|CHARACTER_TYPE_C|" +
124
+ "CHARACTER_TYPE_D|CHARACTER_TYPE_NONE|CLICK_ACTION_BUY|CLICK_ACTION_NONE|" +
125
+ "CLICK_ACTION_OPEN|CLICK_ACTION_OPEN_MEDIA|CLICK_ACTION_PAY|CLICK_ACTION_PLAY|" +
126
+ "CLICK_ACTION_SIT|CLICK_ACTION_TOUCH|CONTENT_TYPE_HTML|CONTENT_TYPE_TEXT|" +
127
+ "CONTROL_BACK|CONTROL_DOWN|CONTROL_FWD|CONTROL_LBUTTON|CONTROL_LEFT|CONTROL_ML_LBUTTON|" +
128
+ "CONTROL_RIGHT|CONTROL_ROT_LEFT|CONTROL_ROT_RIGHT|CONTROL_UP|DATA_BORN|" +
129
+ "DATA_NAME|DATA_ONLINE|DATA_PAYINFO|DATA_SIM_POS|DATA_SIM_RATING|DATA_SIM_STATUS|" +
130
+ "DENSITY|DEBUG_CHANNEL|DEG_TO_RAD|EOF|ESTATE_ACCESS_ALLOWED_AGENT_ADD|" +
131
+ "ESTATE_ACCESS_ALLOWED_AGENT_REMOVE|ESTATE_ACCESS_ALLOWED_GROUP_ADD|ESTATE_ACCESS_ALLOWED_GROUP_REMOVE|" +
132
+ "ESTATE_ACCESS_BANNED_AGENT_ADD|ESTATE_ACCESS_BANNED_AGENT_REMOVE|FALSE|" +
133
+ "FORCE_DIRECT_PATH|FRICTION|GCNP_RADIUS|GCNP_STATIC|GRAVITY_MULTIPLIER|" +
134
+ "HORIZONTAL|HTTP_BODY_MAXLENGTH|HTTP_BODY_TRUNCATED|HTTP_CUSTOM_HEADER|" +
135
+ "HTTP_METHOD|HTTP_MIMETYPE|HTTP_PRAGMA_NO_CACHE|HTTP_VERBOSE_THROTTLE|" +
136
+ "HTTP_VERIFY_CERT|INVENTORY_ALL|INVENTORY_ANIMATION|INVENTORY_BODYPART|" +
137
+ "INVENTORY_CLOTHING|INVENTORY_GESTURE|INVENTORY_LANDMARK|INVENTORY_NONE|" +
138
+ "INVENTORY_NOTECARD|INVENTORY_OBJECT|INVENTORY_SCRIPT|INVENTORY_SOUND|" +
139
+ "INVENTORY_TEXTURE|KFM_CMD_PAUSE|KFM_CMD_PLAY|KFM_CMD_STOP|KFM_COMMAND|" +
140
+ "KFM_DATA|KFM_FORWARD|KFM_LOOP|KFM_MODE|KFM_PING_PONG|KFM_REVERSE|KFM_ROTATION|" +
141
+ "KFM_TRANSLATION|LAND_LEVEL|LAND_LOWER|LAND_NOISE|LAND_RAISE|LAND_REVERT|" +
142
+ "LAND_SMOOTH|LINK_ALL_CHILDREN|LINK_ALL_OTHERS|LINK_ROOT|LINK_SET|LINK_THIS|" +
143
+ "LIST_STAT_GEOMETRIC_MEAN|LIST_STAT_MAX|LIST_STAT_MEAN|LIST_STAT_MEDIAN|" +
144
+ "LIST_STAT_MIN|LIST_STAT_NUM_COUNT|LIST_STAT_RANGE|LIST_STAT_STD_DEV|LIST_STAT_SUM|" +
145
+ "LIST_STAT_SUM_SQUARES|LOOP|MASK_BASE|MASK_EVERYONE|MASK_GROUP|MASK_NEXT|" +
146
+ "MASK_OWNER|NULL_KEY|OBJECT_ATTACHED_POINT|OBJECT_CREATOR|OBJECT_DESC|" +
147
+ "OBJECT_GROUP|OBJECT_NAME|OBJECT_OWNER|OBJECT_PATHFINDING_TYPE|OBJECT_PHYSICS_COST|" +
148
+ "OBJECT_POS|OBJECT_PRIM_EQUIVALENCE|OBJECT_ROOT|OBJECT_ROT|OBJECT_RUNNING_SCRIPT_COUNT|" +
149
+ "OBJECT_SCRIPT_MEMORY|OBJECT_SCRIPT_TIME|OBJECT_SERVER_COST|OBJECT_STREAMING_COST|" +
150
+ "OBJECT_TOTAL_SCRIPT_COUNT|OBJECT_UNKNOWN_DETAIL|OBJECT_VELOCITY|OPT_AVATAR|" +
151
+ "OPT_CHARACTER|OPT_EXCLUSION_VOLUME|OPT_LEGACY_LINKSET|OPT_MATERIAL_VOLUME|" +
152
+ "OPT_OTHER|OPT_STATIC_OBSTACLE|OPT_WALKABLE|PARCEL_COUNT_GROUP|PARCEL_COUNT_OTHER|" +
153
+ "PARCEL_COUNT_OWNER|PARCEL_COUNT_SELECTED|PARCEL_COUNT_TEMP|PARCEL_COUNT_TOTAL|" +
154
+ "PARCEL_DETAILS_AREA|PARCEL_DETAILS_DESC|PARCEL_DETAILS_GROUP|PARCEL_DETAILS_ID|" +
155
+ "PARCEL_DETAILS_NAME|PARCEL_DETAILS_OWNER|PARCEL_DETAILS_SEE_AVATARS|" +
156
+ "PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY|PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS|" +
157
+ "PARCEL_FLAG_ALLOW_CREATE_OBJECTS|PARCEL_FLAG_ALLOW_DAMAGE|PARCEL_FLAG_ALLOW_FLY|" +
158
+ "PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY|PARCEL_FLAG_ALLOW_GROUP_SCRIPTS|" +
159
+ "PARCEL_FLAG_ALLOW_LANDMARK|PARCEL_FLAG_ALLOW_SCRIPTS|PARCEL_FLAG_ALLOW_TERRAFORM|" +
160
+ "PARCEL_FLAG_LOCAL_SOUND_ONLY|PARCEL_FLAG_RESTRICT_PUSHOBJECT|PARCEL_FLAG_USE_ACCESS_GROUP|" +
161
+ "PARCEL_FLAG_USE_ACCESS_LIST|PARCEL_FLAG_USE_BAN_LIST|PARCEL_FLAG_USE_LAND_PASS_LIST|" +
162
+ "PARCEL_MEDIA_COMMAND_AGENT|PARCEL_MEDIA_COMMAND_AUTO_ALIGN|PARCEL_MEDIA_COMMAND_DESC|" +
163
+ "PARCEL_MEDIA_COMMAND_LOOP|PARCEL_MEDIA_COMMAND_LOOP_SET|PARCEL_MEDIA_COMMAND_PAUSE|" +
164
+ "PARCEL_MEDIA_COMMAND_PLAY|PARCEL_MEDIA_COMMAND_SIZE|PARCEL_MEDIA_COMMAND_STOP|" +
165
+ "PARCEL_MEDIA_COMMAND_TEXTURE|PARCEL_MEDIA_COMMAND_TIME|PARCEL_MEDIA_COMMAND_TYPE|" +
166
+ "PARCEL_MEDIA_COMMAND_UNLOAD|PARCEL_MEDIA_COMMAND_URL|PASSIVE|PATROL_PAUSE_AT_WAYPOINTS|" +
167
+ "PAYMENT_INFO_ON_FILE|PAYMENT_INFO_USED|PAY_DEFAULT|PAY_HIDE|PERMISSION_ATTACH|" +
168
+ "PERMISSION_CHANGE_LINKS|PERMISSION_CONTROL_CAMERA|PERMISSION_DEBIT|PERMISSION_OVERRIDE_ANIMATIONS|" +
169
+ "PERMISSION_SILENT_ESTATE_MANAGEMENT|PERMISSION_TAKE_CONTROLS|PERMISSION_TELEPORT|PERMISSION_TRACK_CAMERA|" +
170
+ "PERMISSION_TRIGGER_ANIMATION|PERM_ALL|PERM_COPY|PERM_MODIFY|PERM_MOVE|" +
171
+ "PERM_TRANSFER|PI|PING_PONG|PI_BY_TWO|PRIM_BUMP_BARK|PRIM_BUMP_BLOBS|" +
172
+ "PRIM_BUMP_BRICKS|PRIM_BUMP_BRIGHT|PRIM_BUMP_CHECKER|PRIM_BUMP_CONCRETE|" +
173
+ "PRIM_BUMP_DARK|PRIM_BUMP_DISKS|PRIM_BUMP_GRAVEL|PRIM_BUMP_LARGETILE|" +
174
+ "PRIM_BUMP_NONE|PRIM_BUMP_SHINY|PRIM_BUMP_SIDING|PRIM_BUMP_STONE|PRIM_BUMP_STUCCO|" +
175
+ "PRIM_BUMP_SUCTION|PRIM_BUMP_TILE|PRIM_BUMP_WEAVE|PRIM_BUMP_WOOD|PRIM_COLOR|" +
176
+ "PRIM_DESC|PRIM_FLEXIBLE|PRIM_FULLBRIGHT|PRIM_GLOW|PRIM_HOLE_CIRCLE|PRIM_HOLE_DEFAULT|" +
177
+ "PRIM_HOLE_SQUARE|PRIM_HOLE_TRIANGLE|PRIM_LINK_TARGET|PRIM_MATERIAL|PRIM_MATERIAL_FLESH|" +
178
+ "PRIM_MATERIAL_GLASS|PRIM_MATERIAL_LIGHT|PRIM_MATERIAL_METAL|PRIM_MATERIAL_PLASTIC|" +
179
+ "PRIM_MATERIAL_RUBBER|PRIM_MATERIAL_STONE|PRIM_MATERIAL_WOOD|PRIM_MEDIA_ALT_IMAGE_ENABLE|" +
180
+ "PRIM_MEDIA_AUTO_LOOP|PRIM_MEDIA_AUTO_PLAY|PRIM_MEDIA_AUTO_SCALE|PRIM_MEDIA_AUTO_ZOOM|" +
181
+ "PRIM_MEDIA_CONTROLS|PRIM_MEDIA_CONTROLS_STANDARD|PRIM_MEDIA_CONTROLS_MINI|" +
182
+ "PRIM_MEDIA_CURRENT_URL|PRIM_MEDIA_FIRST_CLICK_INTERACT|PRIM_MEDIA_HEIGHT_PIXELS|" +
183
+ "PRIM_MEDIA_HOME_URL|PRIM_MEDIA_PERM_ANYONE|PRIM_MEDIA_PERM_GROUP|PRIM_MEDIA_PERM_NONE|" +
184
+ "PRIM_MEDIA_PERM_OWNER|PRIM_MEDIA_PERMS_CONTROL|PRIM_MEDIA_PERMS_INTERACT|" +
185
+ "PRIM_MEDIA_WIDTH_PIXELS|PRIM_MEDIA_WHITELIST|PRIM_MEDIA_WHITELIST_ENABLE|" +
186
+ "PRIM_NAME|PRIM_OMEGA|PRIM_PHANTOM|PRIM_PHYSICS|PRIM_PHYSICS_MATERIAL|" +
187
+ "PRIM_PHYSICS_SHAPE_CONVEX|PRIM_PHYSICS_SHAPE_NONE|PRIM_PHYSICS_SHAPE_PRIM|" +
188
+ "PRIM_PHYSICS_SHAPE_TYPE|PRIM_POINT_LIGHT|PRIM_POSITION|PRIM_POS_LOCAL|" +
189
+ "PRIM_ROTATION|PRIM_ROT_LOCAL|PRIM_SCULPT_FLAG_INVERT|PRIM_SCULPT_FLAG_MIRROR|" +
190
+ "PRIM_SCULPT_TYPE_CYLINDER|PRIM_SCULPT_TYPE_MASK|PRIM_SCULPT_TYPE_PLANE|" +
191
+ "PRIM_SCULPT_TYPE_SPHERE|PRIM_SCULPT_TYPE_TORUS|PRIM_SHINY_HIGH|PRIM_SHINY_LOW|" +
192
+ "PRIM_SHINY_MEDIUM|PRIM_SHINY_NONE|PRIM_SIZE|PRIM_SLICE|PRIM_TEMP_ON_REZ|" +
193
+ "PRIM_TEXGEN|PRIM_TEXGEN_DEFAULT|PRIM_TEXGEN_PLANAR|PRIM_TEXT|PRIM_TEXTURE|" +
194
+ "PRIM_TYPE|PRIM_TYPE_BOX|PRIM_TYPE_CYLINDER|PRIM_TYPE_PRISM|PRIM_TYPE_RING|" +
195
+ "PRIM_TYPE_SCULPT|PRIM_TYPE_SPHERE|PRIM_TYPE_TORUS|PRIM_TYPE_TUBE|PROFILE_NONE|" +
196
+ "PROFILE_SCRIPT_MEMORY|PSYS_PART_BOUNCE_MASK|PSYS_PART_EMISSIVE_MASK|PSYS_PART_END_ALPHA|" +
197
+ "PSYS_PART_END_COLOR|PSYS_PART_END_SCALE|PSYS_PART_FLAGS|PSYS_PART_FOLLOW_SRC_MASK|" +
198
+ "PSYS_PART_FOLLOW_VELOCITY_MASK|PSYS_PART_INTERP_COLOR_MASK|PSYS_PART_INTERP_SCALE_MASK|" +
199
+ "PSYS_PART_MAX_AGE|PSYS_PART_START_ALPHA|PSYS_PART_START_COLOR|PSYS_PART_START_SCALE|" +
200
+ "PSYS_PART_TARGET_LINEAR_MASK|PSYS_PART_TARGET_POS_MASK|PSYS_PART_WIND_MASK|" +
201
+ "PSYS_SRC_ACCEL|PSYS_SRC_ANGLE_BEGIN|PSYS_SRC_ANGLE_END|PSYS_SRC_BURST_PART_COUNT|" +
202
+ "PSYS_SRC_BURST_RADIUS|PSYS_SRC_BURST_RATE|PSYS_SRC_BURST_SPEED_MAX|PSYS_SRC_BURST_SPEED_MIN|" +
203
+ "PSYS_SRC_MAX_AGE|PSYS_SRC_OMEGA|PSYS_SRC_PATTERN|PSYS_SRC_PATTERN_ANGLE|" +
204
+ "PSYS_SRC_PATTERN_ANGLE_CONE|PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY|PSYS_SRC_PATTERN_DROP|" +
205
+ "PSYS_SRC_PATTERN_EXPLODE|PSYS_SRC_TARGET_KEY|PSYS_SRC_TEXTURE|PUBLIC_CHANNEL|" +
206
+ "PURSUIT_FUZZ_FACTOR|PURSUIT_GOAL_TOLERANCE|PURSUIT_INTERCEPT|PURSUIT_OFFSET|" +
207
+ "PU_EVADE_HIDDEN|PU_EVADE_SPOTTED|PU_FAILURE_DYNAMIC_PATHFINDING_DISABLED|" +
208
+ "PU_FAILURE_INVALID_GOAL|PU_FAILURE_INVALID_START|PU_FAILURE_NO_NAVMESH|" +
209
+ "PU_FAILURE_NO_VALID_DESTINATION|PU_FAILURE_OTHER|PU_FAILURE_PARCEL_UNREACHABLE|" +
210
+ "PU_FAILURE_TARGET_GONE|PU_FAILURE_UNREACHABLE|PU_GOAL_REACHED|PU_SLOWDOWN_DISTANCE_REACHED|" +
211
+ "RAD_TO_DEG|RC_DATA_FLAGS|RC_DETECT_PHANTOM|RC_GET_LINK_NUM|RC_GET_NORMAL|" +
212
+ "RC_GET_ROOT_KEY|RC_MAX_HITS|RC_REJECT_AGENTS|RC_REJECT_LAND|RC_REJECT_NONPHYSICAL|" +
213
+ "RC_REJECT_PHYSICAL|RC_REJECT_TYPES|RCERR_CAST_TIME_EXCEEDED|RCERR_SIM_PERF_LOW|" +
214
+ "RCERR_UNKNOWN|REGION_FLAG_ALLOW_DAMAGE|REGION_FLAG_ALLOW_DIRECT_TELEPORT|" +
215
+ "REGION_FLAG_BLOCK_FLY|REGION_FLAG_BLOCK_TERRAFORM|REGION_FLAG_DISABLE_COLLISIONS|" +
216
+ "REGION_FLAG_DISABLE_PHYSICS|REGION_FLAG_FIXED_SUN|REGION_FLAG_RESTRICT_PUSHOBJECT|" +
217
+ "REGION_FLAG_SANDBOX|REMOTE_DATA_CHANNEL|REMOTE_DATA_REPLY|REMOTE_DATA_REQUEST|" +
218
+ "REQUIRE_LINE_OF_SIGHT|RESTITUTION|REVERSE|ROTATE|SCALE|SCRIPTED|SIM_STAT_PCT_CHARS_STEPPED|" +
219
+ "SMOOTH|SQRT2|STATUS_BLOCK_GRAB|STATUS_BLOCK_GRAB_OBJECT|STATUS_BOUNDS_ERROR|" +
220
+ "STATUS_CAST_SHADOWS|STATUS_DIE_AT_EDGE|STATUS_INTERNAL_ERROR|STATUS_MALFORMED_PARAMS|" +
221
+ "STATUS_NOT_FOUND|STATUS_NOT_SUPPORTED|STATUS_OK|STATUS_PHANTOM|STATUS_PHYSICS|" +
222
+ "STATUS_RETURN_AT_EDGE|STATUS_ROTATE_X|STATUS_ROTATE_Y|STATUS_ROTATE_Z|" +
223
+ "STATUS_SANDBOX|STATUS_TYPE_MISMATCH|STATUS_WHITELIST_FAILED|STRING_TRIM|" +
224
+ "STRING_TRIM_HEAD|STRING_TRIM_TAIL|TEXTURE_DEFAULT|TEXTURE_BLANK|TEXTURE_MEDIA|" +
225
+ "TEXTURE_PLYWOOD|TEXTURE_TRANSPARENT|TOUCH_INVALID_FACE|TOUCH_INVALID_TEXCOORD|" +
226
+ "TOUCH_INVALID_VECTOR|TRAVERSAL_TYPE|TRAVERSAL_TYPE_FAST|TRAVERSAL_TYPE_NONE|" +
227
+ "TRAVERSAL_TYPE_SLOW|TRUE|TWO_PI|TYPE_FLOAT|TYPE_INTEGER|TYPE_INVALID|" +
228
+ "TYPE_KEY|TYPE_ROTATION|TYPE_STRING|TYPE_VECTOR|URL_REQUEST_DENIED|URL_REQUEST_GRANTED|" +
229
+ "VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY|VEHICLE_ANGULAR_DEFLECTION_TIMESCALE|" +
230
+ "VEHICLE_ANGULAR_FRICTION_TIMESCALE|VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE|" +
231
+ "VEHICLE_ANGULAR_MOTOR_DIRECTION|VEHICLE_ANGULAR_MOTOR_TIMESCALE|VEHICLE_BANKING_EFFICIENCY|" +
232
+ "VEHICLE_BANKING_MIX|VEHICLE_BANKING_TIMESCALE|VEHICLE_BUOYANCY|VEHICLE_FLAG_CAMERA_DECOUPLED|" +
233
+ "VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT|VEHICLE_FLAG_HOVER_TERRAIN_ONLY|VEHICLE_FLAG_HOVER_UP_ONLY|" +
234
+ "VEHICLE_FLAG_HOVER_WATER_ONLY|VEHICLE_FLAG_LIMIT_MOTOR_UP|VEHICLE_FLAG_LIMIT_ROLL_ONLY|" +
235
+ "VEHICLE_FLAG_MOUSELOOK_BANK|VEHICLE_FLAG_MOUSELOOK_STEER|VEHICLE_FLAG_NO_DEFLECTION_UP|" +
236
+ "VEHICLE_HOVER_EFFICIENCY|VEHICLE_HOVER_HEIGHT|VEHICLE_HOVER_TIMESCALE|" +
237
+ "VEHICLE_LINEAR_DEFLECTION_EFFICIENCY|VEHICLE_LINEAR_DEFLECTION_TIMESCALE|" +
238
+ "VEHICLE_LINEAR_FRICTION_TIMESCALE|VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE|" +
239
+ "VEHICLE_LINEAR_MOTOR_DIRECTION|VEHICLE_LINEAR_MOTOR_OFFSET|VEHICLE_LINEAR_MOTOR_TIMESCALE|" +
240
+ "VEHICLE_REFERENCE_FRAME|VEHICLE_TYPE_AIRPLANE|VEHICLE_TYPE_BALLOON|VEHICLE_TYPE_BOAT|" +
241
+ "VEHICLE_TYPE_CAR|VEHICLE_TYPE_NONE|VEHICLE_TYPE_SLED|VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY|" +
242
+ "VEHICLE_VERTICAL_ATTRACTION_TIMESCALE|VERTICAL|WANDER_PAUSE_AT_WAYPOINTS|" +
243
+ "ZERO_ROTATION|ZERO_VECTOR",
244
+ "invalid.deprecated" : "llCollisionSprite|llGodLikeRezObject|llMakeExplosion|" +
245
+ "llMakeFountain|llMakeSmoke|llMakeFire|llPointAt|llStopPointAt|llRefreshPrimURL|" +
246
+ "llSetPrimURL|llReleaseCamera|llTakeCamera|llRemoteDataSetRegion|llRemoteLoadScript|" +
247
+ "llSetInventoryPermMask|llSound|llSoundPreload|llXorBase64Strings|AGENT|" +
248
+ "DATA_RATING|LAND_LARGE_BRUSH|LAND_MEDIUM_BRUSH|LAND_SMALL_BRUSH|PERMISSION_CHANGE_JOINTS|" +
249
+ "PERMISSION_CHANGE_PERMISSIONS|PERMISSION_RELEASE_OWNERSHIP|PERMISSION_REMAP_CONTROLS|" +
250
+ "PRIM_CAST_SHADOWS|PRIM_TYPE_LEGACY|PSYS_SRC_INNERANGLE|PSYS_SRC_OUTERANGLE|" +
251
+ "VEHICLE_FLAG_NO_FLY_UP",
252
+ "invalid.illegal" : "event",
253
+ "keyword.control" : "do|else|for|if|jump|return|while",
254
+ "keyword.other" : "default|state",
255
+ "storage.type" : "float|integer|key|list|quaternion|rotation|string|vector",
256
+ "support.function": "llAbs|llAcos|llAddToLandBanList|llAddToLandPassList|" +
257
+ "llAdjustSoundVolume|llAllowInventoryDrop|llAngleBetween|llApplyImpulse|" +
258
+ "llApplyRotationalImpulse|llAsin|llAtan2|llAttachToAvatar|llAttachToAvatarTemp|" +
259
+ "llAvatarOnLinkSitTarget|llAvatarOnSitTarget|llAxes2Rot|llAxisAngle2Rot|" +
260
+ "llBase64ToInteger|llBase64ToString|llBreakAllLinks|llBreakLink|llCastRay|" +
261
+ "llCeil|llClearCameraParams|llClearLinkMedia|llClearPrimMedia|llCloseRemoteDataChannel|" +
262
+ "llCloud|llCollisionFilter|llCollisionSound|llCos|llCreateCharacter|llCreateLink|" +
263
+ "llCSV2List|llDeleteCharacter|llDeleteSubList|llDeleteSubString|llDetachFromAvatar|" +
264
+ "llDetectedGrab|llDetectedGroup|llDetectedKey|llDetectedLinkNumber|llDetectedName|" +
265
+ "llDetectedOwner|llDetectedPos|llDetectedRot|llDetectedTouchBinormal|" +
266
+ "llDetectedTouchFace|llDetectedTouchNormal|llDetectedTouchPos|llDetectedTouchST|" +
267
+ "llDetectedTouchUV|llDetectedType|llDetectedVel|llDialog|llDie|llDumpList2String|" +
268
+ "llEdgeOfWorld|llEjectFromLand|llEmail|llEscapeURL|llEuler2Rot|llExecCharacterCmd|" +
269
+ "llEvade|llFabs|llFleeFrom|llFloor|llForceMouselook|llFrand|llGenerateKey|" +
270
+ "llGetAccel|llGetAgentInfo|llGetAgentLanguage|llGetAgentList|llGetAgentSize|" +
271
+ "llGetAlpha|llGetAndResetTime|llGetAnimation|llGetAnimationList|llGetAnimationOverride|llGetAttached|" +
272
+ "llGetBoundingBox|llGetCameraPos|llGetCameraRot|llGetCenterOfMass|llGetClosestNavPoint|" +
273
+ "llGetColor|llGetCreator|llGetDate|llGetDisplayName|llGetEnergy|llGetEnv|" +
274
+ "llGetForce|llGetFreeMemory|llGetFreeURLs|llGetGeometricCenter|llGetGMTclock|" +
275
+ "llGetHTTPHeader|llGetInventoryCreator|llGetInventoryKey|llGetInventoryName|" +
276
+ "llGetInventoryNumber|llGetInventoryPermMask|llGetInventoryType|llGetKey|" +
277
+ "llGetLandOwnerAt|llGetLinkKey|llGetLinkMedia|llGetLinkName|llGetLinkNumber|" +
278
+ "llGetLinkNumberOfSides|llGetLinkPrimitiveParams|llGetListEntryType|llGetListLength|" +
279
+ "llGetLocalPos|llGetLocalRot|llGetMass|llGetMassMKS|llGetMemoryLimit|" +
280
+ "llGetNextEmail|llGetNotecardLine|llGetNumberOfNotecardLines|llGetNumberOfPrims|" +
281
+ "llGetNumberOfSides|llGetObjectDesc|llGetObjectDetails|llGetObjectMass|" +
282
+ "llGetObjectName|llGetObjectPermMask|llGetObjectPrimCount|llGetOmega|" +
283
+ "llGetOwner|llGetOwnerKey|llGetParcelDetails|llGetParcelFlags|llGetParcelMaxPrims|" +
284
+ "llGetParcelMusicURL|llGetParcelPrimCount|llGetParcelPrimOwners|llGetPermissions|" +
285
+ "llGetPermissionsKey|llGetPhysicsMaterial|llGetPos|llGetPrimitiveParams|" +
286
+ "llGetPrimMediaParams|llGetRegionAgentCount|llGetRegionCorner|llGetRegionFlags|" +
287
+ "llGetRegionFPS|llGetRegionName|llGetRegionTimeDilation|llGetRootPosition|" +
288
+ "llGetRootRotation|llGetRot|llGetScale|llGetScriptName|llGetScriptState|" +
289
+ "llGetSimStats|llGetSimulatorHostname|llGetSPMaxMemory|llGetStartParameter|" +
290
+ "llGetStaticPath|llGetStatus|llGetSubString|llGetSunDirection|llGetTexture|" +
291
+ "llGetTextureOffset|llGetTextureRot|llGetTextureScale|llGetTime|llGetTimeOfDay|" +
292
+ "llGetTimestamp|llGetTorque|llGetUnixTime|llGetUsedMemory|llGetUsername|" +
293
+ "llGetVel|llGetWallclock|llGiveInventory|llGiveInventoryList|llGiveMoney|" +
294
+ "llGround|llGroundContour|llGroundNormal|llGroundRepel|llGroundSlope|" +
295
+ "llHTTPRequest|llHTTPResponse|llInsertString|llInstantMessage|llIntegerToBase64|" +
296
+ "llKey2Name|llLinkParticleSystem|llLinkSitTarget|llList2CSV|llList2Float|" +
297
+ "llList2Integer|llList2Key|llList2List|llList2ListStrided|llList2Rot|" +
298
+ "llList2String|llList2Vector|llListen|llListenControl|llListenRemove|" +
299
+ "llListFindList|llListInsertList|llListRandomize|llListReplaceList|llListSort|" +
300
+ "llListStatistics|llLoadURL|llLog|llLog10|llLookAt|llLoopSound|llLoopSoundMaster|" +
301
+ "llLoopSoundSlave|llManageEstateAccess|llMapDestination|llMD5String|llMessageLinked|" +
302
+ "llMinEventDelay|llModifyLand|llModPow|llMoveToTarget|llNavigateTo|llOffsetTexture|" +
303
+ "llOpenRemoteDataChannel|llOverMyLand|llOwnerSay|llParcelMediaCommandList|" +
304
+ "llParcelMediaQuery|llParseString2List|llParseStringKeepNulls|llParticleSystem|" +
305
+ "llPassCollisions|llPassTouches|llPatrolPoints|llPlaySound|llPlaySoundSlave|" +
306
+ "llPow|llPreloadSound|llPursue|llPushObject|llRegionSay|llRegionSayTo|" +
307
+ "llReleaseControls|llReleaseURL|llRemoteDataReply|llRemoteLoadScriptPin|" +
308
+ "llRemoveFromLandBanList|llRemoveFromLandPassList|llRemoveInventory|llRemoveVehicleFlags|" +
309
+ "llRequestAgentData|llRequestDisplayName|llRequestInventoryData|llRequestPermissions|" +
310
+ "llRequestSecureURL|llRequestSimulatorData|llRequestURL|llRequestUsername|llResetAnimationOverride|" +
311
+ "llResetLandBanList|llResetLandPassList|llResetOtherScript|llResetScript|" +
312
+ "llResetTime|llRezAtRoot|llRezObject|llRot2Angle|llRot2Axis|llRot2Euler|" +
313
+ "llRot2Fwd|llRot2Left|llRot2Up|llRotateTexture|llRotBetween|llRotLookAt|" +
314
+ "llRotTarget|llRotTargetRemove|llRound|llSameGroup|llSay|llScaleTexture|" +
315
+ "llScriptDanger|llScriptProfiler|llSendRemoteData|llSensor|llSensorRemove|" +
316
+ "llSensorRepeat|llSetAlpha|llSetAngularVelocity|llSetAnimationOverride|llSetBuoyancy|llSetCameraAtOffset|" +
317
+ "llSetCameraEyeOffset|llSetCameraParams|llSetClickAction|llSetColor|llSetContentType|" +
318
+ "llSetDamage|llSetForce|llSetForceAndTorque|llSetHoverHeight|llSetKeyframedMotion|" +
319
+ "llSetLinkAlpha|llSetLinkCamera|llSetLinkColor|llSetLinkMedia|llSetLinkPrimitiveParams|" +
320
+ "llSetLinkPrimitiveParamsFast|llSetLinkTexture|llSetLinkTextureAnim|llSetLocalRot|" +
321
+ "llSetMemoryLimit|llSetObjectDesc|llSetObjectName|llSetParcelMusicURL|" +
322
+ "llSetPayPrice|llSetPhysicsMaterial|llSetPos|llSetPrimitiveParams|llSetPrimMediaParams|" +
323
+ "llSetRegionPos|llSetRemoteScriptAccessPin|llSetRot|llSetScale|llSetScriptState|" +
324
+ "llSetSitText|llSetSoundQueueing|llSetSoundRadius|llSetStatus|llSetText|" +
325
+ "llSetTexture|llSetTextureAnim|llSetTimerEvent|llSetTorque|llSetTouchText|" +
326
+ "llSetVehicleFlags|llSetVehicleFloatParam|llSetVehicleRotationParam|llSetVehicleType|" +
327
+ "llSetVehicleVectorParam|llSetVelocity|llSHA1String|llShout|llSin|llSitTarget|" +
328
+ "llSleep|llSqrt|llStartAnimation|llStopAnimation|llStopHover|llStopLookAt|" +
329
+ "llStopMoveToTarget|llStopSound|llStringLength|llStringToBase64|llStringTrim|" +
330
+ "llSubStringIndex|llTakeControls|llTan|llTarget|llTargetOmega|llTargetRemove|" +
331
+ "llTeleportAgent|llTeleportAgentGlobalCoords|llTeleportAgentHome|llTextBox|" +
332
+ "llToLower|llToUpper|llTransferLindenDollars|llTriggerSound|llTriggerSoundLimited|" +
333
+ "llUnescapeURL|llUnSit|llUpdateCharacter|llVecDist|llVecMag|llVecNorm|" +
334
+ "llVolumeDetect|llWanderWithin|llWater|llWhisper|llWind|llXorBase64StringsCorrect",
335
+ "support.function.event" : "at_rot_target|at_target|attach|changed|collision|" +
336
+ "collision_end|collision_start|control|dataserver|email|http_request|" +
337
+ "http_response|land_collision|land_collision_end|land_collision_start|" +
338
+ "link_message|listen|money|moving_end|moving_start|no_sensor|not_at_rot_target|" +
339
+ "not_at_target|object_rez|on_rez|path_update|remote_data|run_time_permissions|" +
340
+ "sensor|state_entry|state_exit|timer|touch|touch_end|touch_start|transaction_result"
341
+ }, "identifier");
342
+
343
+ this.$rules = {
344
+ "start" : [
345
+ {
346
+ token : "comment.line",
347
+ regex : "\\/\\/.*$"
348
+ }, {
349
+ token : "comment.block",
350
+ regex : "\\/\\*",
351
+ next : "comment"
352
+ }, {
353
+ token : "string.double",
354
+ regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
355
+ }, {
356
+ token : "string.double",
357
+ regex : '["].*$',
358
+ next : "qqstring"
359
+ }, {
360
+ token : "constant.numeric",
361
+ regex : "0[xX][0-9a-fA-F]+\\b"
362
+ }, {
363
+ token : "constant.numeric",
364
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
365
+ }, {
366
+ token : keywordMapper,
367
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
368
+ }, {
369
+ token : "keyword.operator",
370
+ regex : "\\+\\+|\\-\\-|<<|>>|&&?|\\|\\|?|\\^|~|[!%<>=*+\\-\\/]=?"
371
+ }, {
372
+ token : "punctuation.operator",
373
+ regex : "\\?|\\:|\\,|\\;|\\."
374
+ }, {
375
+ token : "paren.lparen",
376
+ regex : "[\\[\\(\\{]"
377
+ }, {
378
+ token : "paren.rparen",
379
+ regex : "[\\]\\)\\}]"
380
+ }, {
381
+ token : "text",
382
+ regex : "\\s+"
383
+ }
384
+ ],
385
+ "comment" : [
386
+ {
387
+ token : "comment.block",
388
+ regex : ".*?\\*\\/",
389
+ next : "start"
390
+ }, {
391
+ token : "comment.block",
392
+ regex : ".+"
393
+ }
394
+ ],
395
+ "qqstring" : [
396
+ {
397
+ token : "string.double",
398
+ regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"',
399
+ next : "start"
400
+ }, {
401
+ token : "string.double",
402
+ regex : '.+'
403
+ }
404
+ ]
405
+ };
406
+ };
407
+
408
+ oop.inherits(lslHighlightRules, TextHighlightRules);
409
+
410
+ exports.lslHighlightRules = lslHighlightRules;
411
+ });
412
+
413
+ define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
414
+
415
+
416
+ var Range = require("../range").Range;
417
+
418
+ var MatchingBraceOutdent = function() {};
419
+
420
+ (function() {
421
+
422
+ this.checkOutdent = function(line, input) {
423
+ if (! /^\s+$/.test(line))
424
+ return false;
425
+
426
+ return /^\s*\}/.test(input);
427
+ };
428
+
429
+ this.autoOutdent = function(doc, row) {
430
+ var line = doc.getLine(row);
431
+ var match = line.match(/^(\s*\})/);
432
+
433
+ if (!match) return 0;
434
+
435
+ var column = match[1].length;
436
+ var openBracePos = doc.findMatchingBracket({row: row, column: column});
437
+
438
+ if (!openBracePos || openBracePos.row == row) return 0;
439
+
440
+ var indent = this.$getIndent(doc.getLine(openBracePos.row));
441
+ doc.replace(new Range(row, 0, row, column-1), indent);
442
+ };
443
+
444
+ this.$getIndent = function(line) {
445
+ return line.match(/^\s*/)[0];
446
+ };
447
+
448
+ }).call(MatchingBraceOutdent.prototype);
449
+
450
+ exports.MatchingBraceOutdent = MatchingBraceOutdent;
451
+ });
452
+
453
+ define('ace/mode/behaviour/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/behaviour', 'ace/token_iterator', 'ace/lib/lang'], function(require, exports, module) {
454
+
455
+
456
+ var oop = require("../../lib/oop");
457
+ var Behaviour = require("../behaviour").Behaviour;
458
+ var TokenIterator = require("../../token_iterator").TokenIterator;
459
+ var lang = require("../../lib/lang");
460
+
461
+ var SAFE_INSERT_IN_TOKENS =
462
+ ["text", "paren.rparen", "punctuation.operator"];
463
+ var SAFE_INSERT_BEFORE_TOKENS =
464
+ ["text", "paren.rparen", "punctuation.operator", "comment"];
465
+
466
+
467
+ var autoInsertedBrackets = 0;
468
+ var autoInsertedRow = -1;
469
+ var autoInsertedLineEnd = "";
470
+ var maybeInsertedBrackets = 0;
471
+ var maybeInsertedRow = -1;
472
+ var maybeInsertedLineStart = "";
473
+ var maybeInsertedLineEnd = "";
474
+
475
+ var CstyleBehaviour = function () {
476
+
477
+ CstyleBehaviour.isSaneInsertion = function(editor, session) {
478
+ var cursor = editor.getCursorPosition();
479
+ var iterator = new TokenIterator(session, cursor.row, cursor.column);
480
+ if (!this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS)) {
481
+ var iterator2 = new TokenIterator(session, cursor.row, cursor.column + 1);
482
+ if (!this.$matchTokenType(iterator2.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS))
483
+ return false;
484
+ }
485
+ iterator.stepForward();
486
+ return iterator.getCurrentTokenRow() !== cursor.row ||
487
+ this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_BEFORE_TOKENS);
488
+ };
489
+
490
+ CstyleBehaviour.$matchTokenType = function(token, types) {
491
+ return types.indexOf(token.type || token) > -1;
492
+ };
493
+
494
+ CstyleBehaviour.recordAutoInsert = function(editor, session, bracket) {
495
+ var cursor = editor.getCursorPosition();
496
+ var line = session.doc.getLine(cursor.row);
497
+ if (!this.isAutoInsertedClosing(cursor, line, autoInsertedLineEnd[0]))
498
+ autoInsertedBrackets = 0;
499
+ autoInsertedRow = cursor.row;
500
+ autoInsertedLineEnd = bracket + line.substr(cursor.column);
501
+ autoInsertedBrackets++;
502
+ };
503
+
504
+ CstyleBehaviour.recordMaybeInsert = function(editor, session, bracket) {
505
+ var cursor = editor.getCursorPosition();
506
+ var line = session.doc.getLine(cursor.row);
507
+ if (!this.isMaybeInsertedClosing(cursor, line))
508
+ maybeInsertedBrackets = 0;
509
+ maybeInsertedRow = cursor.row;
510
+ maybeInsertedLineStart = line.substr(0, cursor.column) + bracket;
511
+ maybeInsertedLineEnd = line.substr(cursor.column);
512
+ maybeInsertedBrackets++;
513
+ };
514
+
515
+ CstyleBehaviour.isAutoInsertedClosing = function(cursor, line, bracket) {
516
+ return autoInsertedBrackets > 0 &&
517
+ cursor.row === autoInsertedRow &&
518
+ bracket === autoInsertedLineEnd[0] &&
519
+ line.substr(cursor.column) === autoInsertedLineEnd;
520
+ };
521
+
522
+ CstyleBehaviour.isMaybeInsertedClosing = function(cursor, line) {
523
+ return maybeInsertedBrackets > 0 &&
524
+ cursor.row === maybeInsertedRow &&
525
+ line.substr(cursor.column) === maybeInsertedLineEnd &&
526
+ line.substr(0, cursor.column) == maybeInsertedLineStart;
527
+ };
528
+
529
+ CstyleBehaviour.popAutoInsertedClosing = function() {
530
+ autoInsertedLineEnd = autoInsertedLineEnd.substr(1);
531
+ autoInsertedBrackets--;
532
+ };
533
+
534
+ CstyleBehaviour.clearMaybeInsertedClosing = function() {
535
+ maybeInsertedBrackets = 0;
536
+ maybeInsertedRow = -1;
537
+ };
538
+
539
+ this.add("braces", "insertion", function (state, action, editor, session, text) {
540
+ var cursor = editor.getCursorPosition();
541
+ var line = session.doc.getLine(cursor.row);
542
+ if (text == '{') {
543
+ var selection = editor.getSelectionRange();
544
+ var selected = session.doc.getTextRange(selection);
545
+ if (selected !== "" && selected !== "{" && editor.getWrapBehavioursEnabled()) {
546
+ return {
547
+ text: '{' + selected + '}',
548
+ selection: false
549
+ };
550
+ } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
551
+ if (/[\]\}\)]/.test(line[cursor.column])) {
552
+ CstyleBehaviour.recordAutoInsert(editor, session, "}");
553
+ return {
554
+ text: '{}',
555
+ selection: [1, 1]
556
+ };
557
+ } else {
558
+ CstyleBehaviour.recordMaybeInsert(editor, session, "{");
559
+ return {
560
+ text: '{',
561
+ selection: [1, 1]
562
+ };
563
+ }
564
+ }
565
+ } else if (text == '}') {
566
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
567
+ if (rightChar == '}') {
568
+ var matching = session.$findOpeningBracket('}', {column: cursor.column + 1, row: cursor.row});
569
+ if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
570
+ CstyleBehaviour.popAutoInsertedClosing();
571
+ return {
572
+ text: '',
573
+ selection: [1, 1]
574
+ };
575
+ }
576
+ }
577
+ } else if (text == "\n" || text == "\r\n") {
578
+ var closing = "";
579
+ if (CstyleBehaviour.isMaybeInsertedClosing(cursor, line)) {
580
+ closing = lang.stringRepeat("}", maybeInsertedBrackets);
581
+ CstyleBehaviour.clearMaybeInsertedClosing();
582
+ }
583
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
584
+ if (rightChar == '}' || closing !== "") {
585
+ var openBracePos = session.findMatchingBracket({row: cursor.row, column: cursor.column}, '}');
586
+ if (!openBracePos)
587
+ return null;
588
+
589
+ var indent = this.getNextLineIndent(state, line.substring(0, cursor.column), session.getTabString());
590
+ var next_indent = this.$getIndent(line);
591
+
592
+ return {
593
+ text: '\n' + indent + '\n' + next_indent + closing,
594
+ selection: [1, indent.length, 1, indent.length]
595
+ };
596
+ }
597
+ }
598
+ });
599
+
600
+ this.add("braces", "deletion", function (state, action, editor, session, range) {
601
+ var selected = session.doc.getTextRange(range);
602
+ if (!range.isMultiLine() && selected == '{') {
603
+ var line = session.doc.getLine(range.start.row);
604
+ var rightChar = line.substring(range.end.column, range.end.column + 1);
605
+ if (rightChar == '}') {
606
+ range.end.column++;
607
+ return range;
608
+ } else {
609
+ maybeInsertedBrackets--;
610
+ }
611
+ }
612
+ });
613
+
614
+ this.add("parens", "insertion", function (state, action, editor, session, text) {
615
+ if (text == '(') {
616
+ var selection = editor.getSelectionRange();
617
+ var selected = session.doc.getTextRange(selection);
618
+ if (selected !== "" && editor.getWrapBehavioursEnabled()) {
619
+ return {
620
+ text: '(' + selected + ')',
621
+ selection: false
622
+ };
623
+ } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
624
+ CstyleBehaviour.recordAutoInsert(editor, session, ")");
625
+ return {
626
+ text: '()',
627
+ selection: [1, 1]
628
+ };
629
+ }
630
+ } else if (text == ')') {
631
+ var cursor = editor.getCursorPosition();
632
+ var line = session.doc.getLine(cursor.row);
633
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
634
+ if (rightChar == ')') {
635
+ var matching = session.$findOpeningBracket(')', {column: cursor.column + 1, row: cursor.row});
636
+ if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
637
+ CstyleBehaviour.popAutoInsertedClosing();
638
+ return {
639
+ text: '',
640
+ selection: [1, 1]
641
+ };
642
+ }
643
+ }
644
+ }
645
+ });
646
+
647
+ this.add("parens", "deletion", function (state, action, editor, session, range) {
648
+ var selected = session.doc.getTextRange(range);
649
+ if (!range.isMultiLine() && selected == '(') {
650
+ var line = session.doc.getLine(range.start.row);
651
+ var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
652
+ if (rightChar == ')') {
653
+ range.end.column++;
654
+ return range;
655
+ }
656
+ }
657
+ });
658
+
659
+ this.add("brackets", "insertion", function (state, action, editor, session, text) {
660
+ if (text == '[') {
661
+ var selection = editor.getSelectionRange();
662
+ var selected = session.doc.getTextRange(selection);
663
+ if (selected !== "" && editor.getWrapBehavioursEnabled()) {
664
+ return {
665
+ text: '[' + selected + ']',
666
+ selection: false
667
+ };
668
+ } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
669
+ CstyleBehaviour.recordAutoInsert(editor, session, "]");
670
+ return {
671
+ text: '[]',
672
+ selection: [1, 1]
673
+ };
674
+ }
675
+ } else if (text == ']') {
676
+ var cursor = editor.getCursorPosition();
677
+ var line = session.doc.getLine(cursor.row);
678
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
679
+ if (rightChar == ']') {
680
+ var matching = session.$findOpeningBracket(']', {column: cursor.column + 1, row: cursor.row});
681
+ if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
682
+ CstyleBehaviour.popAutoInsertedClosing();
683
+ return {
684
+ text: '',
685
+ selection: [1, 1]
686
+ };
687
+ }
688
+ }
689
+ }
690
+ });
691
+
692
+ this.add("brackets", "deletion", function (state, action, editor, session, range) {
693
+ var selected = session.doc.getTextRange(range);
694
+ if (!range.isMultiLine() && selected == '[') {
695
+ var line = session.doc.getLine(range.start.row);
696
+ var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
697
+ if (rightChar == ']') {
698
+ range.end.column++;
699
+ return range;
700
+ }
701
+ }
702
+ });
703
+
704
+ this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
705
+ if (text == '"' || text == "'") {
706
+ var quote = text;
707
+ var selection = editor.getSelectionRange();
708
+ var selected = session.doc.getTextRange(selection);
709
+ if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
710
+ return {
711
+ text: quote + selected + quote,
712
+ selection: false
713
+ };
714
+ } else {
715
+ var cursor = editor.getCursorPosition();
716
+ var line = session.doc.getLine(cursor.row);
717
+ var leftChar = line.substring(cursor.column-1, cursor.column);
718
+ if (leftChar == '\\') {
719
+ return null;
720
+ }
721
+ var tokens = session.getTokens(selection.start.row);
722
+ var col = 0, token;
723
+ var quotepos = -1; // Track whether we're inside an open quote.
724
+
725
+ for (var x = 0; x < tokens.length; x++) {
726
+ token = tokens[x];
727
+ if (token.type == "string") {
728
+ quotepos = -1;
729
+ } else if (quotepos < 0) {
730
+ quotepos = token.value.indexOf(quote);
731
+ }
732
+ if ((token.value.length + col) > selection.start.column) {
733
+ break;
734
+ }
735
+ col += tokens[x].value.length;
736
+ }
737
+ if (!token || (quotepos < 0 && token.type !== "comment" && (token.type !== "string" || ((selection.start.column !== token.value.length+col-1) && token.value.lastIndexOf(quote) === token.value.length-1)))) {
738
+ if (!CstyleBehaviour.isSaneInsertion(editor, session))
739
+ return;
740
+ return {
741
+ text: quote + quote,
742
+ selection: [1,1]
743
+ };
744
+ } else if (token && token.type === "string") {
745
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
746
+ if (rightChar == quote) {
747
+ return {
748
+ text: '',
749
+ selection: [1, 1]
750
+ };
751
+ }
752
+ }
753
+ }
754
+ }
755
+ });
756
+
757
+ this.add("string_dquotes", "deletion", function (state, action, editor, session, range) {
758
+ var selected = session.doc.getTextRange(range);
759
+ if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
760
+ var line = session.doc.getLine(range.start.row);
761
+ var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
762
+ if (rightChar == selected) {
763
+ range.end.column++;
764
+ return range;
765
+ }
766
+ }
767
+ });
768
+
769
+ };
770
+
771
+ oop.inherits(CstyleBehaviour, Behaviour);
772
+
773
+ exports.CstyleBehaviour = CstyleBehaviour;
774
+ });
775
+
776
+ define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
777
+
778
+
779
+ var oop = require("../../lib/oop");
780
+ var Range = require("../../range").Range;
781
+ var BaseFoldMode = require("./fold_mode").FoldMode;
782
+
783
+ var FoldMode = exports.FoldMode = function(commentRegex) {
784
+ if (commentRegex) {
785
+ this.foldingStartMarker = new RegExp(
786
+ this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
787
+ );
788
+ this.foldingStopMarker = new RegExp(
789
+ this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
790
+ );
791
+ }
792
+ };
793
+ oop.inherits(FoldMode, BaseFoldMode);
794
+
795
+ (function() {
796
+
797
+ this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
798
+ this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
799
+
800
+ this.getFoldWidgetRange = function(session, foldStyle, row) {
801
+ var line = session.getLine(row);
802
+ var match = line.match(this.foldingStartMarker);
803
+ if (match) {
804
+ var i = match.index;
805
+
806
+ if (match[1])
807
+ return this.openingBracketBlock(session, match[1], row, i);
808
+
809
+ return session.getCommentFoldRange(row, i + match[0].length, 1);
810
+ }
811
+
812
+ if (foldStyle !== "markbeginend")
813
+ return;
814
+
815
+ var match = line.match(this.foldingStopMarker);
816
+ if (match) {
817
+ var i = match.index + match[0].length;
818
+
819
+ if (match[1])
820
+ return this.closingBracketBlock(session, match[1], row, i);
821
+
822
+ return session.getCommentFoldRange(row, i, -1);
823
+ }
824
+ };
825
+
826
+ }).call(FoldMode.prototype);
827
+
828
+ });