Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/code/org.eclipse.fx.code.editor.langs.codegen.fx/src/org/eclipse/fx/code/editor/langs/codegen/fx/lua/LuaPartitioner.java')
-rw-r--r--bundles/code/org.eclipse.fx.code.editor.langs.codegen.fx/src/org/eclipse/fx/code/editor/langs/codegen/fx/lua/LuaPartitioner.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/code/org.eclipse.fx.code.editor.langs.codegen.fx/src/org/eclipse/fx/code/editor/langs/codegen/fx/lua/LuaPartitioner.java b/bundles/code/org.eclipse.fx.code.editor.langs.codegen.fx/src/org/eclipse/fx/code/editor/langs/codegen/fx/lua/LuaPartitioner.java
new file mode 100644
index 000000000..19ec267a7
--- /dev/null
+++ b/bundles/code/org.eclipse.fx.code.editor.langs.codegen.fx/src/org/eclipse/fx/code/editor/langs/codegen/fx/lua/LuaPartitioner.java
@@ -0,0 +1,9 @@
+package org.eclipse.fx.code.editor.langs.codegen.fx.lua;
+
+public class LuaPartitioner extends org.eclipse.jface.text.rules.FastPartitioner {
+ public LuaPartitioner() {
+ super(new LuaPartitionScanner(), new String[] {
+ "__lua_single_line_comment","__lua_multi_line_comment","__lua_string"
+ });
+ }
+}

Back to the top