mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Simplify project structure (wip), editor keymap, UI tweaks
This commit is contained in:
parent
3b7cff6ac7
commit
21a391e077
@ -28,7 +28,7 @@ public class ObjectDeathListener implements GameEventListener {
|
||||
@Override
|
||||
public void handle(GameEvent event) {
|
||||
|
||||
if (event.getSource().getClass().getCanonicalName().equals("net.simon987.mar.npcplugin.HarvesterNPC")) {
|
||||
if (event.getSource().getClass().getCanonicalName().equals("net.simon987.mar.npc.HarvesterNPC")) {
|
||||
//An HarvesterNPC ObjectDeathEvent is received
|
||||
GameObject dyingHarvesterNPC = (GameObject) event.getSource();
|
||||
|
||||
|
@ -50,12 +50,12 @@ public class WorldUpdateListener implements GameEventListener {
|
||||
|
||||
//Set a timer for respawn_time ticks
|
||||
if (!worldWaitMap.containsKey(world) || worldWaitMap.get(world) == 0L) {
|
||||
worldWaitMap.put(world, GameServer.INSTANCE.getGameUniverse().getTime() + waitTime);
|
||||
worldWaitMap.put(world, GameServer.INSTANCE.getUniverse().getTime() + waitTime);
|
||||
} else {
|
||||
|
||||
long waitUntil = worldWaitMap.get(world);
|
||||
|
||||
if (GameServer.INSTANCE.getGameUniverse().getTime() >= waitUntil) {
|
||||
if (GameServer.INSTANCE.getUniverse().getTime() >= waitUntil) {
|
||||
|
||||
//If the timer was set less than respawn_time ticks ago, respawn the blobs
|
||||
ArrayList<BiomassBlob> newBlobs = WorldUtils.generateBlobs(world, minBlobCount,
|
||||
|
@ -288,7 +288,7 @@ public class Cubot extends GameObject implements Updatable, ControllableUnit, Me
|
||||
int spawnX = config.getInt("new_user_worldX") + random.nextInt(5);
|
||||
int spawnY = config.getInt("new_user_worldY") + random.nextInt(5);
|
||||
String dimension = config.getString("new_user_dimension");
|
||||
this.setWorld(GameServer.INSTANCE.getGameUniverse().getWorld(spawnX, spawnY, true, dimension));
|
||||
this.setWorld(GameServer.INSTANCE.getUniverse().getWorld(spawnX, spawnY, true, dimension));
|
||||
|
||||
Point point = this.getWorld().getRandomPassableTile();
|
||||
this.setX(point.x);
|
||||
|
@ -23,7 +23,7 @@ public class ChargeShieldCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("chargeShield")) {
|
||||
|
||||
GameObject cubot = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject cubot = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (cubot != null) {
|
||||
|
||||
|
@ -22,7 +22,7 @@ public class PopItemCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("clearItem")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class PutItemCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("putItem")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -22,7 +22,7 @@ public class SetInventoryPosition implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("setInventoryPosition")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class UserCreationListener implements GameEventListener {
|
||||
int spawnX = config.getInt("new_user_worldX") + random.nextInt(5);
|
||||
int spawnY = config.getInt("new_user_worldY") + random.nextInt(5);
|
||||
String dimension = config.getString("new_user_dimension");
|
||||
cubot.setWorld(GameServer.INSTANCE.getGameUniverse().getWorld(spawnX, spawnY, true, dimension));
|
||||
cubot.setWorld(GameServer.INSTANCE.getUniverse().getWorld(spawnX, spawnY, true, dimension));
|
||||
|
||||
point = cubot.getWorld().getRandomPassableTile();
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ public class Clock extends HardwareModule {
|
||||
@Override
|
||||
public void handleInterrupt(Status status) {
|
||||
|
||||
int time = (int) GameServer.INSTANCE.getGameUniverse().getTime();
|
||||
int time = (int) GameServer.INSTANCE.getUniverse().getTime();
|
||||
|
||||
//Will need to be changed to quadword in about 136 years
|
||||
getCpu().getRegisterSet().getRegister("B").setValue(Util.getHigherWord(time));
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.assembly.Util;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.objects.Action;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.objects.MessageReceiver;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.assembly.*;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
|
||||
import net.simon987.mar.server.assembly.Util;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.event.ObjectDeathEvent;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
|
||||
public abstract class NPCTask {
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.assembly.Util;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.assembly.HardwareModule;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.assembly.HardwareModule;
|
18
src/main/java/net/simon987/mar/npc/NpcPlugin.java
Normal file
18
src/main/java/net/simon987/mar/npc/NpcPlugin.java
Normal file
@ -0,0 +1,18 @@
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import org.bson.Document;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
public class NpcPlugin {
|
||||
|
||||
public static Map<String, Settlement> settlementMap = new ConcurrentHashMap<>();
|
||||
|
||||
public static Document DEFAULT_HACKED_NPC;
|
||||
|
||||
public void init(GameServer gameServer) {
|
||||
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.game.objects.Attackable;
|
||||
import net.simon987.mar.server.game.objects.GameObject;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.objects.Enterable;
|
||||
@ -45,7 +45,7 @@ public class Portal extends Structure implements Enterable {
|
||||
@Override
|
||||
public boolean enter(GameObject object) {
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(destination.worldX, destination.worldY, false, destination.dimension);
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(destination.worldX, destination.worldY, false, destination.dimension);
|
||||
|
||||
if (object instanceof Updatable) {
|
||||
object.getWorld().decUpdatable();
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.assembly.HardwareModule;
|
||||
import net.simon987.mar.server.assembly.Status;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.objects.MessageReceiver;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.world.TilePlain;
|
||||
@ -26,24 +26,24 @@ public class Settlement implements MongoSerializable {
|
||||
|
||||
public Settlement(Document document) {
|
||||
|
||||
world = GameServer.INSTANCE.getGameUniverse().getWorld(document.getString("world"), false);
|
||||
world = GameServer.INSTANCE.getUniverse().getWorld(document.getString("world"), false);
|
||||
ObjectId radioTowerId = document.getObjectId("radio_tower");
|
||||
if (radioTowerId != null) {
|
||||
radioTower = (RadioTower) GameServer.INSTANCE.getGameUniverse().getObject(radioTowerId);
|
||||
radioTower = (RadioTower) GameServer.INSTANCE.getUniverse().getObject(radioTowerId);
|
||||
}
|
||||
ObjectId vaultDoorId = document.getObjectId("vault_door");
|
||||
if (vaultDoorId != null) {
|
||||
vaultDoor = (VaultDoor) GameServer.INSTANCE.getGameUniverse().getObject(vaultDoorId);
|
||||
vaultDoor = (VaultDoor) GameServer.INSTANCE.getUniverse().getObject(vaultDoorId);
|
||||
}
|
||||
ObjectId factoryId = document.getObjectId("factory");
|
||||
factory = (Factory) GameServer.INSTANCE.getGameUniverse().getObject(factoryId);
|
||||
factory = (Factory) GameServer.INSTANCE.getUniverse().getObject(factoryId);
|
||||
|
||||
difficultyLevel = DifficultyLevel.values()[document.getInteger("difficulty_level")];
|
||||
|
||||
Object[] npcArray = ((ArrayList) document.get("npcs")).toArray();
|
||||
for (Object id : npcArray) {
|
||||
|
||||
NonPlayerCharacter npc = (NonPlayerCharacter) GameServer.INSTANCE.getGameUniverse().getObject((ObjectId) id);
|
||||
NonPlayerCharacter npc = (NonPlayerCharacter) GameServer.INSTANCE.getUniverse().getObject((ObjectId) id);
|
||||
|
||||
if (npc != null) {
|
||||
addNpc(npc);
|
@ -1,6 +1,6 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.npcplugin.world.TileVaultFloor;
|
||||
import net.simon987.mar.npc.world.TileVaultFloor;
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.IServerConfiguration;
|
||||
import net.simon987.mar.server.game.objects.Direction;
|
||||
@ -113,7 +113,7 @@ public class VaultDimension {
|
||||
|
||||
for (WorldBluePrint bp : layer) {
|
||||
World vWorld = generator.generateVaultWorld(bp.coords.x, bp.coords.y, bp.openings, name);
|
||||
GameServer.INSTANCE.getGameUniverse().addWorld(vWorld);
|
||||
GameServer.INSTANCE.getUniverse().addWorld(vWorld);
|
||||
|
||||
ArrayList<ElectricBox> newBoxes = VaultWorldUtils.generateElectricBoxes(vWorld, minElectricBoxCount,
|
||||
maxElectricBoxCount);
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.game.objects.*;
|
||||
@ -135,7 +135,7 @@ public class VaultDoor extends Structure implements MessageReceiver, Enterable,
|
||||
@Override
|
||||
public void initialize() {
|
||||
//Get or generate vault world
|
||||
homeWorld = GameServer.INSTANCE.getGameUniverse().getWorld(0x7FFF, 0x7FFF,
|
||||
homeWorld = GameServer.INSTANCE.getUniverse().getWorld(0x7FFF, 0x7FFF,
|
||||
false, "v" + getObjectId() + "-");
|
||||
|
||||
if (homeWorld == null) {
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.game.objects.GameObject;
|
||||
import net.simon987.mar.server.game.world.Location;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.server.game.objects.Direction;
|
||||
import net.simon987.mar.server.game.world.TileMap;
|
@ -1,6 +1,6 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
package net.simon987.mar.npc;
|
||||
|
||||
import net.simon987.mar.npcplugin.world.TileVaultFloor;
|
||||
import net.simon987.mar.npc.world.TileVaultFloor;
|
||||
import net.simon987.mar.server.game.world.TileMap;
|
||||
import net.simon987.mar.server.game.world.World;
|
||||
import org.bson.types.ObjectId;
|
@ -0,0 +1,26 @@
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npc.NpcPlugin;
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.event.BeforeSaveEvent;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.event.GameEventListener;
|
||||
import org.bson.Document;
|
||||
|
||||
public class BeforeSaveListener implements GameEventListener {
|
||||
|
||||
@Override
|
||||
public Class getListenedEventType() {
|
||||
return BeforeSaveEvent.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(GameEvent event) {
|
||||
Document settlements = new Document();
|
||||
for (String world : NpcPlugin.settlementMap.keySet()) {
|
||||
settlements.put(world, NpcPlugin.settlementMap.get(world).mongoSerialise());
|
||||
}
|
||||
|
||||
GameServer.INSTANCE.getUniverse().store.put("settlement_map", settlements);
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
package net.simon987.mar.npcplugin.event;
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npcplugin.RadioReceiverHardware;
|
||||
import net.simon987.mar.npc.RadioReceiverHardware;
|
||||
import net.simon987.mar.server.assembly.CPU;
|
||||
import net.simon987.mar.server.event.CpuInitialisationEvent;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
43
src/main/java/net/simon987/mar/npc/event/LoadListener.java
Normal file
43
src/main/java/net/simon987/mar/npc/event/LoadListener.java
Normal file
@ -0,0 +1,43 @@
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npc.NpcPlugin;
|
||||
import net.simon987.mar.npc.Settlement;
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.event.GameEventListener;
|
||||
import net.simon987.mar.server.event.LoadEvent;
|
||||
import org.bson.Document;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class LoadListener implements GameEventListener {
|
||||
|
||||
@Override
|
||||
public Class getListenedEventType() {
|
||||
return LoadEvent.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(GameEvent event) {
|
||||
Document settlements = GameServer.INSTANCE.getUniverse().store.get("settlement_map");
|
||||
if (settlements == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (String world : settlements.keySet()) {
|
||||
NpcPlugin.settlementMap.put(world, new Settlement((Document) settlements.get(world)));
|
||||
}
|
||||
|
||||
try {
|
||||
InputStream is = new FileInputStream("defaultHackedCubotHardware.json");
|
||||
Scanner scanner = new Scanner(is).useDelimiter("\\A");
|
||||
String json = scanner.next();
|
||||
NpcPlugin.DEFAULT_HACKED_NPC = Document.parse(json);
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
package net.simon987.mar.npcplugin.event;
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npcplugin.VaultExitPortal;
|
||||
import net.simon987.mar.npc.VaultExitPortal;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.game.objects.GameObject;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin.event;
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.event.GameEventListener;
|
@ -1,7 +1,7 @@
|
||||
package net.simon987.mar.npcplugin.event;
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npcplugin.ElectricBox;
|
||||
import net.simon987.mar.npcplugin.VaultWorldUtils;
|
||||
import net.simon987.mar.npc.ElectricBox;
|
||||
import net.simon987.mar.npc.VaultWorldUtils;
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import net.simon987.mar.server.IServerConfiguration;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
@ -61,12 +61,12 @@ public class VaultWorldUpdateListener implements GameEventListener {
|
||||
|
||||
//Set a timer for respawn_time ticks
|
||||
if (!worldWaitMap.containsKey(world) || worldWaitMap.get(world) == 0L) {
|
||||
worldWaitMap.put(world, GameServer.INSTANCE.getGameUniverse().getTime() + waitTime);
|
||||
worldWaitMap.put(world, GameServer.INSTANCE.getUniverse().getTime() + waitTime);
|
||||
} else {
|
||||
|
||||
long waitUntil = worldWaitMap.get(world);
|
||||
|
||||
if (GameServer.INSTANCE.getGameUniverse().getTime() >= waitUntil) {
|
||||
if (GameServer.INSTANCE.getUniverse().getTime() >= waitUntil) {
|
||||
|
||||
//If the timer was set less than respawn_time ticks ago, respawn the blobs
|
||||
ArrayList<ElectricBox> newBoxes = VaultWorldUtils.generateElectricBoxes(world, minElectricBoxCount,
|
@ -1,7 +1,7 @@
|
||||
package net.simon987.mar.npcplugin.event;
|
||||
package net.simon987.mar.npc.event;
|
||||
|
||||
import net.simon987.mar.npcplugin.NpcPlugin;
|
||||
import net.simon987.mar.npcplugin.Settlement;
|
||||
import net.simon987.mar.npc.NpcPlugin;
|
||||
import net.simon987.mar.npc.Settlement;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.event.GameEventListener;
|
||||
import net.simon987.mar.server.event.WorldGenerationEvent;
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin.world;
|
||||
package net.simon987.mar.npc.world;
|
||||
|
||||
import net.simon987.mar.server.game.world.Tile;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.simon987.mar.npcplugin.world;
|
||||
package net.simon987.mar.npc.world;
|
||||
|
||||
import net.simon987.mar.server.game.objects.GameObject;
|
||||
import net.simon987.mar.server.game.world.Tile;
|
@ -1,27 +0,0 @@
|
||||
package net.simon987.mar.npcplugin;
|
||||
|
||||
import net.simon987.mar.server.GameServer;
|
||||
import org.bson.Document;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
public class NpcPlugin {
|
||||
|
||||
public static Map<String, Settlement> settlementMap;
|
||||
|
||||
public static Document DEFAULT_HACKED_NPC;
|
||||
|
||||
public void init(GameServer gameServer) {
|
||||
// TODO: save this in GameUniverse.store
|
||||
settlementMap = new ConcurrentHashMap<>();
|
||||
|
||||
// TODO: load from file relpath
|
||||
InputStream is = getClass().getClassLoader().getResourceAsStream("defaultHackedCubotHardware.json");
|
||||
Scanner scanner = new Scanner(is).useDelimiter("\\A");
|
||||
String json = scanner.next();
|
||||
DEFAULT_HACKED_NPC = Document.parse(json);
|
||||
}
|
||||
}
|
@ -15,17 +15,16 @@ import net.simon987.mar.cubot.*;
|
||||
import net.simon987.mar.cubot.event.*;
|
||||
import net.simon987.mar.mischwplugin.Clock;
|
||||
import net.simon987.mar.mischwplugin.RandomNumberGenerator;
|
||||
import net.simon987.mar.npcplugin.*;
|
||||
import net.simon987.mar.npcplugin.event.VaultCompleteListener;
|
||||
import net.simon987.mar.npcplugin.event.VaultWorldUpdateListener;
|
||||
import net.simon987.mar.npcplugin.world.TileVaultFloor;
|
||||
import net.simon987.mar.npcplugin.world.TileVaultWall;
|
||||
import net.simon987.mar.npc.*;
|
||||
import net.simon987.mar.npc.event.BeforeSaveListener;
|
||||
import net.simon987.mar.npc.event.LoadListener;
|
||||
import net.simon987.mar.npc.event.VaultCompleteListener;
|
||||
import net.simon987.mar.npc.event.VaultWorldUpdateListener;
|
||||
import net.simon987.mar.npc.world.TileVaultFloor;
|
||||
import net.simon987.mar.npc.world.TileVaultWall;
|
||||
import net.simon987.mar.server.crypto.CryptoProvider;
|
||||
import net.simon987.mar.server.crypto.SecretKeyGenerator;
|
||||
import net.simon987.mar.server.event.GameEvent;
|
||||
import net.simon987.mar.server.event.GameEventDispatcher;
|
||||
import net.simon987.mar.server.event.GameEventListener;
|
||||
import net.simon987.mar.server.event.TickEvent;
|
||||
import net.simon987.mar.server.event.*;
|
||||
import net.simon987.mar.server.game.GameUniverse;
|
||||
import net.simon987.mar.server.game.debug.*;
|
||||
import net.simon987.mar.server.game.item.ItemCopper;
|
||||
@ -41,6 +40,7 @@ import org.bson.Document;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class GameServer implements Runnable {
|
||||
|
||||
@ -128,7 +128,6 @@ public class GameServer implements Runnable {
|
||||
listeners.add(new SetEnergyCommandListener());
|
||||
listeners.add(new SaveGameCommandListener());
|
||||
|
||||
|
||||
// Biomass
|
||||
listeners.add(new WorldCreationListener());
|
||||
listeners.add(new WorldUpdateListener(config));
|
||||
@ -147,12 +146,12 @@ public class GameServer implements Runnable {
|
||||
listeners.add(new WalkListener());
|
||||
|
||||
// NPC
|
||||
|
||||
listeners.add(new net.simon987.mar.npcplugin.event.WorldCreationListener(config.getInt("settlement_spawn_rate")));
|
||||
listeners.add(new net.simon987.mar.npcplugin.event.CpuInitialisationListener());
|
||||
listeners.add(new net.simon987.mar.npc.event.WorldCreationListener(config.getInt("settlement_spawn_rate")));
|
||||
listeners.add(new net.simon987.mar.npc.event.CpuInitialisationListener());
|
||||
listeners.add(new VaultWorldUpdateListener(config));
|
||||
listeners.add(new VaultCompleteListener());
|
||||
|
||||
listeners.add(new LoadListener());
|
||||
listeners.add(new BeforeSaveListener());
|
||||
}
|
||||
|
||||
private void registerGameObjects() {
|
||||
@ -199,7 +198,7 @@ public class GameServer implements Runnable {
|
||||
gameRegistry.registerGameObject(Factory.class);
|
||||
gameRegistry.registerGameObject(RadioTower.class);
|
||||
gameRegistry.registerGameObject(VaultDoor.class);
|
||||
gameRegistry.registerGameObject(net.simon987.mar.npcplugin.Obstacle.class);
|
||||
gameRegistry.registerGameObject(net.simon987.mar.npc.Obstacle.class);
|
||||
gameRegistry.registerGameObject(ElectricBox.class);
|
||||
gameRegistry.registerGameObject(Portal.class);
|
||||
gameRegistry.registerGameObject(VaultExitPortal.class);
|
||||
@ -213,7 +212,7 @@ public class GameServer implements Runnable {
|
||||
gameRegistry.registerTile(TileVaultWall.ID, TileVaultWall.class);
|
||||
}
|
||||
|
||||
public GameUniverse getGameUniverse() {
|
||||
public GameUniverse getUniverse() {
|
||||
return gameUniverse;
|
||||
}
|
||||
|
||||
@ -308,7 +307,7 @@ public class GameServer implements Runnable {
|
||||
Document whereQuery = new Document();
|
||||
whereQuery.put("shouldUpdate", true);
|
||||
MongoCursor<Document> cursor = worlds.find(whereQuery).iterator();
|
||||
GameUniverse universe = GameServer.INSTANCE.getGameUniverse();
|
||||
GameUniverse universe = GameServer.INSTANCE.getUniverse();
|
||||
while (cursor.hasNext()) {
|
||||
World w = World.deserialize(cursor.next());
|
||||
universe.addWorld(w);
|
||||
@ -326,16 +325,20 @@ public class GameServer implements Runnable {
|
||||
Document serverObj = cursor.next();
|
||||
gameUniverse.setTime((long) serverObj.get("time"));
|
||||
|
||||
// TODO: load gameUniverse.store data
|
||||
gameUniverse.store = (Map<String, Document>) serverObj.get("store");
|
||||
}
|
||||
|
||||
LogManager.LOGGER.info("Done loading! W:" + GameServer.INSTANCE.getGameUniverse().getWorldCount() +
|
||||
" | U:" + GameServer.INSTANCE.getGameUniverse().getUserCount());
|
||||
eventDispatcher.dispatch(new LoadEvent());
|
||||
|
||||
LogManager.LOGGER.info("Done loading! W:" + GameServer.INSTANCE.getUniverse().getWorldCount() +
|
||||
" | U:" + GameServer.INSTANCE.getUniverse().getUserCount());
|
||||
}
|
||||
|
||||
public void save() {
|
||||
|
||||
LogManager.LOGGER.info("Saving to MongoDB | W:" + gameUniverse.getWorldCount() + " | U:" + gameUniverse.getUserCount());
|
||||
LogManager.LOGGER.info("Saving to MongoDB | W:" + gameUniverse.getWorldCount() + " | U:" + gameUniverse.getUserCount());
|
||||
|
||||
eventDispatcher.dispatch(new BeforeSaveEvent());
|
||||
|
||||
ClientSession session = null;
|
||||
try {
|
||||
@ -358,7 +361,7 @@ public class GameServer implements Runnable {
|
||||
MongoCollection<Document> server = db.getCollection("server");
|
||||
|
||||
int insertedWorlds = 0;
|
||||
GameUniverse universe = GameServer.INSTANCE.getGameUniverse();
|
||||
GameUniverse universe = GameServer.INSTANCE.getUniverse();
|
||||
for (World w : universe.getWorlds()) {
|
||||
insertedWorlds++;
|
||||
worlds.replaceOne(new Document("_id", w.getId()), w.mongoSerialise(), updateOptions);
|
||||
@ -370,7 +373,7 @@ public class GameServer implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
for (User u : GameServer.INSTANCE.getGameUniverse().getUsers()) {
|
||||
for (User u : GameServer.INSTANCE.getUniverse().getUsers()) {
|
||||
if (!u.isGuest()) {
|
||||
users.replaceOne(new Document("_id", u.getUsername()), u.mongoSerialise(), updateOptions);
|
||||
}
|
||||
@ -378,6 +381,7 @@ public class GameServer implements Runnable {
|
||||
|
||||
Document serverObj = new Document();
|
||||
serverObj.put("time", gameUniverse.getTime());
|
||||
serverObj.put("store", gameUniverse.store);
|
||||
|
||||
//A constant id ensures only one entry is kept and updated, instead of a new entry created every save.
|
||||
server.replaceOne(new Document("_id", "serverinfo"), serverObj, updateOptions);
|
||||
|
@ -0,0 +1,4 @@
|
||||
package net.simon987.mar.server.event;
|
||||
|
||||
public class BeforeSaveEvent extends GameEvent {
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package net.simon987.mar.server.event;
|
||||
|
||||
public class LoadEvent extends GameEvent {
|
||||
|
||||
}
|
@ -32,7 +32,7 @@ public class GameUniverse {
|
||||
|
||||
private final int maxWidth = 0xFFFF;
|
||||
|
||||
private final Map<String, Document> store;
|
||||
public Map<String, Document> store;
|
||||
|
||||
public GameUniverse(IServerConfiguration config) {
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class ComPortMsgCommandListener implements GameEventListener {
|
||||
|
||||
ObjectId objectId = e.getObjectId("objectId");
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(objectId);
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(objectId);
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -20,7 +20,7 @@ public class CreateWorldCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("createWorld")) {
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
true, e.getString("dimension"));
|
||||
|
||||
if (world != null) {
|
||||
|
@ -22,7 +22,7 @@ public class DamageObjCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("damageObj")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -22,7 +22,7 @@ public class HealObjCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("healObj")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class KillAllCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("killAll")) {
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
false, e.getString("dimension"));
|
||||
|
||||
try {
|
||||
|
@ -20,7 +20,7 @@ public class MoveObjCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("moveObj")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class ObjInfoCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("objInfo")) {
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
false, e.getString("dimension"));
|
||||
|
||||
try {
|
||||
|
@ -21,7 +21,7 @@ public class SetEnergyCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("setEnergy")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
|
||||
if (object != null) {
|
||||
|
||||
|
@ -20,7 +20,7 @@ public class SetTileAtCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("setTileAt")) {
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
false, e.getString("dimension"));
|
||||
|
||||
if (world != null) {
|
||||
|
@ -25,7 +25,7 @@ public class SpawnObjCommandListener implements GameEventListener {
|
||||
if (e.getName().equals("spawnObj")) {
|
||||
|
||||
try {
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
false, e.getString("dimension"));
|
||||
|
||||
Document dbObj = Document.parse(e.getString("data"));
|
||||
|
@ -23,8 +23,8 @@ public class TpObjectCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("tpObj")) {
|
||||
|
||||
GameObject object = GameServer.INSTANCE.getGameUniverse().getObject(e.getObjectId("objectId"));
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
GameObject object = GameServer.INSTANCE.getUniverse().getObject(e.getObjectId("objectId"));
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(e.getInt("worldX"), e.getInt("worldY"),
|
||||
false, e.getString("dimension"));
|
||||
|
||||
if (object != null) {
|
||||
|
@ -21,7 +21,7 @@ public class UserInfoCommandListener implements GameEventListener {
|
||||
|
||||
if (e.getName().equals("userInfo")) {
|
||||
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getUser(e.getString("username"));
|
||||
User user = GameServer.INSTANCE.getUniverse().getUser(e.getString("username"));
|
||||
|
||||
if (user != null) {
|
||||
|
||||
|
@ -65,7 +65,7 @@ public abstract class GameObject implements JSONSerializable, MongoSerializable
|
||||
|
||||
if (newX < 0 || newY < 0 || newX >= world.getWorldSize() || newY >= world.getWorldSize()) {
|
||||
//Next tile is out of world bounds, move to next world
|
||||
World nextWorld = GameServer.INSTANCE.getGameUniverse().getWorld(
|
||||
World nextWorld = GameServer.INSTANCE.getUniverse().getWorld(
|
||||
world.getX() + direction.dX, world.getY() + direction.dY, true, world.getDimension());
|
||||
|
||||
//Move object to next World
|
||||
|
@ -55,7 +55,7 @@ public class User implements MongoSerializable {
|
||||
|
||||
public static User deserialize(Document obj) throws CancelledException {
|
||||
|
||||
User user = new User((ControllableUnit) GameServer.INSTANCE.getGameUniverse().getObject(obj.getObjectId("controlledUnit")));
|
||||
User user = new User((ControllableUnit) GameServer.INSTANCE.getUniverse().getObject(obj.getObjectId("controlledUnit")));
|
||||
user.getControlledUnit().setParent(user);
|
||||
user.username = (String) obj.get("username");
|
||||
user.userCode = (String) obj.get("code");
|
||||
|
@ -63,7 +63,7 @@ public class UserManager {
|
||||
}
|
||||
|
||||
try {
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getOrCreateUser(username, true);
|
||||
User user = GameServer.INSTANCE.getUniverse().getOrCreateUser(username, true);
|
||||
user.setUsername(username);
|
||||
|
||||
String salt = BCrypt.gensalt();
|
||||
@ -106,7 +106,7 @@ public class UserManager {
|
||||
throw new RegistrationException("Password must be 8-96 characters");
|
||||
}
|
||||
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getUser(username);
|
||||
User user = GameServer.INSTANCE.getUniverse().getUser(username);
|
||||
|
||||
String salt = BCrypt.gensalt();
|
||||
String hashedPassword = BCrypt.hashpw(newPassword, salt);
|
||||
@ -123,7 +123,7 @@ public class UserManager {
|
||||
*/
|
||||
public String generateAndGetToken(String username) {
|
||||
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getUser(username);
|
||||
User user = GameServer.INSTANCE.getUniverse().getUser(username);
|
||||
|
||||
if (user == null) {
|
||||
return null;
|
||||
@ -146,7 +146,7 @@ public class UserManager {
|
||||
*/
|
||||
public User validateAuthToken(String token) {
|
||||
|
||||
for (User user : GameServer.INSTANCE.getGameUniverse().getUsers()) {
|
||||
for (User user : GameServer.INSTANCE.getUniverse().getUsers()) {
|
||||
|
||||
if (user.getAccessToken() != null && user.getAccessToken().equals(token)) {
|
||||
user.setAccessToken(""); //Token is erased when used
|
||||
|
@ -37,7 +37,7 @@ public class UserStatsHelper {
|
||||
Document orderBy = new Document("$stats." + statName, -1);
|
||||
|
||||
for (Document dbUser : users.find().sort(orderBy).limit(n)) {
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getUser((String) dbUser.get("username"));
|
||||
User user = GameServer.INSTANCE.getUniverse().getUser((String) dbUser.get("username"));
|
||||
int val = 0;
|
||||
if (user.getStats().getInt(statName) > 0) {
|
||||
val = user.getStats().getInt(statName);
|
||||
@ -96,7 +96,7 @@ public class UserStatsHelper {
|
||||
new Document("$sort", new Document("setLength", -1)),
|
||||
new Document("$limit", n))
|
||||
)) {
|
||||
User user = GameServer.INSTANCE.getGameUniverse().getUser((String) document.get("username"));
|
||||
User user = GameServer.INSTANCE.getUniverse().getUser((String) document.get("username"));
|
||||
rows.add(user);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ public class AccountPage implements TemplateViewRoute {
|
||||
|
||||
|
||||
if (request.session().attribute("username") != null) {
|
||||
model.put("user", GameServer.INSTANCE.getGameUniverse().getUser(request.session().attribute("username")));
|
||||
model.put("user", GameServer.INSTANCE.getUniverse().getUser(request.session().attribute("username")));
|
||||
}
|
||||
|
||||
return new ModelAndView(model, "account.vm");
|
||||
|
@ -19,7 +19,7 @@ public class FloppyDownloadRoute implements Route {
|
||||
response.header("Content-Disposition", "filename=\"floppy.bin\"");
|
||||
|
||||
try {
|
||||
return GameServer.INSTANCE.getGameUniverse().getUser(username).getControlledUnit().getFloppyData().getBytes();
|
||||
return GameServer.INSTANCE.getUniverse().getUser(username).getControlledUnit().getFloppyData().getBytes();
|
||||
} catch (Exception e) {
|
||||
String message = "Encountered exception while reading floppy data: " + e.getMessage();
|
||||
|
||||
|
@ -33,7 +33,7 @@ public class FloppyUploadRoute implements Route {
|
||||
if (bytesRead == 1474560) {
|
||||
|
||||
try {
|
||||
GameServer.INSTANCE.getGameUniverse().getUser(username).getControlledUnit().getFloppyData().setBytes(bytes);
|
||||
GameServer.INSTANCE.getUniverse().getUser(username).getControlledUnit().getFloppyData().setBytes(bytes);
|
||||
return "ok";
|
||||
} catch (Exception e) {
|
||||
String message = "Encountered exception while writing floppy data: " + e.getMessage();
|
||||
|
@ -16,8 +16,6 @@ public class PlayPage implements TemplateViewRoute {
|
||||
|
||||
String autoLogin = GameServer.INSTANCE.getConfig().getString("autologin");
|
||||
if (autoLogin != null && !autoLogin.equals("")) {
|
||||
AlertMessage[] messages = {new AlertMessage("Logged in as " + autoLogin, AlertType.SUCCESS)};
|
||||
request.session().attribute("messages", messages);
|
||||
request.session().attribute("username", autoLogin);
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class ObjectsRequestHandler implements MessageHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
World world = GameServer.INSTANCE.getGameUniverse().getWorld(x, y, false, dimension);
|
||||
World world = GameServer.INSTANCE.getUniverse().getWorld(x, y, false, dimension);
|
||||
|
||||
if (world != null) {
|
||||
|
||||
|
@ -31,11 +31,12 @@ public class SocketServer {
|
||||
private final GuestPolicy guestPolicy;
|
||||
|
||||
public SocketServer(GuestPolicy guestPolicy) {
|
||||
|
||||
this.guestPolicy = guestPolicy;
|
||||
|
||||
int createNew = GameServer.INSTANCE.getConfig().getInt("wg_createNewOnRequest");
|
||||
|
||||
messageDispatcher.addHandler(new UserInfoRequestHandler());
|
||||
messageDispatcher.addHandler(new TerrainRequestHandler());
|
||||
messageDispatcher.addHandler(new TerrainRequestHandler(createNew != 0));
|
||||
messageDispatcher.addHandler(new ObjectsRequestHandler());
|
||||
messageDispatcher.addHandler(new CodeUploadHandler());
|
||||
messageDispatcher.addHandler(new CodeRequestHandler());
|
||||
@ -96,7 +97,7 @@ public class SocketServer {
|
||||
}
|
||||
|
||||
private void doPostAuthGuest(Session session, OnlineUser onlineUser) {
|
||||
User guestUser = GameServer.INSTANCE.getGameUniverse().getOrCreateUser(GameServer.INSTANCE.getGameUniverse().getGuestUsername(), false);
|
||||
User guestUser = GameServer.INSTANCE.getUniverse().getOrCreateUser(GameServer.INSTANCE.getUniverse().getGuestUsername(), false);
|
||||
onlineUser.setUser(guestUser);
|
||||
onlineUser.setAuthenticated(true);
|
||||
onlineUser.getUser().setGuest(true);
|
||||
|
@ -9,6 +9,12 @@ import java.io.IOException;
|
||||
|
||||
public class TerrainRequestHandler implements MessageHandler {
|
||||
|
||||
private final boolean createNewOnRequest;
|
||||
|
||||
public TerrainRequestHandler(boolean createNewOnRequest) {
|
||||
this.createNewOnRequest = createNewOnRequest;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(OnlineUser user, JSONObject json) throws IOException {
|
||||
if (json.get("t").equals("terrain") && json.containsKey("x") && json.containsKey("y") &&
|
||||
@ -17,9 +23,10 @@ public class TerrainRequestHandler implements MessageHandler {
|
||||
LogManager.LOGGER.fine("Terrain request from " + user.getUser().getUsername());
|
||||
World world;
|
||||
try {
|
||||
world = GameServer.INSTANCE.getGameUniverse().getWorld(
|
||||
world = GameServer.INSTANCE.getUniverse().getWorld(
|
||||
Long.valueOf((long) json.get("x")).intValue(),
|
||||
Long.valueOf((long) json.get("y")).intValue(), false,
|
||||
Long.valueOf((long) json.get("y")).intValue(),
|
||||
createNewOnRequest,
|
||||
(String) json.get("dimension"));
|
||||
} catch (NullPointerException e) {
|
||||
LogManager.LOGGER.severe("FIXME: handle TerrainRequestHandler");
|
||||
|
@ -32,7 +32,7 @@ public class UserInfoRequestHandler implements MessageHandler {
|
||||
}
|
||||
|
||||
json.put("t", "userInfo");
|
||||
json.put("maxWidth", GameServer.INSTANCE.getGameUniverse().getMaxWidth());
|
||||
json.put("maxWidth", GameServer.INSTANCE.getUniverse().getMaxWidth());
|
||||
user.getWebSocket().getRemote().sendString(json.toJSONString());
|
||||
}
|
||||
}
|
||||
|
@ -39,6 +39,9 @@ wg_minCopperCount=0
|
||||
wg_maxCopperCount=2
|
||||
wg_fluidCenterPointMin=0
|
||||
wg_fluidCenterPointMax=2
|
||||
# Create new terrain when requested from the UI (Instead of displaying "uncharted world")
|
||||
wg_createNewOnRequest=0
|
||||
|
||||
#CPU
|
||||
tick_length=1000
|
||||
org_offset=512
|
||||
@ -51,7 +54,9 @@ new_user_worldY=32767
|
||||
new_user_dimension=w
|
||||
# Default user code
|
||||
new_user_code=; Welcome to Much Assembly required!\n\
|
||||
; You will find useful information on the game here: https://github.com/simon987/Much-Assembly-Required/wiki\n\
|
||||
; You can find useful information on the game here: https://github.com/simon987/Much-Assembly-Required/wiki\n\
|
||||
.data\n\
|
||||
\t; Data section\n\
|
||||
.text\n\
|
||||
\t; Write code here\n\
|
||||
\tbrk
|
||||
|
@ -1,28 +1,28 @@
|
||||
{
|
||||
"hardware": [
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotLeg",
|
||||
"type": "net.simon987.mar.cubot.CubotLeg",
|
||||
"address": 1
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotLaser",
|
||||
"type": "net.simon987.mar.cubot.CubotLaser",
|
||||
"address": 2
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotLidar",
|
||||
"type": "net.simon987.mar.cubot.CubotLidar",
|
||||
"address": 3
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotDrill",
|
||||
"type": "net.simon987.mar.cubot.CubotDrill",
|
||||
"address": 5
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.npcplugin.NpcInventory",
|
||||
"type": "net.simon987.mar.cubot.NpcInventory",
|
||||
"item": null,
|
||||
"address": 6
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.mischwplugin.RandomNumberGenerator",
|
||||
"type": "net.simon987.mar.mischwplugin.RandomNumberGenerator",
|
||||
"address": 7
|
||||
},
|
||||
{
|
||||
@ -30,7 +30,7 @@
|
||||
"address": 8
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotHologram",
|
||||
"type": "net.simon987.mar.cubot.CubotHologram",
|
||||
"color": 0,
|
||||
"value": 0,
|
||||
"string": "",
|
||||
@ -38,25 +38,25 @@
|
||||
"address": 9
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.npcplugin.NpcBattery",
|
||||
"type": "net.simon987.mar.npc.NpcBattery",
|
||||
"energy": 60000,
|
||||
"max_energy": 60000,
|
||||
"address": 262
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.npcplugin.RadioReceiverHardware",
|
||||
"type": "net.simon987.mar.npc.RadioReceiverHardware",
|
||||
"cubot": {
|
||||
"$oid": "5c1d43e40d3d2530aba636df"
|
||||
},
|
||||
"address": 12
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotComPort",
|
||||
"type": "net.simon987.mar.npc.CubotComPort",
|
||||
"address": 13
|
||||
},
|
||||
{
|
||||
"type": "net.simon987.cubotplugin.CubotCore",
|
||||
"type": "net.simon987.mar.npc.CubotCore",
|
||||
"address": 14
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
*, *:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
@ -221,6 +225,10 @@
|
||||
color: #aaadc7;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 1em;
|
||||
}
|
||||
@ -312,4 +320,4 @@
|
||||
-ms-animation: rotating 2s linear infinite;
|
||||
-o-animation: rotating 2s linear infinite;
|
||||
animation: rotating 2s linear infinite;
|
||||
}
|
||||
}
|
||||
|
26590
src/main/resources/static/js/ace/ace.js
vendored
26590
src/main/resources/static/js/ace/ace.js
vendored
File diff suppressed because one or more lines are too long
654
src/main/resources/static/js/ace/ext-searchbox.js
vendored
654
src/main/resources/static/js/ace/ext-searchbox.js
vendored
@ -1,511 +1,211 @@
|
||||
define("ace/ext/searchbox", ["require", "exports", "module", "ace/lib/dom", "ace/lib/lang", "ace/lib/event", "ace/keyboard/hash_handler", "ace/lib/keys"], function (require, exports, module) {
|
||||
ace.define("ace/ext/searchbox", ["require", "exports", "module", "ace/lib/dom", "ace/lib/lang", "ace/lib/event", "ace/keyboard/hash_handler", "ace/lib/keys"], function (e, t, n) {
|
||||
"use strict";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
var lang = require("../lib/lang");
|
||||
var event = require("../lib/event");
|
||||
var searchboxCss = "\
|
||||
.ace_search {\
|
||||
background-color: #ddd;\
|
||||
color: #666;\
|
||||
border: 1px solid #cbcbcb;\
|
||||
border-top: 0 none;\
|
||||
overflow: hidden;\
|
||||
margin: 0;\
|
||||
padding: 4px 6px 0 4px;\
|
||||
position: absolute;\
|
||||
top: 0;\
|
||||
z-index: 99;\
|
||||
white-space: normal;\
|
||||
}\
|
||||
.ace_search.left {\
|
||||
border-left: 0 none;\
|
||||
border-radius: 0px 0px 5px 0px;\
|
||||
left: 0;\
|
||||
}\
|
||||
.ace_search.right {\
|
||||
border-radius: 0px 0px 0px 5px;\
|
||||
border-right: 0 none;\
|
||||
right: 0;\
|
||||
}\
|
||||
.ace_search_form, .ace_replace_form {\
|
||||
margin: 0 20px 4px 0;\
|
||||
overflow: hidden;\
|
||||
line-height: 1.9;\
|
||||
}\
|
||||
.ace_replace_form {\
|
||||
margin-right: 0;\
|
||||
}\
|
||||
.ace_search_form.ace_nomatch {\
|
||||
outline: 1px solid red;\
|
||||
}\
|
||||
.ace_search_field {\
|
||||
border-radius: 3px 0 0 3px;\
|
||||
background-color: white;\
|
||||
color: black;\
|
||||
border: 1px solid #cbcbcb;\
|
||||
border-right: 0 none;\
|
||||
box-sizing: border-box!important;\
|
||||
outline: 0;\
|
||||
padding: 0;\
|
||||
font-size: inherit;\
|
||||
margin: 0;\
|
||||
line-height: inherit;\
|
||||
padding: 0 6px;\
|
||||
min-width: 17em;\
|
||||
vertical-align: top;\
|
||||
}\
|
||||
.ace_searchbtn {\
|
||||
border: 1px solid #cbcbcb;\
|
||||
line-height: inherit;\
|
||||
display: inline-block;\
|
||||
padding: 0 6px;\
|
||||
background: #fff;\
|
||||
border-right: 0 none;\
|
||||
border-left: 1px solid #dcdcdc;\
|
||||
cursor: pointer;\
|
||||
margin: 0;\
|
||||
position: relative;\
|
||||
box-sizing: content-box!important;\
|
||||
color: #666;\
|
||||
}\
|
||||
.ace_searchbtn:last-child {\
|
||||
border-radius: 0 3px 3px 0;\
|
||||
border-right: 1px solid #cbcbcb;\
|
||||
}\
|
||||
.ace_searchbtn:disabled {\
|
||||
background: none;\
|
||||
cursor: default;\
|
||||
}\
|
||||
.ace_searchbtn:hover {\
|
||||
background-color: #eef1f6;\
|
||||
}\
|
||||
.ace_searchbtn.prev, .ace_searchbtn.next {\
|
||||
padding: 0px 0.7em\
|
||||
}\
|
||||
.ace_searchbtn.prev:after, .ace_searchbtn.next:after {\
|
||||
content: \"\";\
|
||||
border: solid 2px #888;\
|
||||
width: 0.5em;\
|
||||
height: 0.5em;\
|
||||
border-width: 2px 0 0 2px;\
|
||||
display:inline-block;\
|
||||
transform: rotate(-45deg);\
|
||||
}\
|
||||
.ace_searchbtn.next:after {\
|
||||
border-width: 0 2px 2px 0 ;\
|
||||
}\
|
||||
.ace_searchbtn_close {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\
|
||||
border-radius: 50%;\
|
||||
border: 0 none;\
|
||||
color: #656565;\
|
||||
cursor: pointer;\
|
||||
font: 16px/16px Arial;\
|
||||
padding: 0;\
|
||||
height: 14px;\
|
||||
width: 14px;\
|
||||
top: 9px;\
|
||||
right: 7px;\
|
||||
position: absolute;\
|
||||
}\
|
||||
.ace_searchbtn_close:hover {\
|
||||
background-color: #656565;\
|
||||
background-position: 50% 100%;\
|
||||
color: white;\
|
||||
}\
|
||||
.ace_button {\
|
||||
margin-left: 2px;\
|
||||
cursor: pointer;\
|
||||
-webkit-user-select: none;\
|
||||
-moz-user-select: none;\
|
||||
-o-user-select: none;\
|
||||
-ms-user-select: none;\
|
||||
user-select: none;\
|
||||
overflow: hidden;\
|
||||
opacity: 0.7;\
|
||||
border: 1px solid rgba(100,100,100,0.23);\
|
||||
padding: 1px;\
|
||||
box-sizing: border-box!important;\
|
||||
color: black;\
|
||||
}\
|
||||
.ace_button:hover {\
|
||||
background-color: #eee;\
|
||||
opacity:1;\
|
||||
}\
|
||||
.ace_button:active {\
|
||||
background-color: #ddd;\
|
||||
}\
|
||||
.ace_button.checked {\
|
||||
border-color: #3399ff;\
|
||||
opacity:1;\
|
||||
}\
|
||||
.ace_search_options{\
|
||||
margin-bottom: 3px;\
|
||||
text-align: right;\
|
||||
-webkit-user-select: none;\
|
||||
-moz-user-select: none;\
|
||||
-o-user-select: none;\
|
||||
-ms-user-select: none;\
|
||||
user-select: none;\
|
||||
clear: both;\
|
||||
}\
|
||||
.ace_search_counter {\
|
||||
float: left;\
|
||||
font-family: arial;\
|
||||
padding: 0 8px;\
|
||||
}";
|
||||
var HashHandler = require("../keyboard/hash_handler").HashHandler;
|
||||
var keyUtil = require("../lib/keys");
|
||||
|
||||
var MAX_COUNT = 999;
|
||||
|
||||
dom.importCssString(searchboxCss, "ace_searchbox");
|
||||
|
||||
var html = '<div class="ace_search right">\
|
||||
<span action="hide" class="ace_searchbtn_close"></span>\
|
||||
<div class="ace_search_form">\
|
||||
<input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>\
|
||||
<span action="findPrev" class="ace_searchbtn prev"></span>\
|
||||
<span action="findNext" class="ace_searchbtn next"></span>\
|
||||
<span action="findAll" class="ace_searchbtn" title="Alt-Enter">All</span>\
|
||||
</div>\
|
||||
<div class="ace_replace_form">\
|
||||
<input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>\
|
||||
<span action="replaceAndFindNext" class="ace_searchbtn">Replace</span>\
|
||||
<span action="replaceAll" class="ace_searchbtn">All</span>\
|
||||
</div>\
|
||||
<div class="ace_search_options">\
|
||||
<span action="toggleReplace" class="ace_button" title="Toggle Replace mode"\
|
||||
style="float:left;margin-top:-2px;padding:0 5px;">+</span>\
|
||||
<span class="ace_search_counter"></span>\
|
||||
<span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span>\
|
||||
<span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>\
|
||||
<span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span>\
|
||||
<span action="searchInSelection" class="ace_button" title="Search In Selection">S</span>\
|
||||
</div>\
|
||||
</div>'.replace(/> +/g, ">");
|
||||
|
||||
var SearchBox = function (editor, range, showReplaceForm) {
|
||||
var div = dom.createElement("div");
|
||||
div.innerHTML = html;
|
||||
this.element = div.firstChild;
|
||||
|
||||
this.setSession = this.setSession.bind(this);
|
||||
|
||||
this.$init();
|
||||
this.setEditor(editor);
|
||||
var r = e("../lib/dom"), i = e("../lib/lang"), s = e("../lib/event"),
|
||||
o = '.ace_search {background-color: #ddd;color: #666;border: 1px solid #cbcbcb;border-top: 0 none;overflow: hidden;margin: 0;padding: 4px 6px 0 4px;position: absolute;top: 0;z-index: 99;white-space: normal;}.ace_search.left {border-left: 0 none;border-radius: 0px 0px 5px 0px;left: 0;}.ace_search.right {border-radius: 0px 0px 0px 5px;border-right: 0 none;right: 0;}.ace_search_form, .ace_replace_form {margin: 0 20px 4px 0;overflow: hidden;line-height: 1.9;}.ace_replace_form {margin-right: 0;}.ace_search_form.ace_nomatch {outline: 1px solid red;}.ace_search_field {border-radius: 3px 0 0 3px;background-color: white;color: black;border: 1px solid #cbcbcb;border-right: 0 none;outline: 0;padding: 0;font-size: inherit;margin: 0;line-height: inherit;padding: 0 6px;min-width: 17em;vertical-align: top;min-height: 1.8em;box-sizing: content-box;}.ace_searchbtn {border: 1px solid #cbcbcb;line-height: inherit;display: inline-block;padding: 0 6px;background: #fff;border-right: 0 none;border-left: 1px solid #dcdcdc;cursor: pointer;margin: 0;position: relative;color: #666;}.ace_searchbtn:last-child {border-radius: 0 3px 3px 0;border-right: 1px solid #cbcbcb;}.ace_searchbtn:disabled {background: none;cursor: default;}.ace_searchbtn:hover {background-color: #eef1f6;}.ace_searchbtn.prev, .ace_searchbtn.next {padding: 0px 0.7em}.ace_searchbtn.prev:after, .ace_searchbtn.next:after {content: "";border: solid 2px #888;width: 0.5em;height: 0.5em;border-width: 2px 0 0 2px;display:inline-block;transform: rotate(-45deg);}.ace_searchbtn.next:after {border-width: 0 2px 2px 0 ;}.ace_searchbtn_close {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;border-radius: 50%;border: 0 none;color: #656565;cursor: pointer;font: 16px/16px Arial;padding: 0;height: 14px;width: 14px;top: 9px;right: 7px;position: absolute;}.ace_searchbtn_close:hover {background-color: #656565;background-position: 50% 100%;color: white;}.ace_button {margin-left: 2px;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;overflow: hidden;opacity: 0.7;border: 1px solid rgba(100,100,100,0.23);padding: 1px;box-sizing: border-box!important;color: black;}.ace_button:hover {background-color: #eee;opacity:1;}.ace_button:active {background-color: #ddd;}.ace_button.checked {border-color: #3399ff;opacity:1;}.ace_search_options{margin-bottom: 3px;text-align: right;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;clear: both;}.ace_search_counter {float: left;font-family: arial;padding: 0 8px;}',
|
||||
u = e("../keyboard/hash_handler").HashHandler, a = e("../lib/keys"), f = 999;
|
||||
r.importCssString(o, "ace_searchbox");
|
||||
var l = function (e, t, n) {
|
||||
var i = r.createElement("div");
|
||||
r.buildDom(["div", {"class": "ace_search right"}, ["span", {
|
||||
action: "hide",
|
||||
"class": "ace_searchbtn_close"
|
||||
}], ["div", {"class": "ace_search_form"}, ["input", {
|
||||
"class": "ace_search_field",
|
||||
placeholder: "Search for",
|
||||
spellcheck: "false"
|
||||
}], ["span", {action: "findPrev", "class": "ace_searchbtn prev"}, "\u200b"], ["span", {
|
||||
action: "findNext",
|
||||
"class": "ace_searchbtn next"
|
||||
}, "\u200b"], ["span", {
|
||||
action: "findAll",
|
||||
"class": "ace_searchbtn",
|
||||
title: "Alt-Enter"
|
||||
}, "All"]], ["div", {"class": "ace_replace_form"}, ["input", {
|
||||
"class": "ace_search_field",
|
||||
placeholder: "Replace with",
|
||||
spellcheck: "false"
|
||||
}], ["span", {
|
||||
action: "replaceAndFindNext",
|
||||
"class": "ace_searchbtn"
|
||||
}, "Replace"], ["span", {
|
||||
action: "replaceAll",
|
||||
"class": "ace_searchbtn"
|
||||
}, "All"]], ["div", {"class": "ace_search_options"}, ["span", {
|
||||
action: "toggleReplace",
|
||||
"class": "ace_button",
|
||||
title: "Toggle Replace mode",
|
||||
style: "float:left;margin-top:-2px;padding:0 5px;"
|
||||
}, "+"], ["span", {"class": "ace_search_counter"}], ["span", {
|
||||
action: "toggleRegexpMode",
|
||||
"class": "ace_button",
|
||||
title: "RegExp Search"
|
||||
}, ".*"], ["span", {
|
||||
action: "toggleCaseSensitive",
|
||||
"class": "ace_button",
|
||||
title: "CaseSensitive Search"
|
||||
}, "Aa"], ["span", {
|
||||
action: "toggleWholeWords",
|
||||
"class": "ace_button",
|
||||
title: "Whole Word Search"
|
||||
}, "\\b"], ["span", {
|
||||
action: "searchInSelection",
|
||||
"class": "ace_button",
|
||||
title: "Search In Selection"
|
||||
}, "S"]]], i), this.element = i.firstChild, this.setSession = this.setSession.bind(this), this.$init(), this.setEditor(e), r.importCssString(o, "ace_searchbox", e.container)
|
||||
};
|
||||
|
||||
(function () {
|
||||
this.setEditor = function (editor) {
|
||||
editor.searchBox = this;
|
||||
editor.renderer.scroller.appendChild(this.element);
|
||||
this.editor = editor;
|
||||
};
|
||||
|
||||
this.setSession = function (e) {
|
||||
this.searchRange = null;
|
||||
this.$syncOptions(true);
|
||||
};
|
||||
|
||||
this.$initElements = function (sb) {
|
||||
this.searchBox = sb.querySelector(".ace_search_form");
|
||||
this.replaceBox = sb.querySelector(".ace_replace_form");
|
||||
this.searchOption = sb.querySelector("[action=searchInSelection]");
|
||||
this.replaceOption = sb.querySelector("[action=toggleReplace]");
|
||||
this.regExpOption = sb.querySelector("[action=toggleRegexpMode]");
|
||||
this.caseSensitiveOption = sb.querySelector("[action=toggleCaseSensitive]");
|
||||
this.wholeWordOption = sb.querySelector("[action=toggleWholeWords]");
|
||||
this.searchInput = this.searchBox.querySelector(".ace_search_field");
|
||||
this.replaceInput = this.replaceBox.querySelector(".ace_search_field");
|
||||
this.searchCounter = sb.querySelector(".ace_search_counter");
|
||||
};
|
||||
|
||||
this.$init = function () {
|
||||
var sb = this.element;
|
||||
|
||||
this.$initElements(sb);
|
||||
|
||||
var _this = this;
|
||||
event.addListener(sb, "mousedown", function (e) {
|
||||
this.setEditor = function (e) {
|
||||
e.searchBox = this, e.renderer.scroller.appendChild(this.element), this.editor = e
|
||||
}, this.setSession = function (e) {
|
||||
this.searchRange = null, this.$syncOptions(!0)
|
||||
}, this.$initElements = function (e) {
|
||||
this.searchBox = e.querySelector(".ace_search_form"), this.replaceBox = e.querySelector(".ace_replace_form"), this.searchOption = e.querySelector("[action=searchInSelection]"), this.replaceOption = e.querySelector("[action=toggleReplace]"), this.regExpOption = e.querySelector("[action=toggleRegexpMode]"), this.caseSensitiveOption = e.querySelector("[action=toggleCaseSensitive]"), this.wholeWordOption = e.querySelector("[action=toggleWholeWords]"), this.searchInput = this.searchBox.querySelector(".ace_search_field"), this.replaceInput = this.replaceBox.querySelector(".ace_search_field"), this.searchCounter = e.querySelector(".ace_search_counter")
|
||||
}, this.$init = function () {
|
||||
var e = this.element;
|
||||
this.$initElements(e);
|
||||
var t = this;
|
||||
s.addListener(e, "mousedown", function (e) {
|
||||
setTimeout(function () {
|
||||
_this.activeInput.focus();
|
||||
}, 0);
|
||||
event.stopPropagation(e);
|
||||
});
|
||||
event.addListener(sb, "click", function (e) {
|
||||
var t = e.target || e.srcElement;
|
||||
var action = t.getAttribute("action");
|
||||
if (action && _this[action])
|
||||
_this[action]();
|
||||
else if (_this.$searchBarKb.commands[action])
|
||||
_this.$searchBarKb.commands[action].exec(_this);
|
||||
event.stopPropagation(e);
|
||||
});
|
||||
|
||||
event.addCommandKeyListener(sb, function (e, hashId, keyCode) {
|
||||
var keyString = keyUtil.keyCodeToString(keyCode);
|
||||
var command = _this.$searchBarKb.findKeyCommand(hashId, keyString);
|
||||
if (command && command.exec) {
|
||||
command.exec(_this);
|
||||
event.stopEvent(e);
|
||||
}
|
||||
});
|
||||
|
||||
this.$onChange = lang.delayedCall(function () {
|
||||
_this.find(false, false);
|
||||
});
|
||||
|
||||
event.addListener(this.searchInput, "input", function () {
|
||||
_this.$onChange.schedule(20);
|
||||
});
|
||||
event.addListener(this.searchInput, "focus", function () {
|
||||
_this.activeInput = _this.searchInput;
|
||||
_this.searchInput.value && _this.highlight();
|
||||
});
|
||||
event.addListener(this.replaceInput, "focus", function () {
|
||||
_this.activeInput = _this.replaceInput;
|
||||
_this.searchInput.value && _this.highlight();
|
||||
});
|
||||
};
|
||||
this.$closeSearchBarKb = new HashHandler([{
|
||||
bindKey: "Esc",
|
||||
name: "closeSearchBar",
|
||||
exec: function (editor) {
|
||||
editor.searchBox.hide();
|
||||
t.activeInput.focus()
|
||||
}, 0), s.stopPropagation(e)
|
||||
}), s.addListener(e, "click", function (e) {
|
||||
var n = e.target || e.srcElement, r = n.getAttribute("action");
|
||||
r && t[r] ? t[r]() : t.$searchBarKb.commands[r] && t.$searchBarKb.commands[r].exec(t), s.stopPropagation(e)
|
||||
}), s.addCommandKeyListener(e, function (e, n, r) {
|
||||
var i = a.keyCodeToString(r), o = t.$searchBarKb.findKeyCommand(n, i);
|
||||
o && o.exec && (o.exec(t), s.stopEvent(e))
|
||||
}), this.$onChange = i.delayedCall(function () {
|
||||
t.find(!1, !1)
|
||||
}), s.addListener(this.searchInput, "input", function () {
|
||||
t.$onChange.schedule(20)
|
||||
}), s.addListener(this.searchInput, "focus", function () {
|
||||
t.activeInput = t.searchInput, t.searchInput.value && t.highlight()
|
||||
}), s.addListener(this.replaceInput, "focus", function () {
|
||||
t.activeInput = t.replaceInput, t.searchInput.value && t.highlight()
|
||||
})
|
||||
}, this.$closeSearchBarKb = new u([{
|
||||
bindKey: "Esc", name: "closeSearchBar", exec: function (e) {
|
||||
e.searchBox.hide()
|
||||
}
|
||||
}]);
|
||||
this.$searchBarKb = new HashHandler();
|
||||
this.$searchBarKb.bindKeys({
|
||||
"Ctrl-f|Command-f": function (sb) {
|
||||
var isReplace = sb.isReplace = !sb.isReplace;
|
||||
sb.replaceBox.style.display = isReplace ? "" : "none";
|
||||
sb.replaceOption.checked = false;
|
||||
sb.$syncOptions();
|
||||
sb.searchInput.focus();
|
||||
},
|
||||
"Ctrl-H|Command-Option-F": function (sb) {
|
||||
sb.replaceOption.checked = true;
|
||||
sb.$syncOptions();
|
||||
sb.replaceInput.focus();
|
||||
},
|
||||
"Ctrl-G|Command-G": function (sb) {
|
||||
sb.findNext();
|
||||
},
|
||||
"Ctrl-Shift-G|Command-Shift-G": function (sb) {
|
||||
sb.findPrev();
|
||||
},
|
||||
"esc": function (sb) {
|
||||
}]), this.$searchBarKb = new u, this.$searchBarKb.bindKeys({
|
||||
"Ctrl-f|Command-f": function (e) {
|
||||
var t = e.isReplace = !e.isReplace;
|
||||
e.replaceBox.style.display = t ? "" : "none", e.replaceOption.checked = !1, e.$syncOptions(), e.searchInput.focus()
|
||||
}, "Ctrl-H|Command-Option-F": function (e) {
|
||||
if (e.editor.getReadOnly()) return;
|
||||
e.replaceOption.checked = !0, e.$syncOptions(), e.replaceInput.focus()
|
||||
}, "Ctrl-G|Command-G": function (e) {
|
||||
e.findNext()
|
||||
}, "Ctrl-Shift-G|Command-Shift-G": function (e) {
|
||||
e.findPrev()
|
||||
}, esc: function (e) {
|
||||
setTimeout(function () {
|
||||
sb.hide();
|
||||
});
|
||||
},
|
||||
"Return": function (sb) {
|
||||
if (sb.activeInput == sb.replaceInput)
|
||||
sb.replace();
|
||||
sb.findNext();
|
||||
},
|
||||
"Shift-Return": function (sb) {
|
||||
if (sb.activeInput == sb.replaceInput)
|
||||
sb.replace();
|
||||
sb.findPrev();
|
||||
},
|
||||
"Alt-Return": function (sb) {
|
||||
if (sb.activeInput == sb.replaceInput)
|
||||
sb.replaceAll();
|
||||
sb.findAll();
|
||||
},
|
||||
"Tab": function (sb) {
|
||||
(sb.activeInput == sb.replaceInput ? sb.searchInput : sb.replaceInput).focus();
|
||||
e.hide()
|
||||
})
|
||||
}, Return: function (e) {
|
||||
e.activeInput == e.replaceInput && e.replace(), e.findNext()
|
||||
}, "Shift-Return": function (e) {
|
||||
e.activeInput == e.replaceInput && e.replace(), e.findPrev()
|
||||
}, "Alt-Return": function (e) {
|
||||
e.activeInput == e.replaceInput && e.replaceAll(), e.findAll()
|
||||
}, Tab: function (e) {
|
||||
(e.activeInput == e.replaceInput ? e.searchInput : e.replaceInput).focus()
|
||||
}
|
||||
});
|
||||
|
||||
this.$searchBarKb.addCommands([{
|
||||
}), this.$searchBarKb.addCommands([{
|
||||
name: "toggleRegexpMode",
|
||||
bindKey: {win: "Alt-R|Alt-/", mac: "Ctrl-Alt-R|Ctrl-Alt-/"},
|
||||
exec: function (sb) {
|
||||
sb.regExpOption.checked = !sb.regExpOption.checked;
|
||||
sb.$syncOptions();
|
||||
exec: function (e) {
|
||||
e.regExpOption.checked = !e.regExpOption.checked, e.$syncOptions()
|
||||
}
|
||||
}, {
|
||||
name: "toggleCaseSensitive",
|
||||
bindKey: {win: "Alt-C|Alt-I", mac: "Ctrl-Alt-R|Ctrl-Alt-I"},
|
||||
exec: function (sb) {
|
||||
sb.caseSensitiveOption.checked = !sb.caseSensitiveOption.checked;
|
||||
sb.$syncOptions();
|
||||
exec: function (e) {
|
||||
e.caseSensitiveOption.checked = !e.caseSensitiveOption.checked, e.$syncOptions()
|
||||
}
|
||||
}, {
|
||||
name: "toggleWholeWords",
|
||||
bindKey: {win: "Alt-B|Alt-W", mac: "Ctrl-Alt-B|Ctrl-Alt-W"},
|
||||
exec: function (sb) {
|
||||
sb.wholeWordOption.checked = !sb.wholeWordOption.checked;
|
||||
sb.$syncOptions();
|
||||
name: "toggleWholeWords", bindKey: {win: "Alt-B|Alt-W", mac: "Ctrl-Alt-B|Ctrl-Alt-W"}, exec: function (e) {
|
||||
e.wholeWordOption.checked = !e.wholeWordOption.checked, e.$syncOptions()
|
||||
}
|
||||
}, {
|
||||
name: "toggleReplace",
|
||||
exec: function (sb) {
|
||||
sb.replaceOption.checked = !sb.replaceOption.checked;
|
||||
sb.$syncOptions();
|
||||
name: "toggleReplace", exec: function (e) {
|
||||
e.replaceOption.checked = !e.replaceOption.checked, e.$syncOptions()
|
||||
}
|
||||
}, {
|
||||
name: "searchInSelection",
|
||||
exec: function (sb) {
|
||||
sb.searchOption.checked = !sb.searchRange;
|
||||
sb.setSearchRange(sb.searchOption.checked && sb.editor.getSelectionRange());
|
||||
sb.$syncOptions();
|
||||
name: "searchInSelection", exec: function (e) {
|
||||
e.searchOption.checked = !e.searchRange, e.setSearchRange(e.searchOption.checked && e.editor.getSelectionRange()), e.$syncOptions()
|
||||
}
|
||||
}]);
|
||||
|
||||
this.setSearchRange = function (range) {
|
||||
this.searchRange = range;
|
||||
if (range) {
|
||||
this.searchRangeMarker = this.editor.session.addMarker(range, "ace_active-line");
|
||||
} else if (this.searchRangeMarker) {
|
||||
this.editor.session.removeMarker(this.searchRangeMarker);
|
||||
this.searchRangeMarker = null;
|
||||
}
|
||||
};
|
||||
|
||||
this.$syncOptions = function (preventScroll) {
|
||||
dom.setCssClass(this.replaceOption, "checked", this.searchRange);
|
||||
dom.setCssClass(this.searchOption, "checked", this.searchOption.checked);
|
||||
this.replaceOption.textContent = this.replaceOption.checked ? "-" : "+";
|
||||
dom.setCssClass(this.regExpOption, "checked", this.regExpOption.checked);
|
||||
dom.setCssClass(this.wholeWordOption, "checked", this.wholeWordOption.checked);
|
||||
dom.setCssClass(this.caseSensitiveOption, "checked", this.caseSensitiveOption.checked);
|
||||
this.replaceBox.style.display = this.replaceOption.checked ? "" : "none";
|
||||
this.find(false, false, preventScroll);
|
||||
};
|
||||
|
||||
this.highlight = function (re) {
|
||||
this.editor.session.highlight(re || this.editor.$search.$options.re);
|
||||
this.editor.renderer.updateBackMarkers();
|
||||
};
|
||||
this.find = function (skipCurrent, backwards, preventScroll) {
|
||||
var range = this.editor.find(this.searchInput.value, {
|
||||
skipCurrent: skipCurrent,
|
||||
backwards: backwards,
|
||||
wrap: true,
|
||||
}]), this.setSearchRange = function (e) {
|
||||
this.searchRange = e, e ? this.searchRangeMarker = this.editor.session.addMarker(e, "ace_active-line") : this.searchRangeMarker && (this.editor.session.removeMarker(this.searchRangeMarker), this.searchRangeMarker = null)
|
||||
}, this.$syncOptions = function (e) {
|
||||
r.setCssClass(this.replaceOption, "checked", this.searchRange), r.setCssClass(this.searchOption, "checked", this.searchOption.checked), this.replaceOption.textContent = this.replaceOption.checked ? "-" : "+", r.setCssClass(this.regExpOption, "checked", this.regExpOption.checked), r.setCssClass(this.wholeWordOption, "checked", this.wholeWordOption.checked), r.setCssClass(this.caseSensitiveOption, "checked", this.caseSensitiveOption.checked);
|
||||
var t = this.editor.getReadOnly();
|
||||
this.replaceOption.style.display = t ? "none" : "", this.replaceBox.style.display = this.replaceOption.checked && !t ? "" : "none", this.find(!1, !1, e)
|
||||
}, this.highlight = function (e) {
|
||||
this.editor.session.highlight(e || this.editor.$search.$options.re), this.editor.renderer.updateBackMarkers()
|
||||
}, this.find = function (e, t, n) {
|
||||
var i = this.editor.find(this.searchInput.value, {
|
||||
skipCurrent: e,
|
||||
backwards: t,
|
||||
wrap: !0,
|
||||
regExp: this.regExpOption.checked,
|
||||
caseSensitive: this.caseSensitiveOption.checked,
|
||||
wholeWord: this.wholeWordOption.checked,
|
||||
preventScroll: preventScroll,
|
||||
preventScroll: n,
|
||||
range: this.searchRange
|
||||
});
|
||||
var noMatch = !range && this.searchInput.value;
|
||||
dom.setCssClass(this.searchBox, "ace_nomatch", noMatch);
|
||||
this.editor._emit("findSearchBox", {match: !noMatch});
|
||||
this.highlight();
|
||||
this.updateCounter();
|
||||
};
|
||||
this.updateCounter = function () {
|
||||
var editor = this.editor;
|
||||
var regex = editor.$search.$options.re;
|
||||
var all = 0;
|
||||
var before = 0;
|
||||
if (regex) {
|
||||
var value = this.searchRange
|
||||
? editor.session.getTextRange(this.searchRange)
|
||||
: editor.getValue();
|
||||
|
||||
var offset = editor.session.doc.positionToIndex(editor.selection.anchor);
|
||||
if (this.searchRange)
|
||||
offset -= editor.session.doc.positionToIndex(this.searchRange.start);
|
||||
|
||||
var last = regex.lastIndex = 0;
|
||||
var m;
|
||||
while ((m = regex.exec(value))) {
|
||||
all++;
|
||||
last = m.index;
|
||||
if (last <= offset)
|
||||
before++;
|
||||
if (all > MAX_COUNT)
|
||||
break;
|
||||
if (!m[0]) {
|
||||
regex.lastIndex = last += 1;
|
||||
if (last >= value.length)
|
||||
break;
|
||||
}), s = !i && this.searchInput.value;
|
||||
r.setCssClass(this.searchBox, "ace_nomatch", s), this.editor._emit("findSearchBox", {match: !s}), this.highlight(), this.updateCounter()
|
||||
}, this.updateCounter = function () {
|
||||
var e = this.editor, t = e.$search.$options.re, n = 0, r = 0;
|
||||
if (t) {
|
||||
var i = this.searchRange ? e.session.getTextRange(this.searchRange) : e.getValue(),
|
||||
s = e.session.doc.positionToIndex(e.selection.anchor);
|
||||
this.searchRange && (s -= e.session.doc.positionToIndex(this.searchRange.start));
|
||||
var o = t.lastIndex = 0, u;
|
||||
while (u = t.exec(i)) {
|
||||
n++, o = u.index, o <= s && r++;
|
||||
if (n > f) break;
|
||||
if (!u[0]) {
|
||||
t.lastIndex = o += 1;
|
||||
if (o >= i.length) break
|
||||
}
|
||||
}
|
||||
}
|
||||
this.searchCounter.textContent = before + " of " + (all > MAX_COUNT ? MAX_COUNT + "+" : all);
|
||||
};
|
||||
this.findNext = function () {
|
||||
this.find(true, false);
|
||||
};
|
||||
this.findPrev = function () {
|
||||
this.find(true, true);
|
||||
};
|
||||
this.findAll = function () {
|
||||
var range = this.editor.findAll(this.searchInput.value, {
|
||||
this.searchCounter.textContent = r + " of " + (n > f ? f + "+" : n)
|
||||
}, this.findNext = function () {
|
||||
this.find(!0, !1)
|
||||
}, this.findPrev = function () {
|
||||
this.find(!0, !0)
|
||||
}, this.findAll = function () {
|
||||
var e = this.editor.findAll(this.searchInput.value, {
|
||||
regExp: this.regExpOption.checked,
|
||||
caseSensitive: this.caseSensitiveOption.checked,
|
||||
wholeWord: this.wholeWordOption.checked
|
||||
});
|
||||
var noMatch = !range && this.searchInput.value;
|
||||
dom.setCssClass(this.searchBox, "ace_nomatch", noMatch);
|
||||
this.editor._emit("findSearchBox", {match: !noMatch});
|
||||
this.highlight();
|
||||
this.hide();
|
||||
};
|
||||
this.replace = function () {
|
||||
if (!this.editor.getReadOnly())
|
||||
this.editor.replace(this.replaceInput.value);
|
||||
};
|
||||
this.replaceAndFindNext = function () {
|
||||
if (!this.editor.getReadOnly()) {
|
||||
this.editor.replace(this.replaceInput.value);
|
||||
this.findNext();
|
||||
}
|
||||
};
|
||||
this.replaceAll = function () {
|
||||
if (!this.editor.getReadOnly())
|
||||
this.editor.replaceAll(this.replaceInput.value);
|
||||
};
|
||||
|
||||
this.hide = function () {
|
||||
this.active = false;
|
||||
this.setSearchRange(null);
|
||||
this.editor.off("changeSession", this.setSession);
|
||||
|
||||
this.element.style.display = "none";
|
||||
this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb);
|
||||
this.editor.focus();
|
||||
};
|
||||
this.show = function (value, isReplace) {
|
||||
this.active = true;
|
||||
this.editor.on("changeSession", this.setSession);
|
||||
this.element.style.display = "";
|
||||
this.replaceOption.checked = isReplace;
|
||||
|
||||
if (value)
|
||||
this.searchInput.value = value;
|
||||
|
||||
this.searchInput.focus();
|
||||
this.searchInput.select();
|
||||
|
||||
this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb);
|
||||
|
||||
this.$syncOptions(true);
|
||||
};
|
||||
|
||||
this.isFocused = function () {
|
||||
var el = document.activeElement;
|
||||
return el == this.searchInput || el == this.replaceInput;
|
||||
};
|
||||
}).call(SearchBox.prototype);
|
||||
|
||||
exports.SearchBox = SearchBox;
|
||||
|
||||
exports.Search = function (editor, isReplace) {
|
||||
var sb = editor.searchBox || new SearchBox(editor);
|
||||
sb.show(editor.session.getTextRange(), isReplace);
|
||||
};
|
||||
|
||||
}), t = !e && this.searchInput.value;
|
||||
r.setCssClass(this.searchBox, "ace_nomatch", t), this.editor._emit("findSearchBox", {match: !t}), this.highlight(), this.hide()
|
||||
}, this.replace = function () {
|
||||
this.editor.getReadOnly() || this.editor.replace(this.replaceInput.value)
|
||||
}, this.replaceAndFindNext = function () {
|
||||
this.editor.getReadOnly() || (this.editor.replace(this.replaceInput.value), this.findNext())
|
||||
}, this.replaceAll = function () {
|
||||
this.editor.getReadOnly() || this.editor.replaceAll(this.replaceInput.value)
|
||||
}, this.hide = function () {
|
||||
this.active = !1, this.setSearchRange(null), this.editor.off("changeSession", this.setSession), this.element.style.display = "none", this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb), this.editor.focus()
|
||||
}, this.show = function (e, t) {
|
||||
this.active = !0, this.editor.on("changeSession", this.setSession), this.element.style.display = "", this.replaceOption.checked = t, e && (this.searchInput.value = e), this.searchInput.focus(), this.searchInput.select(), this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb), this.$syncOptions(!0)
|
||||
}, this.isFocused = function () {
|
||||
var e = document.activeElement;
|
||||
return e == this.searchInput || e == this.replaceInput
|
||||
}
|
||||
}).call(l.prototype), t.SearchBox = l, t.Search = function (e, t) {
|
||||
var n = e.searchBox || new l(e);
|
||||
n.show(e.session.getTextRange(), t)
|
||||
}
|
||||
});
|
||||
(function () {
|
||||
window.require(["ace/ext/searchbox"], function () {
|
||||
ace.require(["ace/ext/searchbox"], function (m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
594
src/main/resources/static/js/ace/keybinding-emacs.js
vendored
Normal file
594
src/main/resources/static/js/ace/keybinding-emacs.js
vendored
Normal file
@ -0,0 +1,594 @@
|
||||
ace.define("ace/occur", ["require", "exports", "module", "ace/lib/oop", "ace/range", "ace/search", "ace/edit_session", "ace/search_highlight", "ace/lib/dom"], function (e, t, n) {
|
||||
"use strict";
|
||||
|
||||
function a() {
|
||||
}
|
||||
|
||||
var r = e("./lib/oop"), i = e("./range").Range, s = e("./search").Search, o = e("./edit_session").EditSession,
|
||||
u = e("./search_highlight").SearchHighlight;
|
||||
r.inherits(a, s), function () {
|
||||
this.enter = function (e, t) {
|
||||
if (!t.needle) return !1;
|
||||
var n = e.getCursorPosition();
|
||||
this.displayOccurContent(e, t);
|
||||
var r = this.originalToOccurPosition(e.session, n);
|
||||
return e.moveCursorToPosition(r), !0
|
||||
}, this.exit = function (e, t) {
|
||||
var n = t.translatePosition && e.getCursorPosition(), r = n && this.occurToOriginalPosition(e.session, n);
|
||||
return this.displayOriginalContent(e), r && e.moveCursorToPosition(r), !0
|
||||
}, this.highlight = function (e, t) {
|
||||
var n = e.$occurHighlight = e.$occurHighlight || e.addDynamicMarker(new u(null, "ace_occur-highlight", "text"));
|
||||
n.setRegexp(t), e._emit("changeBackMarker")
|
||||
}, this.displayOccurContent = function (e, t) {
|
||||
this.$originalSession = e.session;
|
||||
var n = this.matchingLines(e.session, t), r = n.map(function (e) {
|
||||
return e.content
|
||||
}), i = new o(r.join("\n"));
|
||||
i.$occur = this, i.$occurMatchingLines = n, e.setSession(i), this.$useEmacsStyleLineStart = this.$originalSession.$useEmacsStyleLineStart, i.$useEmacsStyleLineStart = this.$useEmacsStyleLineStart, this.highlight(i, t.re), i._emit("changeBackMarker")
|
||||
}, this.displayOriginalContent = function (e) {
|
||||
e.setSession(this.$originalSession), this.$originalSession.$useEmacsStyleLineStart = this.$useEmacsStyleLineStart
|
||||
}, this.originalToOccurPosition = function (e, t) {
|
||||
var n = e.$occurMatchingLines, r = {row: 0, column: 0};
|
||||
if (!n) return r;
|
||||
for (var i = 0; i < n.length; i++) if (n[i].row === t.row) return {row: i, column: t.column};
|
||||
return r
|
||||
}, this.occurToOriginalPosition = function (e, t) {
|
||||
var n = e.$occurMatchingLines;
|
||||
return !n || !n[t.row] ? t : {row: n[t.row].row, column: t.column}
|
||||
}, this.matchingLines = function (e, t) {
|
||||
t = r.mixin({}, t);
|
||||
if (!e || !t.needle) return [];
|
||||
var n = new s;
|
||||
return n.set(t), n.findAll(e).reduce(function (t, n) {
|
||||
var r = n.start.row, i = t[t.length - 1];
|
||||
return i && i.row === r ? t : t.concat({row: r, content: e.getLine(r)})
|
||||
}, [])
|
||||
}
|
||||
}.call(a.prototype);
|
||||
var f = e("./lib/dom");
|
||||
f.importCssString(".ace_occur-highlight {\n border-radius: 4px;\n background-color: rgba(87, 255, 8, 0.25);\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n box-shadow: 0 0 4px rgb(91, 255, 50);\n}\n.ace_dark .ace_occur-highlight {\n background-color: rgb(80, 140, 85);\n box-shadow: 0 0 4px rgb(60, 120, 70);\n}\n", "incremental-occur-highlighting"), t.Occur = a
|
||||
}), ace.define("ace/commands/occur_commands", ["require", "exports", "module", "ace/config", "ace/occur", "ace/keyboard/hash_handler", "ace/lib/oop"], function (e, t, n) {
|
||||
function f() {
|
||||
}
|
||||
|
||||
var r = e("../config"), i = e("../occur").Occur, s = {
|
||||
name: "occur", exec: function (e, t) {
|
||||
var n = !!e.session.$occur, r = (new i).enter(e, t);
|
||||
r && !n && f.installIn(e)
|
||||
}, readOnly: !0
|
||||
}, o = [{
|
||||
name: "occurexit", bindKey: "esc|Ctrl-G", exec: function (e) {
|
||||
var t = e.session.$occur;
|
||||
if (!t) return;
|
||||
t.exit(e, {}), e.session.$occur || f.uninstallFrom(e)
|
||||
}, readOnly: !0
|
||||
}, {
|
||||
name: "occuraccept", bindKey: "enter", exec: function (e) {
|
||||
var t = e.session.$occur;
|
||||
if (!t) return;
|
||||
t.exit(e, {translatePosition: !0}), e.session.$occur || f.uninstallFrom(e)
|
||||
}, readOnly: !0
|
||||
}], u = e("../keyboard/hash_handler").HashHandler, a = e("../lib/oop");
|
||||
a.inherits(f, u), function () {
|
||||
this.isOccurHandler = !0, this.attach = function (e) {
|
||||
u.call(this, o, e.commands.platform), this.$editor = e
|
||||
};
|
||||
var e = this.handleKeyboard;
|
||||
this.handleKeyboard = function (t, n, r, i) {
|
||||
var s = e.call(this, t, n, r, i);
|
||||
return s && s.command ? s : undefined
|
||||
}
|
||||
}.call(f.prototype), f.installIn = function (e) {
|
||||
var t = new this;
|
||||
e.keyBinding.addKeyboardHandler(t), e.commands.addCommands(o)
|
||||
}, f.uninstallFrom = function (e) {
|
||||
e.commands.removeCommands(o);
|
||||
var t = e.getKeyboardHandler();
|
||||
t.isOccurHandler && e.keyBinding.removeKeyboardHandler(t)
|
||||
}, t.occurStartCommand = s
|
||||
}), ace.define("ace/commands/incremental_search_commands", ["require", "exports", "module", "ace/config", "ace/lib/oop", "ace/keyboard/hash_handler", "ace/commands/occur_commands"], function (e, t, n) {
|
||||
function u(e) {
|
||||
this.$iSearch = e
|
||||
}
|
||||
|
||||
var r = e("../config"), i = e("../lib/oop"), s = e("../keyboard/hash_handler").HashHandler,
|
||||
o = e("./occur_commands").occurStartCommand;
|
||||
t.iSearchStartCommands = [{
|
||||
name: "iSearch", bindKey: {win: "Ctrl-F", mac: "Command-F"}, exec: function (e, t) {
|
||||
r.loadModule(["core", "ace/incremental_search"], function (n) {
|
||||
var r = n.iSearch = n.iSearch || new n.IncrementalSearch;
|
||||
r.activate(e, t.backwards), t.jumpToFirstMatch && r.next(t)
|
||||
})
|
||||
}, readOnly: !0
|
||||
}, {
|
||||
name: "iSearchBackwards", exec: function (e, t) {
|
||||
e.execCommand("iSearch", {backwards: !0})
|
||||
}, readOnly: !0
|
||||
}, {
|
||||
name: "iSearchAndGo", bindKey: {win: "Ctrl-K", mac: "Command-G"}, exec: function (e, t) {
|
||||
e.execCommand("iSearch", {jumpToFirstMatch: !0, useCurrentOrPrevSearch: !0})
|
||||
}, readOnly: !0
|
||||
}, {
|
||||
name: "iSearchBackwardsAndGo", bindKey: {win: "Ctrl-Shift-K", mac: "Command-Shift-G"}, exec: function (e) {
|
||||
e.execCommand("iSearch", {jumpToFirstMatch: !0, backwards: !0, useCurrentOrPrevSearch: !0})
|
||||
}, readOnly: !0
|
||||
}], t.iSearchCommands = [{
|
||||
name: "restartSearch", bindKey: {win: "Ctrl-F", mac: "Command-F"}, exec: function (e) {
|
||||
e.cancelSearch(!0)
|
||||
}
|
||||
}, {
|
||||
name: "searchForward", bindKey: {win: "Ctrl-S|Ctrl-K", mac: "Ctrl-S|Command-G"}, exec: function (e, t) {
|
||||
t.useCurrentOrPrevSearch = !0, e.next(t)
|
||||
}
|
||||
}, {
|
||||
name: "searchBackward",
|
||||
bindKey: {win: "Ctrl-R|Ctrl-Shift-K", mac: "Ctrl-R|Command-Shift-G"},
|
||||
exec: function (e, t) {
|
||||
t.useCurrentOrPrevSearch = !0, t.backwards = !0, e.next(t)
|
||||
}
|
||||
}, {
|
||||
name: "extendSearchTerm", exec: function (e, t) {
|
||||
e.addString(t)
|
||||
}
|
||||
}, {
|
||||
name: "extendSearchTermSpace", bindKey: "space", exec: function (e) {
|
||||
e.addString(" ")
|
||||
}
|
||||
}, {
|
||||
name: "shrinkSearchTerm", bindKey: "backspace", exec: function (e) {
|
||||
e.removeChar()
|
||||
}
|
||||
}, {
|
||||
name: "confirmSearch", bindKey: "return", exec: function (e) {
|
||||
e.deactivate()
|
||||
}
|
||||
}, {
|
||||
name: "cancelSearch", bindKey: "esc|Ctrl-G", exec: function (e) {
|
||||
e.deactivate(!0)
|
||||
}
|
||||
}, {
|
||||
name: "occurisearch", bindKey: "Ctrl-O", exec: function (e) {
|
||||
var t = i.mixin({}, e.$options);
|
||||
e.deactivate(), o.exec(e.$editor, t)
|
||||
}
|
||||
}, {
|
||||
name: "yankNextWord", bindKey: "Ctrl-w", exec: function (e) {
|
||||
var t = e.$editor, n = t.selection.getRangeOfMovements(function (e) {
|
||||
e.moveCursorWordRight()
|
||||
}), r = t.session.getTextRange(n);
|
||||
e.addString(r)
|
||||
}
|
||||
}, {
|
||||
name: "yankNextChar", bindKey: "Ctrl-Alt-y", exec: function (e) {
|
||||
var t = e.$editor, n = t.selection.getRangeOfMovements(function (e) {
|
||||
e.moveCursorRight()
|
||||
}), r = t.session.getTextRange(n);
|
||||
e.addString(r)
|
||||
}
|
||||
}, {
|
||||
name: "recenterTopBottom", bindKey: "Ctrl-l", exec: function (e) {
|
||||
e.$editor.execCommand("recenterTopBottom")
|
||||
}
|
||||
}, {
|
||||
name: "selectAllMatches", bindKey: "Ctrl-space", exec: function (e) {
|
||||
var t = e.$editor, n = t.session.$isearchHighlight, r = n && n.cache ? n.cache.reduce(function (e, t) {
|
||||
return e.concat(t ? t : [])
|
||||
}, []) : [];
|
||||
e.deactivate(!1), r.forEach(t.selection.addRange.bind(t.selection))
|
||||
}
|
||||
}, {
|
||||
name: "searchAsRegExp", bindKey: "Alt-r", exec: function (e) {
|
||||
e.convertNeedleToRegExp()
|
||||
}
|
||||
}].map(function (e) {
|
||||
return e.readOnly = !0, e.isIncrementalSearchCommand = !0, e.scrollIntoView = "animate-cursor", e
|
||||
}), i.inherits(u, s), function () {
|
||||
this.attach = function (e) {
|
||||
var n = this.$iSearch;
|
||||
s.call(this, t.iSearchCommands, e.commands.platform), this.$commandExecHandler = e.commands.on("exec", function (t) {
|
||||
if (!t.command.isIncrementalSearchCommand) return n.deactivate();
|
||||
t.stopPropagation(), t.preventDefault();
|
||||
var r = e.session.getScrollTop(), i = t.command.exec(n, t.args || {});
|
||||
return e.renderer.scrollCursorIntoView(null, .5), e.renderer.animateScrolling(r), i
|
||||
})
|
||||
}, this.detach = function (e) {
|
||||
if (!this.$commandExecHandler) return;
|
||||
e.commands.off("exec", this.$commandExecHandler), delete this.$commandExecHandler
|
||||
};
|
||||
var e = this.handleKeyboard;
|
||||
this.handleKeyboard = function (t, n, r, i) {
|
||||
if ((n === 1 || n === 8) && r === "v" || n === 1 && r === "y") return null;
|
||||
var s = e.call(this, t, n, r, i);
|
||||
if (s && s.command) return s;
|
||||
if (n == -1) {
|
||||
var o = this.commands.extendSearchTerm;
|
||||
if (o) return {command: o, args: r}
|
||||
}
|
||||
return !1
|
||||
}
|
||||
}.call(u.prototype), t.IncrementalSearchKeyboardHandler = u
|
||||
}), ace.define("ace/incremental_search", ["require", "exports", "module", "ace/lib/oop", "ace/range", "ace/search", "ace/search_highlight", "ace/commands/incremental_search_commands", "ace/lib/dom", "ace/commands/command_manager", "ace/editor", "ace/config"], function (e, t, n) {
|
||||
"use strict";
|
||||
|
||||
function f() {
|
||||
this.$options = {wrap: !1, skipCurrent: !1}, this.$keyboardHandler = new a(this)
|
||||
}
|
||||
|
||||
function l(e) {
|
||||
return e instanceof RegExp
|
||||
}
|
||||
|
||||
function c(e) {
|
||||
var t = String(e), n = t.indexOf("/"), r = t.lastIndexOf("/");
|
||||
return {expression: t.slice(n + 1, r), flags: t.slice(r + 1)}
|
||||
}
|
||||
|
||||
function h(e, t) {
|
||||
try {
|
||||
return new RegExp(e, t)
|
||||
} catch (n) {
|
||||
return e
|
||||
}
|
||||
}
|
||||
|
||||
function p(e) {
|
||||
return h(e.expression, e.flags)
|
||||
}
|
||||
|
||||
var r = e("./lib/oop"), i = e("./range").Range, s = e("./search").Search,
|
||||
o = e("./search_highlight").SearchHighlight, u = e("./commands/incremental_search_commands"),
|
||||
a = u.IncrementalSearchKeyboardHandler;
|
||||
r.inherits(f, s), function () {
|
||||
this.activate = function (e, t) {
|
||||
this.$editor = e, this.$startPos = this.$currentPos = e.getCursorPosition(), this.$options.needle = "", this.$options.backwards = t, e.keyBinding.addKeyboardHandler(this.$keyboardHandler), this.$originalEditorOnPaste = e.onPaste, e.onPaste = this.onPaste.bind(this), this.$mousedownHandler = e.on("mousedown", this.onMouseDown.bind(this)), this.selectionFix(e), this.statusMessage(!0)
|
||||
}, this.deactivate = function (e) {
|
||||
this.cancelSearch(e);
|
||||
var t = this.$editor;
|
||||
t.keyBinding.removeKeyboardHandler(this.$keyboardHandler), this.$mousedownHandler && (t.off("mousedown", this.$mousedownHandler), delete this.$mousedownHandler), t.onPaste = this.$originalEditorOnPaste, this.message("")
|
||||
}, this.selectionFix = function (e) {
|
||||
e.selection.isEmpty() && !e.session.$emacsMark && e.clearSelection()
|
||||
}, this.highlight = function (e) {
|
||||
var t = this.$editor.session,
|
||||
n = t.$isearchHighlight = t.$isearchHighlight || t.addDynamicMarker(new o(null, "ace_isearch-result", "text"));
|
||||
n.setRegexp(e), t._emit("changeBackMarker")
|
||||
}, this.cancelSearch = function (e) {
|
||||
var t = this.$editor;
|
||||
return this.$prevNeedle = this.$options.needle, this.$options.needle = "", e ? (t.moveCursorToPosition(this.$startPos), this.$currentPos = this.$startPos) : t.pushEmacsMark && t.pushEmacsMark(this.$startPos, !1), this.highlight(null), i.fromPoints(this.$currentPos, this.$currentPos)
|
||||
}, this.highlightAndFindWithNeedle = function (e, t) {
|
||||
if (!this.$editor) return null;
|
||||
var n = this.$options;
|
||||
t && (n.needle = t.call(this, n.needle || "") || "");
|
||||
if (n.needle.length === 0) return this.statusMessage(!0), this.cancelSearch(!0);
|
||||
n.start = this.$currentPos;
|
||||
var r = this.$editor.session, s = this.find(r),
|
||||
o = this.$editor.emacsMark ? !!this.$editor.emacsMark() : !this.$editor.selection.isEmpty();
|
||||
return s && (n.backwards && (s = i.fromPoints(s.end, s.start)), this.$editor.selection.setRange(i.fromPoints(o ? this.$startPos : s.end, s.end)), e && (this.$currentPos = s.end), this.highlight(n.re)), this.statusMessage(s), s
|
||||
}, this.addString = function (e) {
|
||||
return this.highlightAndFindWithNeedle(!1, function (t) {
|
||||
if (!l(t)) return t + e;
|
||||
var n = c(t);
|
||||
return n.expression += e, p(n)
|
||||
})
|
||||
}, this.removeChar = function (e) {
|
||||
return this.highlightAndFindWithNeedle(!1, function (e) {
|
||||
if (!l(e)) return e.substring(0, e.length - 1);
|
||||
var t = c(e);
|
||||
return t.expression = t.expression.substring(0, t.expression.length - 1), p(t)
|
||||
})
|
||||
}, this.next = function (e) {
|
||||
return e = e || {}, this.$options.backwards = !!e.backwards, this.$currentPos = this.$editor.getCursorPosition(), this.highlightAndFindWithNeedle(!0, function (t) {
|
||||
return e.useCurrentOrPrevSearch && t.length === 0 ? this.$prevNeedle || "" : t
|
||||
})
|
||||
}, this.onMouseDown = function (e) {
|
||||
return this.deactivate(), !0
|
||||
}, this.onPaste = function (e) {
|
||||
this.addString(e)
|
||||
}, this.convertNeedleToRegExp = function () {
|
||||
return this.highlightAndFindWithNeedle(!1, function (e) {
|
||||
return l(e) ? e : h(e, "ig")
|
||||
})
|
||||
}, this.convertNeedleToString = function () {
|
||||
return this.highlightAndFindWithNeedle(!1, function (e) {
|
||||
return l(e) ? c(e).expression : e
|
||||
})
|
||||
}, this.statusMessage = function (e) {
|
||||
var t = this.$options, n = "";
|
||||
n += t.backwards ? "reverse-" : "", n += "isearch: " + t.needle, n += e ? "" : " (not found)", this.message(n)
|
||||
}, this.message = function (e) {
|
||||
this.$editor.showCommandLine && (this.$editor.showCommandLine(e), this.$editor.focus())
|
||||
}
|
||||
}.call(f.prototype), t.IncrementalSearch = f;
|
||||
var d = e("./lib/dom");
|
||||
d.importCssString && d.importCssString(".ace_marker-layer .ace_isearch-result { position: absolute; z-index: 6; box-sizing: border-box;}div.ace_isearch-result { border-radius: 4px; background-color: rgba(255, 200, 0, 0.5); box-shadow: 0 0 4px rgb(255, 200, 0);}.ace_dark div.ace_isearch-result { background-color: rgb(100, 110, 160); box-shadow: 0 0 4px rgb(80, 90, 140);}", "incremental-search-highlighting");
|
||||
var v = e("./commands/command_manager");
|
||||
(function () {
|
||||
this.setupIncrementalSearch = function (e, t) {
|
||||
if (this.usesIncrementalSearch == t) return;
|
||||
this.usesIncrementalSearch = t;
|
||||
var n = u.iSearchStartCommands, r = t ? "addCommands" : "removeCommands";
|
||||
this[r](n)
|
||||
}
|
||||
}).call(v.CommandManager.prototype);
|
||||
var m = e("./editor").Editor;
|
||||
e("./config").defineOptions(m.prototype, "editor", {
|
||||
useIncrementalSearch: {
|
||||
set: function (e) {
|
||||
this.keyBinding.$handlers.forEach(function (t) {
|
||||
t.setupIncrementalSearch && t.setupIncrementalSearch(this, e)
|
||||
}), this._emit("incrementalSearchSettingChanged", {isEnabled: e})
|
||||
}
|
||||
}
|
||||
})
|
||||
}), ace.define("ace/keyboard/emacs", ["require", "exports", "module", "ace/lib/dom", "ace/incremental_search", "ace/commands/incremental_search_commands", "ace/keyboard/hash_handler", "ace/lib/keys"], function (e, t, n) {
|
||||
"use strict";
|
||||
var r = e("../lib/dom");
|
||||
e("../incremental_search");
|
||||
var i = e("../commands/incremental_search_commands"), s = e("./hash_handler").HashHandler;
|
||||
t.handler = new s, t.handler.isEmacs = !0, t.handler.$id = "ace/keyboard/emacs";
|
||||
var o = !1, u, a;
|
||||
t.handler.attach = function (e) {
|
||||
o || (o = !0, r.importCssString(" .emacs-mode .ace_cursor{ border: 1px rgba(50,250,50,0.8) solid!important; box-sizing: border-box!important; background-color: rgba(0,250,0,0.9); opacity: 0.5; } .emacs-mode .ace_hidden-cursors .ace_cursor{ opacity: 1; background-color: transparent; } .emacs-mode .ace_overwrite-cursors .ace_cursor { opacity: 1; background-color: transparent; border-width: 0 0 2px 2px !important; } .emacs-mode .ace_text-layer { z-index: 4 } .emacs-mode .ace_cursor-layer { z-index: 2 }", "emacsMode")), u = e.session.$selectLongWords, e.session.$selectLongWords = !0, a = e.session.$useEmacsStyleLineStart, e.session.$useEmacsStyleLineStart = !0, e.session.$emacsMark = null, e.session.$emacsMarkRing = e.session.$emacsMarkRing || [], e.emacsMark = function () {
|
||||
return this.session.$emacsMark
|
||||
}, e.setEmacsMark = function (e) {
|
||||
this.session.$emacsMark = e
|
||||
}, e.pushEmacsMark = function (e, t) {
|
||||
var n = this.session.$emacsMark;
|
||||
n && this.session.$emacsMarkRing.push(n), !e || t ? this.setEmacsMark(e) : this.session.$emacsMarkRing.push(e)
|
||||
}, e.popEmacsMark = function () {
|
||||
var e = this.emacsMark();
|
||||
return e ? (this.setEmacsMark(null), e) : this.session.$emacsMarkRing.pop()
|
||||
}, e.getLastEmacsMark = function (e) {
|
||||
return this.session.$emacsMark || this.session.$emacsMarkRing.slice(-1)[0]
|
||||
}, e.emacsMarkForSelection = function (e) {
|
||||
var t = this.selection, n = this.multiSelect ? this.multiSelect.getAllRanges().length : 1, r = t.index || 0,
|
||||
i = this.session.$emacsMarkRing, s = i.length - (n - r), o = i[s] || t.anchor;
|
||||
return e && i.splice(s, 1, "row" in e && "column" in e ? e : undefined), o
|
||||
}, e.on("click", l), e.on("changeSession", f), e.renderer.$blockCursor = !0, e.setStyle("emacs-mode"), e.commands.addCommands(d), t.handler.platform = e.commands.platform, e.$emacsModeHandler = this, e.on("copy", this.onCopy), e.on("paste", this.onPaste)
|
||||
}, t.handler.detach = function (e) {
|
||||
e.renderer.$blockCursor = !1, e.session.$selectLongWords = u, e.session.$useEmacsStyleLineStart = a, e.off("click", l), e.off("changeSession", f), e.unsetStyle("emacs-mode"), e.commands.removeCommands(d), e.off("copy", this.onCopy), e.off("paste", this.onPaste), e.$emacsModeHandler = null
|
||||
};
|
||||
var f = function (e) {
|
||||
e.oldSession && (e.oldSession.$selectLongWords = u, e.oldSession.$useEmacsStyleLineStart = a), u = e.session.$selectLongWords, e.session.$selectLongWords = !0, a = e.session.$useEmacsStyleLineStart, e.session.$useEmacsStyleLineStart = !0, e.session.hasOwnProperty("$emacsMark") || (e.session.$emacsMark = null), e.session.hasOwnProperty("$emacsMarkRing") || (e.session.$emacsMarkRing = [])
|
||||
}, l = function (e) {
|
||||
e.editor.session.$emacsMark = null
|
||||
}, c = e("../lib/keys").KEY_MODS, h = {C: "ctrl", S: "shift", M: "alt", CMD: "command"},
|
||||
p = ["C-S-M-CMD", "S-M-CMD", "C-M-CMD", "C-S-CMD", "C-S-M", "M-CMD", "S-CMD", "S-M", "C-CMD", "C-M", "C-S", "CMD", "M", "S", "C"];
|
||||
p.forEach(function (e) {
|
||||
var t = 0;
|
||||
e.split("-").forEach(function (e) {
|
||||
t |= c[h[e]]
|
||||
}), h[t] = e.toLowerCase() + "-"
|
||||
}), t.handler.onCopy = function (e, n) {
|
||||
if (n.$handlesEmacsOnCopy) return;
|
||||
n.$handlesEmacsOnCopy = !0, t.handler.commands.killRingSave.exec(n), n.$handlesEmacsOnCopy = !1
|
||||
}, t.handler.onPaste = function (e, t) {
|
||||
t.pushEmacsMark(t.getCursorPosition())
|
||||
}, t.handler.bindKey = function (e, t) {
|
||||
typeof e == "object" && (e = e[this.platform]);
|
||||
if (!e) return;
|
||||
var n = this.commandKeyBinding;
|
||||
e.split("|").forEach(function (e) {
|
||||
e = e.toLowerCase(), n[e] = t;
|
||||
var r = e.split(" ").slice(0, -1);
|
||||
r.reduce(function (e, t, n) {
|
||||
var r = e[n - 1] ? e[n - 1] + " " : "";
|
||||
return e.concat([r + t])
|
||||
}, []).forEach(function (e) {
|
||||
n[e] || (n[e] = "null")
|
||||
})
|
||||
}, this)
|
||||
}, t.handler.getStatusText = function (e, t) {
|
||||
var n = "";
|
||||
return t.count && (n += t.count), t.keyChain && (n += " " + t.keyChain), n
|
||||
}, t.handler.handleKeyboard = function (e, t, n, r) {
|
||||
if (r === -1) return undefined;
|
||||
var i = e.editor;
|
||||
i._signal("changeStatus");
|
||||
if (t == -1) {
|
||||
i.pushEmacsMark();
|
||||
if (e.count) {
|
||||
var s = (new Array(e.count + 1)).join(n);
|
||||
return e.count = null, {command: "insertstring", args: s}
|
||||
}
|
||||
}
|
||||
var o = h[t];
|
||||
if (o == "c-" || e.count) {
|
||||
var u = parseInt(n[n.length - 1]);
|
||||
if (typeof u == "number" && !isNaN(u)) return e.count = Math.max(e.count, 0) || 0, e.count = 10 * e.count + u, {command: "null"}
|
||||
}
|
||||
o && (n = o + n), e.keyChain && (n = e.keyChain += " " + n);
|
||||
var a = this.commandKeyBinding[n];
|
||||
e.keyChain = a == "null" ? n : "";
|
||||
if (!a) return undefined;
|
||||
if (a === "null") return {command: "null"};
|
||||
if (a === "universalArgument") return e.count = -4, {command: "null"};
|
||||
var f;
|
||||
typeof a != "string" && (f = a.args, a.command && (a = a.command), a === "goorselect" && (a = i.emacsMark() ? f[1] : f[0], f = null));
|
||||
if (typeof a == "string") {
|
||||
(a === "insertstring" || a === "splitline" || a === "togglecomment") && i.pushEmacsMark(), a = this.commands[a] || i.commands.commands[a];
|
||||
if (!a) return undefined
|
||||
}
|
||||
!a.readOnly && !a.isYank && (e.lastCommand = null), !a.readOnly && i.emacsMark() && i.setEmacsMark(null);
|
||||
if (e.count) {
|
||||
var u = e.count;
|
||||
e.count = 0;
|
||||
if (!a || !a.handlesCount) return {
|
||||
args: f, command: {
|
||||
exec: function (e, t) {
|
||||
for (var n = 0; n < u; n++) a.exec(e, t)
|
||||
}, multiSelectAction: a.multiSelectAction
|
||||
}
|
||||
};
|
||||
f || (f = {}), typeof f == "object" && (f.count = u)
|
||||
}
|
||||
return {command: a, args: f}
|
||||
}, t.emacsKeys = {
|
||||
"Up|C-p": {command: "goorselect", args: ["golineup", "selectup"]},
|
||||
"Down|C-n": {command: "goorselect", args: ["golinedown", "selectdown"]},
|
||||
"Left|C-b": {command: "goorselect", args: ["gotoleft", "selectleft"]},
|
||||
"Right|C-f": {command: "goorselect", args: ["gotoright", "selectright"]},
|
||||
"C-Left|M-b": {command: "goorselect", args: ["gotowordleft", "selectwordleft"]},
|
||||
"C-Right|M-f": {command: "goorselect", args: ["gotowordright", "selectwordright"]},
|
||||
"Home|C-a": {command: "goorselect", args: ["gotolinestart", "selecttolinestart"]},
|
||||
"End|C-e": {command: "goorselect", args: ["gotolineend", "selecttolineend"]},
|
||||
"C-Home|S-M-,": {command: "goorselect", args: ["gotostart", "selecttostart"]},
|
||||
"C-End|S-M-.": {command: "goorselect", args: ["gotoend", "selecttoend"]},
|
||||
"S-Up|S-C-p": "selectup",
|
||||
"S-Down|S-C-n": "selectdown",
|
||||
"S-Left|S-C-b": "selectleft",
|
||||
"S-Right|S-C-f": "selectright",
|
||||
"S-C-Left|S-M-b": "selectwordleft",
|
||||
"S-C-Right|S-M-f": "selectwordright",
|
||||
"S-Home|S-C-a": "selecttolinestart",
|
||||
"S-End|S-C-e": "selecttolineend",
|
||||
"S-C-Home": "selecttostart",
|
||||
"S-C-End": "selecttoend",
|
||||
"C-l": "recenterTopBottom",
|
||||
"M-s": "centerselection",
|
||||
"M-g": "gotoline",
|
||||
"C-x C-p": "selectall",
|
||||
"C-Down": {command: "goorselect", args: ["gotopagedown", "selectpagedown"]},
|
||||
"C-Up": {command: "goorselect", args: ["gotopageup", "selectpageup"]},
|
||||
"PageDown|C-v": {command: "goorselect", args: ["gotopagedown", "selectpagedown"]},
|
||||
"PageUp|M-v": {command: "goorselect", args: ["gotopageup", "selectpageup"]},
|
||||
"S-C-Down": "selectpagedown",
|
||||
"S-C-Up": "selectpageup",
|
||||
"C-s": "iSearch",
|
||||
"C-r": "iSearchBackwards",
|
||||
"M-C-s": "findnext",
|
||||
"M-C-r": "findprevious",
|
||||
"S-M-5": "replace",
|
||||
Backspace: "backspace",
|
||||
"Delete|C-d": "del",
|
||||
"Return|C-m": {command: "insertstring", args: "\n"},
|
||||
"C-o": "splitline",
|
||||
"M-d|C-Delete": {command: "killWord", args: "right"},
|
||||
"C-Backspace|M-Backspace|M-Delete": {command: "killWord", args: "left"},
|
||||
"C-k": "killLine",
|
||||
"C-y|S-Delete": "yank",
|
||||
"M-y": "yankRotate",
|
||||
"C-g": "keyboardQuit",
|
||||
"C-w|C-S-W": "killRegion",
|
||||
"M-w": "killRingSave",
|
||||
"C-Space": "setMark",
|
||||
"C-x C-x": "exchangePointAndMark",
|
||||
"C-t": "transposeletters",
|
||||
"M-u": "touppercase",
|
||||
"M-l": "tolowercase",
|
||||
"M-/": "autocomplete",
|
||||
"C-u": "universalArgument",
|
||||
"M-;": "togglecomment",
|
||||
"C-/|C-x u|S-C--|C-z": "undo",
|
||||
"S-C-/|S-C-x u|C--|S-C-z": "redo",
|
||||
"C-x r": "selectRectangularRegion",
|
||||
"M-x": {command: "focusCommandLine", args: "M-x "}
|
||||
}, t.handler.bindKeys(t.emacsKeys), t.handler.addCommands({
|
||||
recenterTopBottom: function (e) {
|
||||
var t = e.renderer, n = t.$cursorLayer.getPixelPosition(), r = t.$size.scrollerHeight - t.lineHeight,
|
||||
i = t.scrollTop;
|
||||
Math.abs(n.top - i) < 2 ? i = n.top - r : Math.abs(n.top - i - r * .5) < 2 ? i = n.top : i = n.top - r * .5, e.session.setScrollTop(i)
|
||||
}, selectRectangularRegion: function (e) {
|
||||
e.multiSelect.toggleBlockSelection()
|
||||
}, setMark: {
|
||||
exec: function (e, t) {
|
||||
function u() {
|
||||
var t = e.popEmacsMark();
|
||||
t && e.moveCursorToPosition(t)
|
||||
}
|
||||
|
||||
if (t && t.count) {
|
||||
e.inMultiSelectMode ? e.forEachSelection(u) : u(), u();
|
||||
return
|
||||
}
|
||||
var n = e.emacsMark(), r = e.selection.getAllRanges(), i = r.map(function (e) {
|
||||
return {row: e.start.row, column: e.start.column}
|
||||
}), s = !0, o = r.every(function (e) {
|
||||
return e.isEmpty()
|
||||
});
|
||||
if (s && (n || !o)) {
|
||||
e.inMultiSelectMode ? e.forEachSelection({exec: e.clearSelection.bind(e)}) : e.clearSelection(), n && e.pushEmacsMark(null);
|
||||
return
|
||||
}
|
||||
if (!n) {
|
||||
i.forEach(function (t) {
|
||||
e.pushEmacsMark(t)
|
||||
}), e.setEmacsMark(i[i.length - 1]);
|
||||
}
|
||||
}, readOnly: !0, handlesCount: !0
|
||||
}, exchangePointAndMark: {
|
||||
exec: function (t, n) {
|
||||
var r = t.selection;
|
||||
if (!n.count && !r.isEmpty()) {
|
||||
r.setSelectionRange(r.getRange(), !r.isBackwards());
|
||||
return
|
||||
}
|
||||
if (n.count) {
|
||||
var i = {row: r.lead.row, column: r.lead.column};
|
||||
r.clearSelection(), r.moveCursorToPosition(t.emacsMarkForSelection(i))
|
||||
} else r.selectToPosition(t.emacsMarkForSelection())
|
||||
}, readOnly: !0, handlesCount: !0, multiSelectAction: "forEach"
|
||||
}, killWord: {
|
||||
exec: function (e, n) {
|
||||
e.clearSelection(), n == "left" ? e.selection.selectWordLeft() : e.selection.selectWordRight();
|
||||
var r = e.getSelectionRange(), i = e.session.getTextRange(r);
|
||||
t.killRing.add(i), e.session.remove(r), e.clearSelection()
|
||||
}, multiSelectAction: "forEach"
|
||||
}, killLine: function (e) {
|
||||
e.pushEmacsMark(null), e.clearSelection();
|
||||
var n = e.getSelectionRange(), r = e.session.getLine(n.start.row);
|
||||
n.end.column = r.length, r = r.substr(n.start.column);
|
||||
var i = e.session.getFoldLine(n.start.row);
|
||||
i && n.end.row != i.end.row && (n.end.row = i.end.row, r = "x"), /^\s*$/.test(r) && (n.end.row++, r = e.session.getLine(n.end.row), n.end.column = /^\s*$/.test(r) ? r.length : 0);
|
||||
var s = e.session.getTextRange(n);
|
||||
e.prevOp.command == this ? t.killRing.append(s) : t.killRing.add(s), e.session.remove(n), e.clearSelection()
|
||||
}, yank: function (e) {
|
||||
e.onPaste(t.killRing.get() || ""), e.keyBinding.$data.lastCommand = "yank"
|
||||
}, yankRotate: function (e) {
|
||||
if (e.keyBinding.$data.lastCommand != "yank") return;
|
||||
e.undo(), e.session.$emacsMarkRing.pop(), e.onPaste(t.killRing.rotate()), e.keyBinding.$data.lastCommand = "yank"
|
||||
}, killRegion: {
|
||||
exec: function (e) {
|
||||
t.killRing.add(e.getCopyText()), e.commands.byName.cut.exec(e), e.setEmacsMark(null)
|
||||
}, readOnly: !0, multiSelectAction: "forEach"
|
||||
}, killRingSave: {
|
||||
exec: function (e) {
|
||||
e.$handlesEmacsOnCopy = !0;
|
||||
var n = e.session.$emacsMarkRing.slice(), r = [];
|
||||
t.killRing.add(e.getCopyText()), setTimeout(function () {
|
||||
function t() {
|
||||
var t = e.selection, n = t.getRange(), i = t.isBackwards() ? n.end : n.start;
|
||||
r.push({row: i.row, column: i.column}), t.clearSelection()
|
||||
}
|
||||
|
||||
e.$handlesEmacsOnCopy = !1, e.inMultiSelectMode ? e.forEachSelection({exec: t}) : t(), e.setEmacsMark(null), e.session.$emacsMarkRing = n.concat(r.reverse())
|
||||
}, 0)
|
||||
}, readOnly: !0
|
||||
}, keyboardQuit: function (e) {
|
||||
e.selection.clearSelection(), e.setEmacsMark(null), e.keyBinding.$data.count = null
|
||||
}, focusCommandLine: function (e, t) {
|
||||
e.showCommandLine && e.showCommandLine(t)
|
||||
}
|
||||
}), t.handler.addCommands(i.iSearchStartCommands);
|
||||
var d = t.handler.commands;
|
||||
d.yank.isYank = !0, d.yankRotate.isYank = !0, t.killRing = {
|
||||
$data: [], add: function (e) {
|
||||
e && this.$data.push(e), this.$data.length > 30 && this.$data.shift()
|
||||
}, append: function (e) {
|
||||
var t = this.$data.length - 1, n = this.$data[t] || "";
|
||||
e && (n += e), n && (this.$data[t] = n)
|
||||
}, get: function (e) {
|
||||
return e = e || 1, this.$data.slice(this.$data.length - e, this.$data.length).reverse().join("\n")
|
||||
}, pop: function () {
|
||||
return this.$data.length > 1 && this.$data.pop(), this.get()
|
||||
}, rotate: function () {
|
||||
return this.$data.unshift(this.$data.pop()), this.get()
|
||||
}
|
||||
}
|
||||
});
|
||||
(function () {
|
||||
ace.require(["ace/keyboard/emacs"], function (m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
8
src/main/resources/static/js/ace/keybinding-sublime.js
vendored
Normal file
8
src/main/resources/static/js/ace/keybinding-sublime.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
src/main/resources/static/js/ace/keybinding-vim.js
vendored
Normal file
7
src/main/resources/static/js/ace/keybinding-vim.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
src/main/resources/static/js/ace/keybinding-vscode.js
vendored
Normal file
8
src/main/resources/static/js/ace/keybinding-vscode.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
src/main/resources/static/js/ace/mode-mar.js
vendored
4
src/main/resources/static/js/ace/mode-mar.js
vendored
@ -33,7 +33,7 @@
|
||||
* IT MIGHT NOT BE PERFECT ...But it's a good start from an existing *.tmlanguage file. *
|
||||
* fileTypes *
|
||||
****************************************************************************************/
|
||||
define("ace/mode/mar_rules", ["require", "exports", "ace/lib/oop", "ace/mode/text_highlight_rules"], function (require, exports) {
|
||||
ace.define("ace/mode/mar_rules", ["require", "exports", "ace/lib/oop", "ace/mode/text_highlight_rules"], function (require, exports) {
|
||||
"use strict";
|
||||
|
||||
var oop = require("../lib/oop");
|
||||
@ -95,7 +95,7 @@ define("ace/mode/mar_rules", ["require", "exports", "ace/lib/oop", "ace/mode/tex
|
||||
exports.MarHighlightRules = MarHighlightRules;
|
||||
});
|
||||
|
||||
define("ace/mode/mar", ["require", "exports", "ace/lib/oop", "ace/mode/text", "ace/mode/mar_rules"], function (require, exports) {
|
||||
ace.define("ace/mode/mar", ["require", "exports", "ace/lib/oop", "ace/mode/text", "ace/mode/mar_rules"], function (require, exports) {
|
||||
"use strict";
|
||||
|
||||
var oop = require("../lib/oop");
|
||||
|
190
src/main/resources/static/js/ace/theme-ambiance.js
vendored
190
src/main/resources/static/js/ace/theme-ambiance.js
vendored
File diff suppressed because one or more lines are too long
164
src/main/resources/static/js/ace/theme-chaos.js
vendored
164
src/main/resources/static/js/ace/theme-chaos.js
vendored
@ -1,156 +1,8 @@
|
||||
define("ace/theme/chaos", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-chaos";
|
||||
exports.cssText = ".ace-chaos .ace_gutter {\
|
||||
background: #141414;\
|
||||
color: #595959;\
|
||||
border-right: 1px solid #282828;\
|
||||
}\
|
||||
.ace-chaos .ace_gutter-cell.ace_warning {\
|
||||
background-image: none;\
|
||||
background: #FC0;\
|
||||
border-left: none;\
|
||||
padding-left: 0;\
|
||||
color: #000;\
|
||||
}\
|
||||
.ace-chaos .ace_gutter-cell.ace_error {\
|
||||
background-position: -6px center;\
|
||||
background-image: none;\
|
||||
background: #F10;\
|
||||
border-left: none;\
|
||||
padding-left: 0;\
|
||||
color: #000;\
|
||||
}\
|
||||
.ace-chaos .ace_print-margin {\
|
||||
border-left: 1px solid #555;\
|
||||
right: 0;\
|
||||
background: #1D1D1D;\
|
||||
}\
|
||||
.ace-chaos {\
|
||||
background-color: #161616;\
|
||||
color: #E6E1DC;\
|
||||
}\
|
||||
.ace-chaos .ace_cursor {\
|
||||
border-left: 2px solid #FFFFFF;\
|
||||
}\
|
||||
.ace-chaos .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #FFFFFF;\
|
||||
}\
|
||||
.ace-chaos .ace_marker-layer .ace_selection {\
|
||||
background: #494836;\
|
||||
}\
|
||||
.ace-chaos .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
.ace-chaos .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #FCE94F;\
|
||||
}\
|
||||
.ace-chaos .ace_marker-layer .ace_active-line {\
|
||||
background: #333;\
|
||||
}\
|
||||
.ace-chaos .ace_gutter-active-line {\
|
||||
background-color: #222;\
|
||||
}\
|
||||
.ace-chaos .ace_invisible {\
|
||||
color: #404040;\
|
||||
}\
|
||||
.ace-chaos .ace_keyword {\
|
||||
color:#00698F;\
|
||||
}\
|
||||
.ace-chaos .ace_keyword.ace_operator {\
|
||||
color:#FF308F;\
|
||||
}\
|
||||
.ace-chaos .ace_constant {\
|
||||
color:#1EDAFB;\
|
||||
}\
|
||||
.ace-chaos .ace_constant.ace_language {\
|
||||
color:#FDC251;\
|
||||
}\
|
||||
.ace-chaos .ace_constant.ace_library {\
|
||||
color:#8DFF0A;\
|
||||
}\
|
||||
.ace-chaos .ace_constant.ace_numeric {\
|
||||
color:#58C554;\
|
||||
}\
|
||||
.ace-chaos .ace_invalid {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#990000;\
|
||||
}\
|
||||
.ace-chaos .ace_invalid.ace_deprecated {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#990000;\
|
||||
}\
|
||||
.ace-chaos .ace_support {\
|
||||
color: #999;\
|
||||
}\
|
||||
.ace-chaos .ace_support.ace_function {\
|
||||
color:#00AEEF;\
|
||||
}\
|
||||
.ace-chaos .ace_function {\
|
||||
color:#00AEEF;\
|
||||
}\
|
||||
.ace-chaos .ace_string {\
|
||||
color:#58C554;\
|
||||
}\
|
||||
.ace-chaos .ace_comment {\
|
||||
color:#555;\
|
||||
font-style:italic;\
|
||||
padding-bottom: 0px;\
|
||||
}\
|
||||
.ace-chaos .ace_variable {\
|
||||
color:#997744;\
|
||||
}\
|
||||
.ace-chaos .ace_meta.ace_tag {\
|
||||
color:#BE53E6;\
|
||||
}\
|
||||
.ace-chaos .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#FFFF89;\
|
||||
}\
|
||||
.ace-chaos .ace_markup.ace_underline {\
|
||||
text-decoration: underline;\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget {\
|
||||
text-align: center;\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget:hover {\
|
||||
color: #777;\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget.ace_start,\
|
||||
.ace-chaos .ace_fold-widget.ace_end,\
|
||||
.ace-chaos .ace_fold-widget.ace_closed{\
|
||||
background: none;\
|
||||
border: none;\
|
||||
box-shadow: none;\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget.ace_start:after {\
|
||||
content: '▾'\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget.ace_end:after {\
|
||||
content: '▴'\
|
||||
}\
|
||||
.ace-chaos .ace_fold-widget.ace_closed:after {\
|
||||
content: '‣'\
|
||||
}\
|
||||
.ace-chaos .ace_indent-guide {\
|
||||
border-right:1px dotted #333;\
|
||||
margin-right:-1px;\
|
||||
}\
|
||||
.ace-chaos .ace_fold { \
|
||||
background: #222; \
|
||||
border-radius: 3px; \
|
||||
color: #7AF; \
|
||||
border: none; \
|
||||
}\
|
||||
.ace-chaos .ace_fold:hover {\
|
||||
background: #CCC; \
|
||||
color: #000;\
|
||||
}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
|
||||
});
|
||||
ace.define("ace/theme/chaos",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-chaos",t.cssText=".ace-chaos .ace_gutter {background: #141414;color: #595959;border-right: 1px solid #282828;}.ace-chaos .ace_gutter-cell.ace_warning {background-image: none;background: #FC0;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_gutter-cell.ace_error {background-position: -6px center;background-image: none;background: #F10;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_print-margin {border-left: 1px solid #555;right: 0;background: #1D1D1D;}.ace-chaos {background-color: #161616;color: #E6E1DC;}.ace-chaos .ace_cursor {border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite {border-left: 0px;border-bottom: 1px solid #FFFFFF;}.ace-chaos .ace_marker-layer .ace_selection {background: #494836;}.ace-chaos .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active-line {background: #333;}.ace-chaos .ace_gutter-active-line {background-color: #222;}.ace-chaos .ace_invisible {color: #404040;}.ace-chaos .ace_keyword {color:#00698F;}.ace-chaos .ace_keyword.ace_operator {color:#FF308F;}.ace-chaos .ace_constant {color:#1EDAFB;}.ace-chaos .ace_constant.ace_language {color:#FDC251;}.ace-chaos .ace_constant.ace_library {color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric {color:#58C554;}.ace-chaos .ace_invalid {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_deprecated {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_support {color: #999;}.ace-chaos .ace_support.ace_function {color:#00AEEF;}.ace-chaos .ace_function {color:#00AEEF;}.ace-chaos .ace_string {color:#58C554;}.ace-chaos .ace_comment {color:#555;font-style:italic;padding-bottom: 0px;}.ace-chaos .ace_variable {color:#997744;}.ace-chaos .ace_meta.ace_tag {color:#BE53E6;}.ace-chaos .ace_entity.ace_other.ace_attribute-name {color:#FFFF89;}.ace-chaos .ace_markup.ace_underline {text-decoration: underline;}.ace-chaos .ace_fold-widget {text-align: center;}.ace-chaos .ace_fold-widget:hover {color: #777;}.ace-chaos .ace_fold-widget.ace_start,.ace-chaos .ace_fold-widget.ace_end,.ace-chaos .ace_fold-widget.ace_closed{background: none !important;border: none;box-shadow: none;}.ace-chaos .ace_fold-widget.ace_start:after {content: '\u25be'}.ace-chaos .ace_fold-widget.ace_end:after {content: '\u25b4'}.ace-chaos .ace_fold-widget.ace_closed:after {content: '\u2023'}.ace-chaos .ace_indent-guide {border-right:1px dotted #333;margin-right:-1px;}.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC; color: #000;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/chaos"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
136
src/main/resources/static/js/ace/theme-chrome.js
vendored
136
src/main/resources/static/js/ace/theme-chrome.js
vendored
@ -1,128 +1,8 @@
|
||||
define("ace/theme/chrome", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-chrome";
|
||||
exports.cssText = ".ace-chrome .ace_gutter {\
|
||||
background: #ebebeb;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
.ace-chrome .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-chrome {\
|
||||
background-color: #FFFFFF;\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-chrome .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-chrome .ace_invisible {\
|
||||
color: rgb(191, 191, 191);\
|
||||
}\
|
||||
.ace-chrome .ace_constant.ace_buildin {\
|
||||
color: rgb(88, 72, 246);\
|
||||
}\
|
||||
.ace-chrome .ace_constant.ace_language {\
|
||||
color: rgb(88, 92, 246);\
|
||||
}\
|
||||
.ace-chrome .ace_constant.ace_library {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-chrome .ace_invalid {\
|
||||
background-color: rgb(153, 0, 0);\
|
||||
color: white;\
|
||||
}\
|
||||
.ace-chrome .ace_fold {\
|
||||
}\
|
||||
.ace-chrome .ace_support.ace_function {\
|
||||
color: rgb(60, 76, 114);\
|
||||
}\
|
||||
.ace-chrome .ace_support.ace_constant {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-chrome .ace_support.ace_type,\
|
||||
.ace-chrome .ace_support.ace_class\
|
||||
.ace-chrome .ace_support.ace_other {\
|
||||
color: rgb(109, 121, 222);\
|
||||
}\
|
||||
.ace-chrome .ace_variable.ace_parameter {\
|
||||
font-style:italic;\
|
||||
color:#FD971F;\
|
||||
}\
|
||||
.ace-chrome .ace_keyword.ace_operator {\
|
||||
color: rgb(104, 118, 135);\
|
||||
}\
|
||||
.ace-chrome .ace_comment {\
|
||||
color: #236e24;\
|
||||
}\
|
||||
.ace-chrome .ace_comment.ace_doc {\
|
||||
color: #236e24;\
|
||||
}\
|
||||
.ace-chrome .ace_comment.ace_doc.ace_tag {\
|
||||
color: #236e24;\
|
||||
}\
|
||||
.ace-chrome .ace_constant.ace_numeric {\
|
||||
color: rgb(0, 0, 205);\
|
||||
}\
|
||||
.ace-chrome .ace_variable {\
|
||||
color: rgb(49, 132, 149);\
|
||||
}\
|
||||
.ace-chrome .ace_xml-pe {\
|
||||
color: rgb(104, 104, 91);\
|
||||
}\
|
||||
.ace-chrome .ace_entity.ace_name.ace_function {\
|
||||
color: #0000A2;\
|
||||
}\
|
||||
.ace-chrome .ace_heading {\
|
||||
color: rgb(12, 7, 255);\
|
||||
}\
|
||||
.ace-chrome .ace_list {\
|
||||
color:rgb(185, 6, 144);\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_step {\
|
||||
background: rgb(252, 255, 0);\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_stack {\
|
||||
background: rgb(164, 229, 101);\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgb(192, 192, 192);\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(0, 0, 0, 0.07);\
|
||||
}\
|
||||
.ace-chrome .ace_gutter-active-line {\
|
||||
background-color : #dcdcdc;\
|
||||
}\
|
||||
.ace-chrome .ace_marker-layer .ace_selected-word {\
|
||||
background: rgb(250, 250, 255);\
|
||||
border: 1px solid rgb(200, 200, 250);\
|
||||
}\
|
||||
.ace-chrome .ace_storage,\
|
||||
.ace-chrome .ace_keyword,\
|
||||
.ace-chrome .ace_meta.ace_tag {\
|
||||
color: rgb(147, 15, 128);\
|
||||
}\
|
||||
.ace-chrome .ace_string.ace_regex {\
|
||||
color: rgb(255, 0, 0)\
|
||||
}\
|
||||
.ace-chrome .ace_string {\
|
||||
color: #1A1AA6;\
|
||||
}\
|
||||
.ace-chrome .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #994409;\
|
||||
}\
|
||||
.ace-chrome .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
||||
}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/chrome"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
103
src/main/resources/static/js/ace/theme-clouds.js
vendored
103
src/main/resources/static/js/ace/theme-clouds.js
vendored
@ -1,95 +1,8 @@
|
||||
define("ace/theme/clouds", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-clouds";
|
||||
exports.cssText = ".ace-clouds .ace_gutter {\
|
||||
background: #ebebeb;\
|
||||
color: #333\
|
||||
}\
|
||||
.ace-clouds .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8\
|
||||
}\
|
||||
.ace-clouds {\
|
||||
background-color: #FFFFFF;\
|
||||
color: #000000\
|
||||
}\
|
||||
.ace-clouds .ace_cursor {\
|
||||
color: #000000\
|
||||
}\
|
||||
.ace-clouds .ace_marker-layer .ace_selection {\
|
||||
background: #BDD5FC\
|
||||
}\
|
||||
.ace-clouds.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #FFFFFF;\
|
||||
}\
|
||||
.ace-clouds .ace_marker-layer .ace_step {\
|
||||
background: rgb(255, 255, 0)\
|
||||
}\
|
||||
.ace-clouds .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #BFBFBF\
|
||||
}\
|
||||
.ace-clouds .ace_marker-layer .ace_active-line {\
|
||||
background: #FFFBD1\
|
||||
}\
|
||||
.ace-clouds .ace_gutter-active-line {\
|
||||
background-color : #dcdcdc\
|
||||
}\
|
||||
.ace-clouds .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid #BDD5FC\
|
||||
}\
|
||||
.ace-clouds .ace_invisible {\
|
||||
color: #BFBFBF\
|
||||
}\
|
||||
.ace-clouds .ace_keyword,\
|
||||
.ace-clouds .ace_meta,\
|
||||
.ace-clouds .ace_support.ace_constant.ace_property-value {\
|
||||
color: #AF956F\
|
||||
}\
|
||||
.ace-clouds .ace_keyword.ace_operator {\
|
||||
color: #484848\
|
||||
}\
|
||||
.ace-clouds .ace_keyword.ace_other.ace_unit {\
|
||||
color: #96DC5F\
|
||||
}\
|
||||
.ace-clouds .ace_constant.ace_language {\
|
||||
color: #39946A\
|
||||
}\
|
||||
.ace-clouds .ace_constant.ace_numeric {\
|
||||
color: #46A609\
|
||||
}\
|
||||
.ace-clouds .ace_constant.ace_character.ace_entity {\
|
||||
color: #BF78CC\
|
||||
}\
|
||||
.ace-clouds .ace_invalid {\
|
||||
background-color: #FF002A\
|
||||
}\
|
||||
.ace-clouds .ace_fold {\
|
||||
background-color: #AF956F;\
|
||||
border-color: #000000\
|
||||
}\
|
||||
.ace-clouds .ace_storage,\
|
||||
.ace-clouds .ace_support.ace_class,\
|
||||
.ace-clouds .ace_support.ace_function,\
|
||||
.ace-clouds .ace_support.ace_other,\
|
||||
.ace-clouds .ace_support.ace_type {\
|
||||
color: #C52727\
|
||||
}\
|
||||
.ace-clouds .ace_string {\
|
||||
color: #5D90CD\
|
||||
}\
|
||||
.ace-clouds .ace_comment {\
|
||||
color: #BCC8BA\
|
||||
}\
|
||||
.ace-clouds .ace_entity.ace_name.ace_tag,\
|
||||
.ace-clouds .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #606060\
|
||||
}\
|
||||
.ace-clouds .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/clouds"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,96 +1,8 @@
|
||||
define("ace/theme/clouds_midnight", ["require", "exports", "module", "ace/lib/dom"], function (require, exports, module) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-clouds-midnight";
|
||||
exports.cssText = ".ace-clouds-midnight .ace_gutter {\
|
||||
background: #232323;\
|
||||
color: #929292\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #232323\
|
||||
}\
|
||||
.ace-clouds-midnight {\
|
||||
background-color: #191919;\
|
||||
color: #929292\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_cursor {\
|
||||
color: #7DA5DC\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_marker-layer .ace_selection {\
|
||||
background: #000000\
|
||||
}\
|
||||
.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #191919;\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #BFBFBF\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(215, 215, 215, 0.031)\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_gutter-active-line {\
|
||||
background-color: rgba(215, 215, 215, 0.031)\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid #000000\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_invisible {\
|
||||
color: #666\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_keyword,\
|
||||
.ace-clouds-midnight .ace_meta,\
|
||||
.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {\
|
||||
color: #927C5D\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_keyword.ace_operator {\
|
||||
color: #4B4B4B\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {\
|
||||
color: #366F1A\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_constant.ace_language {\
|
||||
color: #39946A\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_constant.ace_numeric {\
|
||||
color: #46A609\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_constant.ace_character.ace_entity {\
|
||||
color: #A165AC\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_invalid {\
|
||||
color: #FFFFFF;\
|
||||
background-color: #E92E2E\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_fold {\
|
||||
background-color: #927C5D;\
|
||||
border-color: #929292\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_storage,\
|
||||
.ace-clouds-midnight .ace_support.ace_class,\
|
||||
.ace-clouds-midnight .ace_support.ace_function,\
|
||||
.ace-clouds-midnight .ace_support.ace_other,\
|
||||
.ace-clouds-midnight .ace_support.ace_type {\
|
||||
color: #E92E2E\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_string {\
|
||||
color: #5D90CD\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_comment {\
|
||||
color: #3C403B\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_entity.ace_name.ace_tag,\
|
||||
.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #606060\
|
||||
}\
|
||||
.ace-clouds-midnight .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=".ace-clouds-midnight .ace_gutter {background: #232323;color: #929292}.ace-clouds-midnight .ace_print-margin {width: 1px;background: #232323}.ace-clouds-midnight {background-color: #191919;color: #929292}.ace-clouds-midnight .ace_cursor {color: #7DA5DC}.ace-clouds-midnight .ace_marker-layer .ace_selection {background: #000000}.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #191919;}.ace-clouds-midnight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-clouds-midnight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds-midnight .ace_marker-layer .ace_active-line {background: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #666}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {color: #927C5D}.ace-clouds-midnight .ace_keyword.ace_operator {color: #4B4B4B}.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {color: #366F1A}.ace-clouds-midnight .ace_constant.ace_language {color: #39946A}.ace-clouds-midnight .ace_constant.ace_numeric {color: #46A609}.ace-clouds-midnight .ace_constant.ace_character.ace_entity {color: #A165AC}.ace-clouds-midnight .ace_invalid {color: #FFFFFF;background-color: #E92E2E}.ace-clouds-midnight .ace_fold {background-color: #927C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midnight .ace_comment {color: #3C403B}.ace-clouds-midnight .ace_entity.ace_name.ace_tag,.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds-midnight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/clouds_midnight"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
121
src/main/resources/static/js/ace/theme-cobalt.js
vendored
121
src/main/resources/static/js/ace/theme-cobalt.js
vendored
@ -1,113 +1,8 @@
|
||||
define("ace/theme/cobalt", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-cobalt";
|
||||
exports.cssText = ".ace-cobalt .ace_gutter {\
|
||||
background: #011e3a;\
|
||||
color: rgb(128,145,160)\
|
||||
}\
|
||||
.ace-cobalt .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #555555\
|
||||
}\
|
||||
.ace-cobalt {\
|
||||
background-color: #002240;\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-cobalt .ace_cursor {\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-cobalt .ace_marker-layer .ace_selection {\
|
||||
background: rgba(179, 101, 57, 0.75)\
|
||||
}\
|
||||
.ace-cobalt.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #002240;\
|
||||
}\
|
||||
.ace-cobalt .ace_marker-layer .ace_step {\
|
||||
background: rgb(127, 111, 19)\
|
||||
}\
|
||||
.ace-cobalt .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(255, 255, 255, 0.15)\
|
||||
}\
|
||||
.ace-cobalt .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(0, 0, 0, 0.35)\
|
||||
}\
|
||||
.ace-cobalt .ace_gutter-active-line {\
|
||||
background-color: rgba(0, 0, 0, 0.35)\
|
||||
}\
|
||||
.ace-cobalt .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(179, 101, 57, 0.75)\
|
||||
}\
|
||||
.ace-cobalt .ace_invisible {\
|
||||
color: rgba(255, 255, 255, 0.15)\
|
||||
}\
|
||||
.ace-cobalt .ace_keyword,\
|
||||
.ace-cobalt .ace_meta {\
|
||||
color: #FF9D00\
|
||||
}\
|
||||
.ace-cobalt .ace_constant,\
|
||||
.ace-cobalt .ace_constant.ace_character,\
|
||||
.ace-cobalt .ace_constant.ace_character.ace_escape,\
|
||||
.ace-cobalt .ace_constant.ace_other {\
|
||||
color: #FF628C\
|
||||
}\
|
||||
.ace-cobalt .ace_invalid {\
|
||||
color: #F8F8F8;\
|
||||
background-color: #800F00\
|
||||
}\
|
||||
.ace-cobalt .ace_support {\
|
||||
color: #80FFBB\
|
||||
}\
|
||||
.ace-cobalt .ace_support.ace_constant {\
|
||||
color: #EB939A\
|
||||
}\
|
||||
.ace-cobalt .ace_fold {\
|
||||
background-color: #FF9D00;\
|
||||
border-color: #FFFFFF\
|
||||
}\
|
||||
.ace-cobalt .ace_support.ace_function {\
|
||||
color: #FFB054\
|
||||
}\
|
||||
.ace-cobalt .ace_storage {\
|
||||
color: #FFEE80\
|
||||
}\
|
||||
.ace-cobalt .ace_entity {\
|
||||
color: #FFDD00\
|
||||
}\
|
||||
.ace-cobalt .ace_string {\
|
||||
color: #3AD900\
|
||||
}\
|
||||
.ace-cobalt .ace_string.ace_regexp {\
|
||||
color: #80FFC2\
|
||||
}\
|
||||
.ace-cobalt .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #0088FF\
|
||||
}\
|
||||
.ace-cobalt .ace_heading,\
|
||||
.ace-cobalt .ace_markup.ace_heading {\
|
||||
color: #C8E4FD;\
|
||||
background-color: #001221\
|
||||
}\
|
||||
.ace-cobalt .ace_list,\
|
||||
.ace-cobalt .ace_markup.ace_list {\
|
||||
background-color: #130D26\
|
||||
}\
|
||||
.ace-cobalt .ace_variable {\
|
||||
color: #CCCCCC\
|
||||
}\
|
||||
.ace-cobalt .ace_variable.ace_language {\
|
||||
color: #FF80E1\
|
||||
}\
|
||||
.ace-cobalt .ace_meta.ace_tag {\
|
||||
color: #9EFFFF\
|
||||
}\
|
||||
.ace-cobalt .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y\
|
||||
}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/cobalt",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-cobalt",t.cssText=".ace-cobalt .ace_gutter {background: #011e3a;color: rgb(128,145,160)}.ace-cobalt .ace_print-margin {width: 1px;background: #555555}.ace-cobalt {background-color: #002240;color: #FFFFFF}.ace-cobalt .ace_cursor {color: #FFFFFF}.ace-cobalt .ace_marker-layer .ace_selection {background: rgba(179, 101, 57, 0.75)}.ace-cobalt.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002240;}.ace-cobalt .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-cobalt .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_marker-layer .ace_selected-word {border: 1px solid rgba(179, 101, 57, 0.75)}.ace-cobalt .ace_invisible {color: rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_keyword,.ace-cobalt .ace_meta {color: #FF9D00}.ace-cobalt .ace_constant,.ace-cobalt .ace_constant.ace_character,.ace-cobalt .ace_constant.ace_character.ace_escape,.ace-cobalt .ace_constant.ace_other {color: #FF628C}.ace-cobalt .ace_invalid {color: #F8F8F8;background-color: #800F00}.ace-cobalt .ace_support {color: #80FFBB}.ace-cobalt .ace_support.ace_constant {color: #EB939A}.ace-cobalt .ace_fold {background-color: #FF9D00;border-color: #FFFFFF}.ace-cobalt .ace_support.ace_function {color: #FFB054}.ace-cobalt .ace_storage {color: #FFEE80}.ace-cobalt .ace_entity {color: #FFDD00}.ace-cobalt .ace_string {color: #3AD900}.ace-cobalt .ace_string.ace_regexp {color: #80FFC2}.ace-cobalt .ace_comment {font-style: italic;color: #0088FF}.ace-cobalt .ace_heading,.ace-cobalt .ace_markup.ace_heading {color: #C8E4FD;background-color: #001221}.ace-cobalt .ace_list,.ace-cobalt .ace_markup.ace_list {background-color: #130D26}.ace-cobalt .ace_variable {color: #CCCCCC}.ace-cobalt .ace_variable.ace_language {color: #FF80E1}.ace-cobalt .ace_meta.ace_tag {color: #9EFFFF}.ace-cobalt .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/cobalt"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,118 +1,8 @@
|
||||
define("ace/theme/crimson_editor", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
exports.isDark = false;
|
||||
exports.cssText = ".ace-crimson-editor .ace_gutter {\
|
||||
background: #ebebeb;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-crimson-editor {\
|
||||
background-color: #FFFFFF;\
|
||||
color: rgb(64, 64, 64);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_invisible {\
|
||||
color: rgb(191, 191, 191);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_identifier {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_keyword {\
|
||||
color: blue;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_constant.ace_buildin {\
|
||||
color: rgb(88, 72, 246);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_constant.ace_language {\
|
||||
color: rgb(255, 156, 0);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_constant.ace_library {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_invalid {\
|
||||
text-decoration: line-through;\
|
||||
color: rgb(224, 0, 0);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_fold {\
|
||||
}\
|
||||
.ace-crimson-editor .ace_support.ace_function {\
|
||||
color: rgb(192, 0, 0);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_support.ace_constant {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_support.ace_type,\
|
||||
.ace-crimson-editor .ace_support.ace_class {\
|
||||
color: rgb(109, 121, 222);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_keyword.ace_operator {\
|
||||
color: rgb(49, 132, 149);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_string {\
|
||||
color: rgb(128, 0, 128);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_comment {\
|
||||
color: rgb(76, 136, 107);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_comment.ace_doc {\
|
||||
color: rgb(0, 102, 255);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_comment.ace_doc.ace_tag {\
|
||||
color: rgb(128, 159, 191);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_constant.ace_numeric {\
|
||||
color: rgb(0, 0, 64);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_variable {\
|
||||
color: rgb(0, 64, 128);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_xml-pe {\
|
||||
color: rgb(104, 104, 91);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_step {\
|
||||
background: rgb(252, 255, 0);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_stack {\
|
||||
background: rgb(164, 229, 101);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgb(192, 192, 192);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_active-line {\
|
||||
background: rgb(232, 242, 254);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_gutter-active-line {\
|
||||
background-color : #dcdcdc;\
|
||||
}\
|
||||
.ace-crimson-editor .ace_meta.ace_tag {\
|
||||
color:rgb(28, 2, 255);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_marker-layer .ace_selected-word {\
|
||||
background: rgb(250, 250, 255);\
|
||||
border: 1px solid rgb(200, 200, 250);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_string.ace_regex {\
|
||||
color: rgb(192, 0, 192);\
|
||||
}\
|
||||
.ace-crimson-editor .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
||||
}";
|
||||
|
||||
exports.cssClass = "ace-crimson-editor";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/crimson_editor",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssText='.ace-crimson-editor .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-crimson-editor .ace_gutter-layer {width: 100%;text-align: right;}.ace-crimson-editor .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-crimson-editor {background-color: #FFFFFF;color: rgb(64, 64, 64);}.ace-crimson-editor .ace_cursor {color: black;}.ace-crimson-editor .ace_invisible {color: rgb(191, 191, 191);}.ace-crimson-editor .ace_identifier {color: black;}.ace-crimson-editor .ace_keyword {color: blue;}.ace-crimson-editor .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-crimson-editor .ace_constant.ace_language {color: rgb(255, 156, 0);}.ace-crimson-editor .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_invalid {text-decoration: line-through;color: rgb(224, 0, 0);}.ace-crimson-editor .ace_fold {}.ace-crimson-editor .ace_support.ace_function {color: rgb(192, 0, 0);}.ace-crimson-editor .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_support.ace_type,.ace-crimson-editor .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-crimson-editor .ace_keyword.ace_operator {color: rgb(49, 132, 149);}.ace-crimson-editor .ace_string {color: rgb(128, 0, 128);}.ace-crimson-editor .ace_comment {color: rgb(76, 136, 107);}.ace-crimson-editor .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-crimson-editor .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-crimson-editor .ace_constant.ace_numeric {color: rgb(0, 0, 64);}.ace-crimson-editor .ace_variable {color: rgb(0, 64, 128);}.ace-crimson-editor .ace_xml-pe {color: rgb(104, 104, 91);}.ace-crimson-editor .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-crimson-editor .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-crimson-editor .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-crimson-editor .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-crimson-editor .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254);}.ace-crimson-editor .ace_gutter-active-line {background-color : #dcdcdc;}.ace-crimson-editor .ace_meta.ace_tag {color:rgb(28, 2, 255);}.ace-crimson-editor .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-crimson-editor .ace_string.ace_regex {color: rgb(192, 0, 192);}.ace-crimson-editor .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-crimson-editor";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/crimson_editor"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
116
src/main/resources/static/js/ace/theme-dawn.js
vendored
116
src/main/resources/static/js/ace/theme-dawn.js
vendored
@ -1,108 +1,8 @@
|
||||
define("ace/theme/dawn", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-dawn";
|
||||
exports.cssText = ".ace-dawn .ace_gutter {\
|
||||
background: #ebebeb;\
|
||||
color: #333\
|
||||
}\
|
||||
.ace-dawn .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8\
|
||||
}\
|
||||
.ace-dawn {\
|
||||
background-color: #F9F9F9;\
|
||||
color: #080808\
|
||||
}\
|
||||
.ace-dawn .ace_cursor {\
|
||||
color: #000000\
|
||||
}\
|
||||
.ace-dawn .ace_marker-layer .ace_selection {\
|
||||
background: rgba(39, 95, 255, 0.30)\
|
||||
}\
|
||||
.ace-dawn.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #F9F9F9;\
|
||||
}\
|
||||
.ace-dawn .ace_marker-layer .ace_step {\
|
||||
background: rgb(255, 255, 0)\
|
||||
}\
|
||||
.ace-dawn .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(75, 75, 126, 0.50)\
|
||||
}\
|
||||
.ace-dawn .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(36, 99, 180, 0.12)\
|
||||
}\
|
||||
.ace-dawn .ace_gutter-active-line {\
|
||||
background-color : #dcdcdc\
|
||||
}\
|
||||
.ace-dawn .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(39, 95, 255, 0.30)\
|
||||
}\
|
||||
.ace-dawn .ace_invisible {\
|
||||
color: rgba(75, 75, 126, 0.50)\
|
||||
}\
|
||||
.ace-dawn .ace_keyword,\
|
||||
.ace-dawn .ace_meta {\
|
||||
color: #794938\
|
||||
}\
|
||||
.ace-dawn .ace_constant,\
|
||||
.ace-dawn .ace_constant.ace_character,\
|
||||
.ace-dawn .ace_constant.ace_character.ace_escape,\
|
||||
.ace-dawn .ace_constant.ace_other {\
|
||||
color: #811F24\
|
||||
}\
|
||||
.ace-dawn .ace_invalid.ace_illegal {\
|
||||
text-decoration: underline;\
|
||||
font-style: italic;\
|
||||
color: #F8F8F8;\
|
||||
background-color: #B52A1D\
|
||||
}\
|
||||
.ace-dawn .ace_invalid.ace_deprecated {\
|
||||
text-decoration: underline;\
|
||||
font-style: italic;\
|
||||
color: #B52A1D\
|
||||
}\
|
||||
.ace-dawn .ace_support {\
|
||||
color: #691C97\
|
||||
}\
|
||||
.ace-dawn .ace_support.ace_constant {\
|
||||
color: #B4371F\
|
||||
}\
|
||||
.ace-dawn .ace_fold {\
|
||||
background-color: #794938;\
|
||||
border-color: #080808\
|
||||
}\
|
||||
.ace-dawn .ace_list,\
|
||||
.ace-dawn .ace_markup.ace_list,\
|
||||
.ace-dawn .ace_support.ace_function {\
|
||||
color: #693A17\
|
||||
}\
|
||||
.ace-dawn .ace_storage {\
|
||||
font-style: italic;\
|
||||
color: #A71D5D\
|
||||
}\
|
||||
.ace-dawn .ace_string {\
|
||||
color: #0B6125\
|
||||
}\
|
||||
.ace-dawn .ace_string.ace_regexp {\
|
||||
color: #CF5628\
|
||||
}\
|
||||
.ace-dawn .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #5A525F\
|
||||
}\
|
||||
.ace-dawn .ace_heading,\
|
||||
.ace-dawn .ace_markup.ace_heading {\
|
||||
color: #19356D\
|
||||
}\
|
||||
.ace-dawn .ace_variable {\
|
||||
color: #234A97\
|
||||
}\
|
||||
.ace-dawn .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dawn",t.cssText=".ace-dawn .ace_gutter {background: #ebebeb;color: #333}.ace-dawn .ace_print-margin {width: 1px;background: #e8e8e8}.ace-dawn {background-color: #F9F9F9;color: #080808}.ace-dawn .ace_cursor {color: #000000}.ace-dawn .ace_marker-layer .ace_selection {background: rgba(39, 95, 255, 0.30)}.ace-dawn.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #F9F9F9;}.ace-dawn .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-dawn .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(75, 75, 126, 0.50)}.ace-dawn .ace_marker-layer .ace_active-line {background: rgba(36, 99, 180, 0.12)}.ace-dawn .ace_gutter-active-line {background-color : #dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word {border: 1px solid rgba(39, 95, 255, 0.30)}.ace-dawn .ace_invisible {color: rgba(75, 75, 126, 0.50)}.ace-dawn .ace_keyword,.ace-dawn .ace_meta {color: #794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other {color: #811F24}.ace-dawn .ace_invalid.ace_illegal {text-decoration: underline;font-style: italic;color: #F8F8F8;background-color: #B52A1D}.ace-dawn .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #B52A1D}.ace-dawn .ace_support {color: #691C97}.ace-dawn .ace_support.ace_constant {color: #B4371F}.ace-dawn .ace_fold {background-color: #794938;border-color: #080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function {color: #693A17}.ace-dawn .ace_storage {font-style: italic;color: #A71D5D}.ace-dawn .ace_string {color: #0B6125}.ace-dawn .ace_string.ace_regexp {color: #CF5628}.ace-dawn .ace_comment {font-style: italic;color: #5A525F}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading {color: #19356D}.ace-dawn .ace_variable {color: #234A97}.ace-dawn .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/dawn"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
129
src/main/resources/static/js/ace/theme-dracula.js
vendored
129
src/main/resources/static/js/ace/theme-dracula.js
vendored
@ -1,121 +1,8 @@
|
||||
define("ace/theme/dracula", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-dracula";
|
||||
exports.cssText = "\
|
||||
ace-dracula .ace_gutter {\
|
||||
background: #282a36;\
|
||||
color: rgb(144,145,148)\
|
||||
}\
|
||||
.ace-dracula .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8\
|
||||
}\
|
||||
.ace-dracula {\
|
||||
background-color: #282a36;\
|
||||
color: #f8f8f2\
|
||||
}\
|
||||
.ace-dracula .ace_cursor {\
|
||||
color: #f8f8f0\
|
||||
}\
|
||||
.ace-dracula .ace_marker-layer .ace_selection {\
|
||||
background: #44475a\
|
||||
}\
|
||||
.ace-dracula.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #282a36;\
|
||||
border-radius: 2px\
|
||||
}\
|
||||
.ace-dracula .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174)\
|
||||
}\
|
||||
.ace-dracula .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #3B3A32\
|
||||
}\
|
||||
.ace-dracula .ace_marker-layer .ace_active-line {\
|
||||
background: #44475a\
|
||||
}\
|
||||
.ace-dracula .ace_gutter-active-line {\
|
||||
background-color: #44475a\
|
||||
}\
|
||||
.ace-dracula .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid #44475a\
|
||||
}\
|
||||
.ace-dracula .ace_fold {\
|
||||
background-color: #50fa7b;\
|
||||
border-color: #f8f8f2\
|
||||
}\
|
||||
.ace-dracula .ace_keyword {\
|
||||
color: #ff79c6\
|
||||
}\
|
||||
.ace-dracula .ace_constant.ace_language {\
|
||||
color: #bd93f9\
|
||||
}\
|
||||
.ace-dracula .ace_constant.ace_numeric {\
|
||||
color: #bd93f9\
|
||||
}\
|
||||
.ace-dracula .ace_constant.ace_character {\
|
||||
color: #bd93f9\
|
||||
}\
|
||||
.ace-dracula .ace_constant.ace_character.ace_escape {\
|
||||
color: #ff79c6\
|
||||
}\
|
||||
.ace-dracula .ace_constant.ace_other {\
|
||||
color: #bd93f9\
|
||||
}\
|
||||
.ace-dracula .ace_support.ace_function {\
|
||||
color: #8be9fd\
|
||||
}\
|
||||
.ace-dracula .ace_support.ace_constant {\
|
||||
color: #6be5fd\
|
||||
}\
|
||||
.ace-dracula .ace_support.ace_class {\
|
||||
font-style: italic;\
|
||||
color: #66d9ef\
|
||||
}\
|
||||
.ace-dracula .ace_support.ace_type {\
|
||||
font-style: italic;\
|
||||
color: #66d9ef\
|
||||
}\
|
||||
.ace-dracula .ace_storage {\
|
||||
color: #ff79c6\
|
||||
}\
|
||||
.ace-dracula .ace_storage.ace_type {\
|
||||
font-style: italic;\
|
||||
color: #8be9fd\
|
||||
}\
|
||||
.ace-dracula .ace_invalid {\
|
||||
color: #F8F8F0;\
|
||||
background-color: #ff79c6\
|
||||
}\
|
||||
.ace-dracula .ace_invalid.ace_deprecated {\
|
||||
color: #F8F8F0;\
|
||||
background-color: #bd93f9\
|
||||
}\
|
||||
.ace-dracula .ace_string {\
|
||||
color: #f1fa8c\
|
||||
}\
|
||||
.ace-dracula .ace_comment {\
|
||||
color: #6272a4\
|
||||
}\
|
||||
.ace-dracula .ace_variable {\
|
||||
color: #50fa7b\
|
||||
}\
|
||||
.ace-dracula .ace_variable.ace_parameter {\
|
||||
font-style: italic;\
|
||||
color: #ffb86c\
|
||||
}\
|
||||
.ace-dracula .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #50fa7b\
|
||||
}\
|
||||
.ace-dracula .ace_entity.ace_name.ace_function {\
|
||||
color: #50fa7b\
|
||||
}\
|
||||
.ace-dracula .ace_entity.ace_name.ace_tag {\
|
||||
color: #ff79c6\
|
||||
}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/dracula",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-dracula",t.cssText=".ace-dracula .ace_gutter {background: #282a36;color: rgb(144,145,148)}.ace-dracula .ace_print-margin {width: 1px;background: #44475a}.ace-dracula {background-color: #282a36;color: #f8f8f2}.ace-dracula .ace_cursor {color: #f8f8f0}.ace-dracula .ace_marker-layer .ace_selection {background: #44475a}.ace-dracula.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #282a36;border-radius: 2px}.ace-dracula .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-dracula .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #a29709}.ace-dracula .ace_marker-layer .ace_active-line {background: #44475a}.ace-dracula .ace_gutter-active-line {background-color: #44475a}.ace-dracula .ace_marker-layer .ace_selected-word {box-shadow: 0px 0px 0px 1px #a29709;border-radius: 3px;}.ace-dracula .ace_fold {background-color: #50fa7b;border-color: #f8f8f2}.ace-dracula .ace_keyword {color: #ff79c6}.ace-dracula .ace_constant.ace_language {color: #bd93f9}.ace-dracula .ace_constant.ace_numeric {color: #bd93f9}.ace-dracula .ace_constant.ace_character {color: #bd93f9}.ace-dracula .ace_constant.ace_character.ace_escape {color: #ff79c6}.ace-dracula .ace_constant.ace_other {color: #bd93f9}.ace-dracula .ace_support.ace_function {color: #8be9fd}.ace-dracula .ace_support.ace_constant {color: #6be5fd}.ace-dracula .ace_support.ace_class {font-style: italic;color: #66d9ef}.ace-dracula .ace_support.ace_type {font-style: italic;color: #66d9ef}.ace-dracula .ace_storage {color: #ff79c6}.ace-dracula .ace_storage.ace_type {font-style: italic;color: #8be9fd}.ace-dracula .ace_invalid {color: #F8F8F0;background-color: #ff79c6}.ace-dracula .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #bd93f9}.ace-dracula .ace_string {color: #f1fa8c}.ace-dracula .ace_comment {color: #6272a4}.ace-dracula .ace_variable {color: #50fa7b}.ace-dracula .ace_variable.ace_parameter {font-style: italic;color: #ffb86c}.ace-dracula .ace_entity.ace_other.ace_attribute-name {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_function {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_tag {color: #ff79c6}.ace-dracula .ace_invisible {color: #626680;}.ace-dracula .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}",t.$selectionColorConflict=!0;var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/dracula"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,141 +1,8 @@
|
||||
define("ace/theme/dreamweaver", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-dreamweaver";
|
||||
exports.cssText = ".ace-dreamweaver .ace_gutter {\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-dreamweaver {\
|
||||
background-color: #FFFFFF;\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_fold {\
|
||||
background-color: #757AD8;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_invisible {\
|
||||
color: rgb(191, 191, 191);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_storage,\
|
||||
.ace-dreamweaver .ace_keyword {\
|
||||
color: blue;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_constant.ace_buildin {\
|
||||
color: rgb(88, 72, 246);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_constant.ace_language {\
|
||||
color: rgb(88, 92, 246);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_constant.ace_library {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_invalid {\
|
||||
background-color: rgb(153, 0, 0);\
|
||||
color: white;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_support.ace_function {\
|
||||
color: rgb(60, 76, 114);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_support.ace_constant {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_support.ace_type,\
|
||||
.ace-dreamweaver .ace_support.ace_class {\
|
||||
color: #009;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_support.ace_php_tag {\
|
||||
color: #f00;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_keyword.ace_operator {\
|
||||
color: rgb(104, 118, 135);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_string {\
|
||||
color: #00F;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_comment {\
|
||||
color: rgb(76, 136, 107);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_comment.ace_doc {\
|
||||
color: rgb(0, 102, 255);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_comment.ace_doc.ace_tag {\
|
||||
color: rgb(128, 159, 191);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_constant.ace_numeric {\
|
||||
color: rgb(0, 0, 205);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_variable {\
|
||||
color: #06F\
|
||||
}\
|
||||
.ace-dreamweaver .ace_xml-pe {\
|
||||
color: rgb(104, 104, 91);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_entity.ace_name.ace_function {\
|
||||
color: #00F;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_heading {\
|
||||
color: rgb(12, 7, 255);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_list {\
|
||||
color:rgb(185, 6, 144);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_step {\
|
||||
background: rgb(252, 255, 0);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_stack {\
|
||||
background: rgb(164, 229, 101);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgb(192, 192, 192);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(0, 0, 0, 0.07);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_gutter-active-line {\
|
||||
background-color : #DCDCDC;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_marker-layer .ace_selected-word {\
|
||||
background: rgb(250, 250, 255);\
|
||||
border: 1px solid rgb(200, 200, 250);\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag {\
|
||||
color:#009;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_anchor {\
|
||||
color:#060;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_form {\
|
||||
color:#F90;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_image {\
|
||||
color:#909;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_script {\
|
||||
color:#900;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_style {\
|
||||
color:#909;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_meta.ace_tag.ace_table {\
|
||||
color:#099;\
|
||||
}\
|
||||
.ace-dreamweaver .ace_string.ace_regex {\
|
||||
color: rgb(255, 0, 0)\
|
||||
}\
|
||||
.ace-dreamweaver .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/dreamweaver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dreamweaver",t.cssText='.ace-dreamweaver .ace_gutter {background: #e8e8e8;color: #333;}.ace-dreamweaver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-dreamweaver {background-color: #FFFFFF;color: black;}.ace-dreamweaver .ace_fold {background-color: #757AD8;}.ace-dreamweaver .ace_cursor {color: black;}.ace-dreamweaver .ace_invisible {color: rgb(191, 191, 191);}.ace-dreamweaver .ace_storage,.ace-dreamweaver .ace_keyword {color: blue;}.ace-dreamweaver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-dreamweaver .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-dreamweaver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-dreamweaver .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-dreamweaver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_support.ace_type,.ace-dreamweaver .ace_support.ace_class {color: #009;}.ace-dreamweaver .ace_support.ace_php_tag {color: #f00;}.ace-dreamweaver .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-dreamweaver .ace_string {color: #00F;}.ace-dreamweaver .ace_comment {color: rgb(76, 136, 107);}.ace-dreamweaver .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-dreamweaver .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-dreamweaver .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-dreamweaver .ace_variable {color: #06F}.ace-dreamweaver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-dreamweaver .ace_entity.ace_name.ace_function {color: #00F;}.ace-dreamweaver .ace_heading {color: rgb(12, 7, 255);}.ace-dreamweaver .ace_list {color:rgb(185, 6, 144);}.ace-dreamweaver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-dreamweaver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-dreamweaver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-dreamweaver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-dreamweaver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-dreamweaver .ace_gutter-active-line {background-color : #DCDCDC;}.ace-dreamweaver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-dreamweaver .ace_meta.ace_tag {color:#009;}.ace-dreamweaver .ace_meta.ace_tag.ace_anchor {color:#060;}.ace-dreamweaver .ace_meta.ace_tag.ace_form {color:#F90;}.ace-dreamweaver .ace_meta.ace_tag.ace_image {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_script {color:#900;}.ace-dreamweaver .ace_meta.ace_tag.ace_style {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_table {color:#099;}.ace-dreamweaver .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-dreamweaver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/dreamweaver"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
106
src/main/resources/static/js/ace/theme-eclipse.js
vendored
106
src/main/resources/static/js/ace/theme-eclipse.js
vendored
@ -1,98 +1,8 @@
|
||||
define("ace/theme/eclipse", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
"use strict";
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssText = ".ace-eclipse .ace_gutter {\
|
||||
background: #ebebeb;\
|
||||
border-right: 1px solid rgb(159, 159, 159);\
|
||||
color: rgb(136, 136, 136);\
|
||||
}\
|
||||
.ace-eclipse .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #ebebeb;\
|
||||
}\
|
||||
.ace-eclipse {\
|
||||
background-color: #FFFFFF;\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-eclipse .ace_fold {\
|
||||
background-color: rgb(60, 76, 114);\
|
||||
}\
|
||||
.ace-eclipse .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-eclipse .ace_storage,\
|
||||
.ace-eclipse .ace_keyword,\
|
||||
.ace-eclipse .ace_variable {\
|
||||
color: rgb(127, 0, 85);\
|
||||
}\
|
||||
.ace-eclipse .ace_constant.ace_buildin {\
|
||||
color: rgb(88, 72, 246);\
|
||||
}\
|
||||
.ace-eclipse .ace_constant.ace_library {\
|
||||
color: rgb(6, 150, 14);\
|
||||
}\
|
||||
.ace-eclipse .ace_function {\
|
||||
color: rgb(60, 76, 114);\
|
||||
}\
|
||||
.ace-eclipse .ace_string {\
|
||||
color: rgb(42, 0, 255);\
|
||||
}\
|
||||
.ace-eclipse .ace_comment {\
|
||||
color: rgb(113, 150, 130);\
|
||||
}\
|
||||
.ace-eclipse .ace_comment.ace_doc {\
|
||||
color: rgb(63, 95, 191);\
|
||||
}\
|
||||
.ace-eclipse .ace_comment.ace_doc.ace_tag {\
|
||||
color: rgb(127, 159, 191);\
|
||||
}\
|
||||
.ace-eclipse .ace_constant.ace_numeric {\
|
||||
color: darkblue;\
|
||||
}\
|
||||
.ace-eclipse .ace_tag {\
|
||||
color: rgb(25, 118, 116);\
|
||||
}\
|
||||
.ace-eclipse .ace_type {\
|
||||
color: rgb(127, 0, 127);\
|
||||
}\
|
||||
.ace-eclipse .ace_xml-pe {\
|
||||
color: rgb(104, 104, 91);\
|
||||
}\
|
||||
.ace-eclipse .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-eclipse .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgb(192, 192, 192);\
|
||||
}\
|
||||
.ace-eclipse .ace_meta.ace_tag {\
|
||||
color:rgb(25, 118, 116);\
|
||||
}\
|
||||
.ace-eclipse .ace_invisible {\
|
||||
color: #ddd;\
|
||||
}\
|
||||
.ace-eclipse .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:rgb(127, 0, 127);\
|
||||
}\
|
||||
.ace-eclipse .ace_marker-layer .ace_step {\
|
||||
background: rgb(255, 255, 0);\
|
||||
}\
|
||||
.ace-eclipse .ace_active-line {\
|
||||
background: rgb(232, 242, 254);\
|
||||
}\
|
||||
.ace-eclipse .ace_gutter-active-line {\
|
||||
background-color : #DADADA;\
|
||||
}\
|
||||
.ace-eclipse .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-eclipse .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
||||
}";
|
||||
|
||||
exports.cssClass = "ace-eclipse";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-eclipse";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/eclipse"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
111
src/main/resources/static/js/ace/theme-github.js
vendored
111
src/main/resources/static/js/ace/theme-github.js
vendored
@ -1,103 +1,8 @@
|
||||
define("ace/theme/github", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-github";
|
||||
exports.cssText = "\
|
||||
.ace-github .ace_gutter {\
|
||||
background: #e8e8e8;\
|
||||
color: #AAA;\
|
||||
}\
|
||||
.ace-github {\
|
||||
background: #fff;\
|
||||
color: #000;\
|
||||
}\
|
||||
.ace-github .ace_keyword {\
|
||||
font-weight: bold;\
|
||||
}\
|
||||
.ace-github .ace_string {\
|
||||
color: #D14;\
|
||||
}\
|
||||
.ace-github .ace_variable.ace_class {\
|
||||
color: teal;\
|
||||
}\
|
||||
.ace-github .ace_constant.ace_numeric {\
|
||||
color: #099;\
|
||||
}\
|
||||
.ace-github .ace_constant.ace_buildin {\
|
||||
color: #0086B3;\
|
||||
}\
|
||||
.ace-github .ace_support.ace_function {\
|
||||
color: #0086B3;\
|
||||
}\
|
||||
.ace-github .ace_comment {\
|
||||
color: #998;\
|
||||
font-style: italic;\
|
||||
}\
|
||||
.ace-github .ace_variable.ace_language {\
|
||||
color: #0086B3;\
|
||||
}\
|
||||
.ace-github .ace_paren {\
|
||||
font-weight: bold;\
|
||||
}\
|
||||
.ace-github .ace_boolean {\
|
||||
font-weight: bold;\
|
||||
}\
|
||||
.ace-github .ace_string.ace_regexp {\
|
||||
color: #009926;\
|
||||
font-weight: normal;\
|
||||
}\
|
||||
.ace-github .ace_variable.ace_instance {\
|
||||
color: teal;\
|
||||
}\
|
||||
.ace-github .ace_constant.ace_language {\
|
||||
font-weight: bold;\
|
||||
}\
|
||||
.ace-github .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-github.ace_focus .ace_marker-layer .ace_active-line {\
|
||||
background: rgb(255, 255, 204);\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_active-line {\
|
||||
background: rgb(245, 245, 245);\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-github.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px white;\
|
||||
}\
|
||||
.ace-github.ace_nobold .ace_line > span {\
|
||||
font-weight: normal !important;\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_step {\
|
||||
background: rgb(252, 255, 0);\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_stack {\
|
||||
background: rgb(164, 229, 101);\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgb(192, 192, 192);\
|
||||
}\
|
||||
.ace-github .ace_gutter-active-line {\
|
||||
background-color : rgba(0, 0, 0, 0.07);\
|
||||
}\
|
||||
.ace-github .ace_marker-layer .ace_selected-word {\
|
||||
background: rgb(250, 250, 255);\
|
||||
border: 1px solid rgb(200, 200, 250);\
|
||||
}\
|
||||
.ace-github .ace_invisible {\
|
||||
color: #BFBFBF\
|
||||
}\
|
||||
.ace-github .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-github .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/github"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
120
src/main/resources/static/js/ace/theme-gob.js
vendored
120
src/main/resources/static/js/ace/theme-gob.js
vendored
@ -1,112 +1,8 @@
|
||||
define("ace/theme/gob", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-gob";
|
||||
exports.cssText = ".ace-gob .ace_gutter {\
|
||||
background: #0B1818;\
|
||||
color: #03EE03\
|
||||
}\
|
||||
.ace-gob .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #131313\
|
||||
}\
|
||||
.ace-gob {\
|
||||
background-color: #0B0B0B;\
|
||||
color: #00FF00\
|
||||
}\
|
||||
.ace-gob .ace_cursor {\
|
||||
border-color: rgba(16, 248, 255, 0.90);\
|
||||
background-color: rgba(16, 240, 248, 0.70);\
|
||||
opacity: 0.4;\
|
||||
}\
|
||||
.ace-gob .ace_marker-layer .ace_selection {\
|
||||
background: rgba(221, 240, 255, 0.20)\
|
||||
}\
|
||||
.ace-gob.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #141414;\
|
||||
}\
|
||||
.ace-gob .ace_marker-layer .ace_step {\
|
||||
background: rgb(16, 128, 0)\
|
||||
}\
|
||||
.ace-gob .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(64, 255, 255, 0.25)\
|
||||
}\
|
||||
.ace-gob .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(255, 255, 255, 0.04)\
|
||||
}\
|
||||
.ace-gob .ace_gutter-active-line {\
|
||||
background-color: rgba(255, 255, 255, 0.04)\
|
||||
}\
|
||||
.ace-gob .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(192, 240, 255, 0.20)\
|
||||
}\
|
||||
.ace-gob .ace_invisible {\
|
||||
color: rgba(255, 255, 255, 0.25)\
|
||||
}\
|
||||
.ace-gob .ace_keyword,\
|
||||
.ace-gob .ace_meta {\
|
||||
color: #10D8E8\
|
||||
}\
|
||||
.ace-gob .ace_constant,\
|
||||
.ace-gob .ace_constant.ace_character,\
|
||||
.ace-gob .ace_constant.ace_character.ace_escape,\
|
||||
.ace-gob .ace_constant.ace_other,\
|
||||
.ace-gob .ace_heading,\
|
||||
.ace-gob .ace_markup.ace_heading,\
|
||||
.ace-gob .ace_support.ace_constant {\
|
||||
color: #10F0A0\
|
||||
}\
|
||||
.ace-gob .ace_invalid.ace_illegal {\
|
||||
color: #F8F8F8;\
|
||||
background-color: rgba(86, 45, 86, 0.75)\
|
||||
}\
|
||||
.ace-gob .ace_invalid.ace_deprecated {\
|
||||
text-decoration: underline;\
|
||||
font-style: italic;\
|
||||
color: #20F8C0\
|
||||
}\
|
||||
.ace-gob .ace_support {\
|
||||
color: #20E8B0\
|
||||
}\
|
||||
.ace-gob .ace_fold {\
|
||||
background-color: #50B8B8;\
|
||||
border-color: #70F8F8\
|
||||
}\
|
||||
.ace-gob .ace_support.ace_function {\
|
||||
color: #00F800\
|
||||
}\
|
||||
.ace-gob .ace_list,\
|
||||
.ace-gob .ace_markup.ace_list,\
|
||||
.ace-gob .ace_storage {\
|
||||
color: #10FF98\
|
||||
}\
|
||||
.ace-gob .ace_entity.ace_name.ace_function,\
|
||||
.ace-gob .ace_meta.ace_tag,\
|
||||
.ace-gob .ace_variable {\
|
||||
color: #00F868\
|
||||
}\
|
||||
.ace-gob .ace_string {\
|
||||
color: #10F060\
|
||||
}\
|
||||
.ace-gob .ace_string.ace_regexp {\
|
||||
color: #20F090;\
|
||||
}\
|
||||
.ace-gob .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #00E060;\
|
||||
}\
|
||||
.ace-gob .ace_variable {\
|
||||
color: #00F888;\
|
||||
}\
|
||||
.ace-gob .ace_xml-pe {\
|
||||
color: #488858;\
|
||||
}\
|
||||
.ace-gob .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/gob",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-gob",t.cssText=".ace-gob .ace_gutter {background: #0B1818;color: #03EE03}.ace-gob .ace_print-margin {width: 1px;background: #131313}.ace-gob {background-color: #0B0B0B;color: #00FF00}.ace-gob .ace_cursor {border-color: rgba(16, 248, 255, 0.90);background-color: rgba(16, 240, 248, 0.70);opacity: 0.4;}.ace-gob .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-gob.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #141414;}.ace-gob .ace_marker-layer .ace_step {background: rgb(16, 128, 0)}.ace-gob .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(64, 255, 255, 0.25)}.ace-gob .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.04)}.ace-gob .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.04)}.ace-gob .ace_marker-layer .ace_selected-word {border: 1px solid rgba(192, 240, 255, 0.20)}.ace-gob .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-gob .ace_keyword,.ace-gob .ace_meta {color: #10D8E8}.ace-gob .ace_constant,.ace-gob .ace_constant.ace_character,.ace-gob .ace_constant.ace_character.ace_escape,.ace-gob .ace_constant.ace_other,.ace-gob .ace_heading,.ace-gob .ace_markup.ace_heading,.ace-gob .ace_support.ace_constant {color: #10F0A0}.ace-gob .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-gob .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #20F8C0}.ace-gob .ace_support {color: #20E8B0}.ace-gob .ace_fold {background-color: #50B8B8;border-color: #70F8F8}.ace-gob .ace_support.ace_function {color: #00F800}.ace-gob .ace_list,.ace-gob .ace_markup.ace_list,.ace-gob .ace_storage {color: #10FF98}.ace-gob .ace_entity.ace_name.ace_function,.ace-gob .ace_meta.ace_tag,.ace-gob .ace_variable {color: #00F868}.ace-gob .ace_string {color: #10F060}.ace-gob .ace_string.ace_regexp {color: #20F090;}.ace-gob .ace_comment {font-style: italic;color: #00E060;}.ace-gob .ace_variable {color: #00F888;}.ace-gob .ace_xml-pe {color: #488858;}.ace-gob .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/gob"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,82 +1,8 @@
|
||||
define("ace/theme/gruvbox", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-gruvbox";
|
||||
exports.cssText = ".ace-gruvbox .ace_gutter-active-line {\
|
||||
background-color: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox {\
|
||||
color: #EBDAB4;\
|
||||
background-color: #1D2021;\
|
||||
}\
|
||||
.ace-gruvbox .ace_invisible {\
|
||||
color: #504945;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_selection {\
|
||||
background: rgba(179, 101, 57, 0.75)\
|
||||
}\
|
||||
.ace-gruvbox.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #002240;\
|
||||
}\
|
||||
.ace-gruvbox .ace_keyword {\
|
||||
color: #8ec07c;\
|
||||
}\
|
||||
.ace-gruvbox .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #928375;\
|
||||
}\
|
||||
.ace-gruvbox .ace-statement {\
|
||||
color: red;\
|
||||
}\
|
||||
.ace-gruvbox .ace_variable {\
|
||||
color: #84A598;\
|
||||
}\
|
||||
.ace-gruvbox .ace_variable.ace_language {\
|
||||
color: #D2879B;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant.ace_language {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant.ace_numeric {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_string {\
|
||||
color: #B8BA37;\
|
||||
}\
|
||||
.ace-gruvbox .ace_support {\
|
||||
color: #F9BC41;\
|
||||
}\
|
||||
.ace-gruvbox .ace_support.ace_function {\
|
||||
color: #F84B3C;\
|
||||
}\
|
||||
.ace-gruvbox .ace_storage {\
|
||||
color: #8FBF7F;\
|
||||
}\
|
||||
.ace-gruvbox .ace_keyword.ace_operator {\
|
||||
color: #EBDAB4;\
|
||||
}\
|
||||
.ace-gruvbox .ace_punctuation.ace_operator {\
|
||||
color: yellow;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_active-line {\
|
||||
background: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_selected-word {\
|
||||
border-radius: 4px;\
|
||||
border: 8px solid #3f475d;\
|
||||
}\
|
||||
.ace-gruvbox .ace_print-margin {\
|
||||
width: 5px;\
|
||||
background: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC\") right repeat-y;\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
|
||||
});
|
||||
ace.define("ace/theme/gruvbox",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-gruvbox",t.cssText='.ace-gruvbox .ace_gutter-active-line {background-color: #3C3836;}.ace-gruvbox {color: #EBDAB4;background-color: #1D2021;}.ace-gruvbox .ace_invisible {color: #504945;}.ace-gruvbox .ace_marker-layer .ace_selection {background: rgba(179, 101, 57, 0.75)}.ace-gruvbox.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002240;}.ace-gruvbox .ace_keyword {color: #8ec07c;}.ace-gruvbox .ace_comment {font-style: italic;color: #928375;}.ace-gruvbox .ace-statement {color: red;}.ace-gruvbox .ace_variable {color: #84A598;}.ace-gruvbox .ace_variable.ace_language {color: #D2879B;}.ace-gruvbox .ace_constant {color: #C2859A;}.ace-gruvbox .ace_constant.ace_language {color: #C2859A;}.ace-gruvbox .ace_constant.ace_numeric {color: #C2859A;}.ace-gruvbox .ace_string {color: #B8BA37;}.ace-gruvbox .ace_support {color: #F9BC41;}.ace-gruvbox .ace_support.ace_function {color: #F84B3C;}.ace-gruvbox .ace_storage {color: #8FBF7F;}.ace-gruvbox .ace_keyword.ace_operator {color: #EBDAB4;}.ace-gruvbox .ace_punctuation.ace_operator {color: yellow;}.ace-gruvbox .ace_marker-layer .ace_active-line {background: #3C3836;}.ace-gruvbox .ace_marker-layer .ace_selected-word {border-radius: 4px;border: 8px solid #3f475d;}.ace-gruvbox .ace_print-margin {width: 5px;background: #3C3836;}.ace-gruvbox .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/gruvbox"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,96 +1,8 @@
|
||||
define("ace/theme/idle_fingers", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-idle-fingers";
|
||||
exports.cssText = ".ace-idle-fingers .ace_gutter {\
|
||||
background: #3b3b3b;\
|
||||
color: rgb(153,153,153)\
|
||||
}\
|
||||
.ace-idle-fingers .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #3b3b3b\
|
||||
}\
|
||||
.ace-idle-fingers {\
|
||||
background-color: #323232;\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-idle-fingers .ace_cursor {\
|
||||
color: #91FF00\
|
||||
}\
|
||||
.ace-idle-fingers .ace_marker-layer .ace_selection {\
|
||||
background: rgba(90, 100, 126, 0.88)\
|
||||
}\
|
||||
.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #323232;\
|
||||
}\
|
||||
.ace-idle-fingers .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-idle-fingers .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #404040\
|
||||
}\
|
||||
.ace-idle-fingers .ace_marker-layer .ace_active-line {\
|
||||
background: #353637\
|
||||
}\
|
||||
.ace-idle-fingers .ace_gutter-active-line {\
|
||||
background-color: #353637\
|
||||
}\
|
||||
.ace-idle-fingers .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(90, 100, 126, 0.88)\
|
||||
}\
|
||||
.ace-idle-fingers .ace_invisible {\
|
||||
color: #404040\
|
||||
}\
|
||||
.ace-idle-fingers .ace_keyword,\
|
||||
.ace-idle-fingers .ace_meta {\
|
||||
color: #CC7833\
|
||||
}\
|
||||
.ace-idle-fingers .ace_constant,\
|
||||
.ace-idle-fingers .ace_constant.ace_character,\
|
||||
.ace-idle-fingers .ace_constant.ace_character.ace_escape,\
|
||||
.ace-idle-fingers .ace_constant.ace_other,\
|
||||
.ace-idle-fingers .ace_support.ace_constant {\
|
||||
color: #6C99BB\
|
||||
}\
|
||||
.ace-idle-fingers .ace_invalid {\
|
||||
color: #FFFFFF;\
|
||||
background-color: #FF0000\
|
||||
}\
|
||||
.ace-idle-fingers .ace_fold {\
|
||||
background-color: #CC7833;\
|
||||
border-color: #FFFFFF\
|
||||
}\
|
||||
.ace-idle-fingers .ace_support.ace_function {\
|
||||
color: #B83426\
|
||||
}\
|
||||
.ace-idle-fingers .ace_variable.ace_parameter {\
|
||||
font-style: italic\
|
||||
}\
|
||||
.ace-idle-fingers .ace_string {\
|
||||
color: #A5C261\
|
||||
}\
|
||||
.ace-idle-fingers .ace_string.ace_regexp {\
|
||||
color: #CCCC33\
|
||||
}\
|
||||
.ace-idle-fingers .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #BC9458\
|
||||
}\
|
||||
.ace-idle-fingers .ace_meta.ace_tag {\
|
||||
color: #FFE5BB\
|
||||
}\
|
||||
.ace-idle-fingers .ace_entity.ace_name {\
|
||||
color: #FFC66D\
|
||||
}\
|
||||
.ace-idle-fingers .ace_collab.ace_user1 {\
|
||||
color: #323232;\
|
||||
background-color: #FFF980\
|
||||
}\
|
||||
.ace-idle-fingers .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-idle-fingers",t.cssText=".ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-color: #323232;color: #FFFFFF}.ace-idle-fingers .ace_cursor {color: #91FF00}.ace-idle-fingers .ace_marker-layer .ace_selection {background: rgba(90, 100, 126, 0.88)}.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #323232;}.ace-idle-fingers .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-idle-fingers .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-idle-fingers .ace_marker-layer .ace_active-line {background: #353637}.ace-idle-fingers .ace_gutter-active-line {background-color: #353637}.ace-idle-fingers .ace_marker-layer .ace_selected-word {border: 1px solid rgba(90, 100, 126, 0.88)}.ace-idle-fingers .ace_invisible {color: #404040}.ace-idle-fingers .ace_keyword,.ace-idle-fingers .ace_meta {color: #CC7833}.ace-idle-fingers .ace_constant,.ace-idle-fingers .ace_constant.ace_character,.ace-idle-fingers .ace_constant.ace_character.ace_escape,.ace-idle-fingers .ace_constant.ace_other,.ace-idle-fingers .ace_support.ace_constant {color: #6C99BB}.ace-idle-fingers .ace_invalid {color: #FFFFFF;background-color: #FF0000}.ace-idle-fingers .ace_fold {background-color: #CC7833;border-color: #FFFFFF}.ace-idle-fingers .ace_support.ace_function {color: #B83426}.ace-idle-fingers .ace_variable.ace_parameter {font-style: italic}.ace-idle-fingers .ace_string {color: #A5C261}.ace-idle-fingers .ace_string.ace_regexp {color: #CCCC33}.ace-idle-fingers .ace_comment {font-style: italic;color: #BC9458}.ace-idle-fingers .ace_meta.ace_tag {color: #FFE5BB}.ace-idle-fingers .ace_entity.ace_name {color: #FFC66D}.ace-idle-fingers .ace_collab.ace_user1 {color: #323232;background-color: #FFF980}.ace-idle-fingers .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/idle_fingers"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
129
src/main/resources/static/js/ace/theme-iplastic.js
vendored
129
src/main/resources/static/js/ace/theme-iplastic.js
vendored
File diff suppressed because one or more lines are too long
@ -1,121 +1,8 @@
|
||||
define("ace/theme/katzenmilch", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-katzenmilch";
|
||||
exports.cssText = ".ace-katzenmilch .ace_gutter,\
|
||||
.ace-katzenmilch .ace_gutter {\
|
||||
background: #e8e8e8;\
|
||||
color: #333\
|
||||
}\
|
||||
.ace-katzenmilch .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8\
|
||||
}\
|
||||
.ace-katzenmilch {\
|
||||
background-color: #f3f2f3;\
|
||||
color: rgba(15, 0, 9, 1.0)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_cursor {\
|
||||
border-left: 2px solid #100011\
|
||||
}\
|
||||
.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #100011\
|
||||
}\
|
||||
.ace-katzenmilch .ace_marker-layer .ace_selection {\
|
||||
background: rgba(100, 5, 208, 0.27)\
|
||||
}\
|
||||
.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #f3f2f3;\
|
||||
}\
|
||||
.ace-katzenmilch .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(0, 0, 0, 0.33);\
|
||||
}\
|
||||
.ace-katzenmilch .ace_marker-layer .ace_active-line {\
|
||||
background: rgb(232, 242, 254)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_gutter-active-line {\
|
||||
background-color: rgb(232, 242, 254)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(100, 5, 208, 0.27)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_invisible {\
|
||||
color: #BFBFBF\
|
||||
}\
|
||||
.ace-katzenmilch .ace_fold {\
|
||||
background-color: rgba(2, 95, 73, 0.97);\
|
||||
border-color: rgba(15, 0, 9, 1.0)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_keyword {\
|
||||
color: #674Aa8;\
|
||||
rbackground-color: rgba(163, 170, 216, 0.055)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_constant.ace_language {\
|
||||
color: #7D7e52;\
|
||||
rbackground-color: rgba(189, 190, 130, 0.059)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_constant.ace_numeric {\
|
||||
color: rgba(79, 130, 123, 0.93);\
|
||||
rbackground-color: rgba(119, 194, 187, 0.059)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_constant.ace_character,\
|
||||
.ace-katzenmilch .ace_constant.ace_other {\
|
||||
color: rgba(2, 95, 105, 1.0);\
|
||||
rbackground-color: rgba(127, 34, 153, 0.063)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_support.ace_function {\
|
||||
color: #9D7e62;\
|
||||
rbackground-color: rgba(189, 190, 130, 0.039)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_support.ace_class {\
|
||||
color: rgba(239, 106, 167, 1.0);\
|
||||
rbackground-color: rgba(239, 106, 167, 0.063)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_storage {\
|
||||
color: rgba(123, 92, 191, 1.0);\
|
||||
rbackground-color: rgba(139, 93, 223, 0.051)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_invalid {\
|
||||
color: #DFDFD5;\
|
||||
rbackground-color: #CC1B27\
|
||||
}\
|
||||
.ace-katzenmilch .ace_string {\
|
||||
color: #5a5f9b;\
|
||||
rbackground-color: rgba(170, 175, 219, 0.035)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: rgba(64, 79, 80, 0.67);\
|
||||
rbackground-color: rgba(95, 15, 255, 0.0078)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_entity.ace_name.ace_function,\
|
||||
.ace-katzenmilch .ace_variable {\
|
||||
color: rgba(2, 95, 73, 0.97);\
|
||||
rbackground-color: rgba(34, 255, 73, 0.12)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_variable.ace_language {\
|
||||
color: #316fcf;\
|
||||
rbackground-color: rgba(58, 175, 255, 0.039)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_variable.ace_parameter {\
|
||||
font-style: italic;\
|
||||
color: rgba(51, 150, 159, 0.87);\
|
||||
rbackground-color: rgba(5, 214, 249, 0.043)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: rgba(73, 70, 194, 0.93);\
|
||||
rbackground-color: rgba(73, 134, 194, 0.035)\
|
||||
}\
|
||||
.ace-katzenmilch .ace_entity.ace_name.ace_tag {\
|
||||
color: #3976a2;\
|
||||
rbackground-color: rgba(73, 166, 210, 0.039)\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/katzenmilch",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-katzenmilch",t.cssText=".ace-katzenmilch .ace_gutter,.ace-katzenmilch .ace_gutter {background: #e8e8e8;color: #333}.ace-katzenmilch .ace_print-margin {width: 1px;background: #e8e8e8}.ace-katzenmilch {background-color: #f3f2f3;color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_cursor {border-left: 2px solid #100011}.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {border-left: 0px;border-bottom: 1px solid #100011}.ace-katzenmilch .ace_marker-layer .ace_selection {background: rgba(100, 5, 208, 0.27)}.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #f3f2f3;}.ace-katzenmilch .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-katzenmilch .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.33);}.ace-katzenmilch .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254)}.ace-katzenmilch .ace_gutter-active-line {background-color: rgb(232, 242, 254)}.ace-katzenmilch .ace_marker-layer .ace_selected-word {border: 1px solid rgba(100, 5, 208, 0.27)}.ace-katzenmilch .ace_invisible {color: #BFBFBF}.ace-katzenmilch .ace_fold {background-color: rgba(2, 95, 73, 0.97);border-color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_keyword {color: #674Aa8;rbackground-color: rgba(163, 170, 216, 0.055)}.ace-katzenmilch .ace_constant.ace_language {color: #7D7e52;rbackground-color: rgba(189, 190, 130, 0.059)}.ace-katzenmilch .ace_constant.ace_numeric {color: rgba(79, 130, 123, 0.93);rbackground-color: rgba(119, 194, 187, 0.059)}.ace-katzenmilch .ace_constant.ace_character,.ace-katzenmilch .ace_constant.ace_other {color: rgba(2, 95, 105, 1.0);rbackground-color: rgba(127, 34, 153, 0.063)}.ace-katzenmilch .ace_support.ace_function {color: #9D7e62;rbackground-color: rgba(189, 190, 130, 0.039)}.ace-katzenmilch .ace_support.ace_class {color: rgba(239, 106, 167, 1.0);rbackground-color: rgba(239, 106, 167, 0.063)}.ace-katzenmilch .ace_storage {color: rgba(123, 92, 191, 1.0);rbackground-color: rgba(139, 93, 223, 0.051)}.ace-katzenmilch .ace_invalid {color: #DFDFD5;rbackground-color: #CC1B27}.ace-katzenmilch .ace_string {color: #5a5f9b;rbackground-color: rgba(170, 175, 219, 0.035)}.ace-katzenmilch .ace_comment {font-style: italic;color: rgba(64, 79, 80, 0.67);rbackground-color: rgba(95, 15, 255, 0.0078)}.ace-katzenmilch .ace_entity.ace_name.ace_function,.ace-katzenmilch .ace_variable {color: rgba(2, 95, 73, 0.97);rbackground-color: rgba(34, 255, 73, 0.12)}.ace-katzenmilch .ace_variable.ace_language {color: #316fcf;rbackground-color: rgba(58, 175, 255, 0.039)}.ace-katzenmilch .ace_variable.ace_parameter {font-style: italic;color: rgba(51, 150, 159, 0.87);rbackground-color: rgba(5, 214, 249, 0.043)}.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {color: rgba(73, 70, 194, 0.93);rbackground-color: rgba(73, 134, 194, 0.035)}.ace-katzenmilch .ace_entity.ace_name.ace_tag {color: #3976a2;rbackground-color: rgba(73, 166, 210, 0.039)}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/katzenmilch"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
112
src/main/resources/static/js/ace/theme-kr_theme.js
vendored
112
src/main/resources/static/js/ace/theme-kr_theme.js
vendored
@ -1,104 +1,8 @@
|
||||
define("ace/theme/kr_theme", ["require", "exports", "module", "ace/lib/dom"], function (require, exports, module) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-kr-theme";
|
||||
exports.cssText = ".ace-kr-theme .ace_gutter {\
|
||||
background: #1c1917;\
|
||||
color: #FCFFE0\
|
||||
}\
|
||||
.ace-kr-theme .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #1c1917\
|
||||
}\
|
||||
.ace-kr-theme {\
|
||||
background-color: #0B0A09;\
|
||||
color: #FCFFE0\
|
||||
}\
|
||||
.ace-kr-theme .ace_cursor {\
|
||||
color: #FF9900\
|
||||
}\
|
||||
.ace-kr-theme .ace_marker-layer .ace_selection {\
|
||||
background: rgba(170, 0, 255, 0.45)\
|
||||
}\
|
||||
.ace-kr-theme.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #0B0A09;\
|
||||
}\
|
||||
.ace-kr-theme .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-kr-theme .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(255, 177, 111, 0.32)\
|
||||
}\
|
||||
.ace-kr-theme .ace_marker-layer .ace_active-line {\
|
||||
background: #38403D\
|
||||
}\
|
||||
.ace-kr-theme .ace_gutter-active-line {\
|
||||
background-color : #38403D\
|
||||
}\
|
||||
.ace-kr-theme .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(170, 0, 255, 0.45)\
|
||||
}\
|
||||
.ace-kr-theme .ace_invisible {\
|
||||
color: rgba(255, 177, 111, 0.32)\
|
||||
}\
|
||||
.ace-kr-theme .ace_keyword,\
|
||||
.ace-kr-theme .ace_meta {\
|
||||
color: #949C8B\
|
||||
}\
|
||||
.ace-kr-theme .ace_constant,\
|
||||
.ace-kr-theme .ace_constant.ace_character,\
|
||||
.ace-kr-theme .ace_constant.ace_character.ace_escape,\
|
||||
.ace-kr-theme .ace_constant.ace_other {\
|
||||
color: rgba(210, 117, 24, 0.76)\
|
||||
}\
|
||||
.ace-kr-theme .ace_invalid {\
|
||||
color: #F8F8F8;\
|
||||
background-color: #A41300\
|
||||
}\
|
||||
.ace-kr-theme .ace_support {\
|
||||
color: #9FC28A\
|
||||
}\
|
||||
.ace-kr-theme .ace_support.ace_constant {\
|
||||
color: #C27E66\
|
||||
}\
|
||||
.ace-kr-theme .ace_fold {\
|
||||
background-color: #949C8B;\
|
||||
border-color: #FCFFE0\
|
||||
}\
|
||||
.ace-kr-theme .ace_support.ace_function {\
|
||||
color: #85873A\
|
||||
}\
|
||||
.ace-kr-theme .ace_storage {\
|
||||
color: #FFEE80\
|
||||
}\
|
||||
.ace-kr-theme .ace_string {\
|
||||
color: rgba(164, 161, 181, 0.8)\
|
||||
}\
|
||||
.ace-kr-theme .ace_string.ace_regexp {\
|
||||
color: rgba(125, 255, 192, 0.65)\
|
||||
}\
|
||||
.ace-kr-theme .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #706D5B\
|
||||
}\
|
||||
.ace-kr-theme .ace_variable {\
|
||||
color: #D1A796\
|
||||
}\
|
||||
.ace-kr-theme .ace_list,\
|
||||
.ace-kr-theme .ace_markup.ace_list {\
|
||||
background-color: #0F0040\
|
||||
}\
|
||||
.ace-kr-theme .ace_variable.ace_language {\
|
||||
color: #FF80E1\
|
||||
}\
|
||||
.ace-kr-theme .ace_meta.ace_tag {\
|
||||
color: #BABD9C\
|
||||
}\
|
||||
.ace-kr-theme .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-kr-theme",t.cssText=".ace-kr-theme .ace_gutter {background: #1c1917;color: #FCFFE0}.ace-kr-theme .ace_print-margin {width: 1px;background: #1c1917}.ace-kr-theme {background-color: #0B0A09;color: #FCFFE0}.ace-kr-theme .ace_cursor {color: #FF9900}.ace-kr-theme .ace_marker-layer .ace_selection {background: rgba(170, 0, 255, 0.45)}.ace-kr-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0B0A09;}.ace-kr-theme .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-kr-theme .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_marker-layer .ace_active-line {background: #38403D}.ace-kr-theme .ace_gutter-active-line {background-color : #38403D}.ace-kr-theme .ace_marker-layer .ace_selected-word {border: 1px solid rgba(170, 0, 255, 0.45)}.ace-kr-theme .ace_invisible {color: rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_keyword,.ace-kr-theme .ace_meta {color: #949C8B}.ace-kr-theme .ace_constant,.ace-kr-theme .ace_constant.ace_character,.ace-kr-theme .ace_constant.ace_character.ace_escape,.ace-kr-theme .ace_constant.ace_other {color: rgba(210, 117, 24, 0.76)}.ace-kr-theme .ace_invalid {color: #F8F8F8;background-color: #A41300}.ace-kr-theme .ace_support {color: #9FC28A}.ace-kr-theme .ace_support.ace_constant {color: #C27E66}.ace-kr-theme .ace_fold {background-color: #949C8B;border-color: #FCFFE0}.ace-kr-theme .ace_support.ace_function {color: #85873A}.ace-kr-theme .ace_storage {color: #FFEE80}.ace-kr-theme .ace_string {color: rgba(164, 161, 181, 0.8)}.ace-kr-theme .ace_string.ace_regexp {color: rgba(125, 255, 192, 0.65)}.ace-kr-theme .ace_comment {font-style: italic;color: #706D5B}.ace-kr-theme .ace_variable {color: #D1A796}.ace-kr-theme .ace_list,.ace-kr-theme .ace_markup.ace_list {background-color: #0F0040}.ace-kr-theme .ace_variable.ace_language {color: #FF80E1}.ace-kr-theme .ace_meta.ace_tag {color: #BABD9C}.ace-kr-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/kr_theme"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
69
src/main/resources/static/js/ace/theme-kuroir.js
vendored
69
src/main/resources/static/js/ace/theme-kuroir.js
vendored
@ -1,61 +1,8 @@
|
||||
define("ace/theme/kuroir", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-kuroir";
|
||||
exports.cssText = "\
|
||||
.ace-kuroir .ace_gutter {\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
}\
|
||||
.ace-kuroir .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-kuroir {\
|
||||
background-color: #E8E9E8;\
|
||||
color: #363636;\
|
||||
}\
|
||||
.ace-kuroir .ace_cursor {\
|
||||
color: #202020;\
|
||||
}\
|
||||
.ace-kuroir .ace_marker-layer .ace_selection {\
|
||||
background: rgba(245, 170, 0, 0.57);\
|
||||
}\
|
||||
.ace-kuroir.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #E8E9E8;\
|
||||
}\
|
||||
.ace-kuroir .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
.ace-kuroir .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(0, 0, 0, 0.29);\
|
||||
}\
|
||||
.ace-kuroir .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(203, 220, 47, 0.22);\
|
||||
}\
|
||||
.ace-kuroir .ace_gutter-active-line {\
|
||||
background-color: rgba(203, 220, 47, 0.22);\
|
||||
}\
|
||||
.ace-kuroir .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(245, 170, 0, 0.57);\
|
||||
}\
|
||||
.ace-kuroir .ace_invisible {\
|
||||
color: #BFBFBF\
|
||||
}\
|
||||
.ace-kuroir .ace_fold {\
|
||||
border-color: #363636;\
|
||||
}\
|
||||
.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;\
|
||||
background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;\
|
||||
font-style:italic;\
|
||||
color:#FD1732;\
|
||||
background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;\
|
||||
background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);\
|
||||
background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;\
|
||||
background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}\
|
||||
";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-kuroir",t.cssText=".ace-kuroir .ace_gutter {background: #e8e8e8;color: #333;}.ace-kuroir .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-kuroir {background-color: #E8E9E8;color: #363636;}.ace-kuroir .ace_cursor {color: #202020;}.ace-kuroir .ace_marker-layer .ace_selection {background: rgba(245, 170, 0, 0.57);}.ace-kuroir.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #E8E9E8;}.ace-kuroir .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-kuroir .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.29);}.ace-kuroir .ace_marker-layer .ace_active-line {background: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_gutter-active-line {background-color: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_marker-layer .ace_selected-word {border: 1px solid rgba(245, 170, 0, 0.57);}.ace-kuroir .ace_invisible {color: #BFBFBF}.ace-kuroir .ace_fold {border-color: #363636;}.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#FD1732;background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/kuroir"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
103
src/main/resources/static/js/ace/theme-merbivore.js
vendored
103
src/main/resources/static/js/ace/theme-merbivore.js
vendored
@ -1,95 +1,8 @@
|
||||
define("ace/theme/merbivore", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-merbivore";
|
||||
exports.cssText = ".ace-merbivore .ace_gutter {\
|
||||
background: #202020;\
|
||||
color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #555651\
|
||||
}\
|
||||
.ace-merbivore {\
|
||||
background-color: #161616;\
|
||||
color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore .ace_cursor {\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-merbivore .ace_marker-layer .ace_selection {\
|
||||
background: #454545\
|
||||
}\
|
||||
.ace-merbivore.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #161616;\
|
||||
}\
|
||||
.ace-merbivore .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-merbivore .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #404040\
|
||||
}\
|
||||
.ace-merbivore .ace_marker-layer .ace_active-line {\
|
||||
background: #333435\
|
||||
}\
|
||||
.ace-merbivore .ace_gutter-active-line {\
|
||||
background-color: #333435\
|
||||
}\
|
||||
.ace-merbivore .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid #454545\
|
||||
}\
|
||||
.ace-merbivore .ace_invisible {\
|
||||
color: #404040\
|
||||
}\
|
||||
.ace-merbivore .ace_entity.ace_name.ace_tag,\
|
||||
.ace-merbivore .ace_keyword,\
|
||||
.ace-merbivore .ace_meta,\
|
||||
.ace-merbivore .ace_meta.ace_tag,\
|
||||
.ace-merbivore .ace_storage,\
|
||||
.ace-merbivore .ace_support.ace_function {\
|
||||
color: #FC6F09\
|
||||
}\
|
||||
.ace-merbivore .ace_constant,\
|
||||
.ace-merbivore .ace_constant.ace_character,\
|
||||
.ace-merbivore .ace_constant.ace_character.ace_escape,\
|
||||
.ace-merbivore .ace_constant.ace_other,\
|
||||
.ace-merbivore .ace_support.ace_type {\
|
||||
color: #1EDAFB\
|
||||
}\
|
||||
.ace-merbivore .ace_constant.ace_character.ace_escape {\
|
||||
color: #519F50\
|
||||
}\
|
||||
.ace-merbivore .ace_constant.ace_language {\
|
||||
color: #FDC251\
|
||||
}\
|
||||
.ace-merbivore .ace_constant.ace_library,\
|
||||
.ace-merbivore .ace_string,\
|
||||
.ace-merbivore .ace_support.ace_constant {\
|
||||
color: #8DFF0A\
|
||||
}\
|
||||
.ace-merbivore .ace_constant.ace_numeric {\
|
||||
color: #58C554\
|
||||
}\
|
||||
.ace-merbivore .ace_invalid {\
|
||||
color: #FFFFFF;\
|
||||
background-color: #990000\
|
||||
}\
|
||||
.ace-merbivore .ace_fold {\
|
||||
background-color: #FC6F09;\
|
||||
border-color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #AD2EA4\
|
||||
}\
|
||||
.ace-merbivore .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #FFFF89\
|
||||
}\
|
||||
.ace-merbivore .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore",t.cssText=".ace-merbivore .ace_gutter {background: #202020;color: #E6E1DC}.ace-merbivore .ace_print-margin {width: 1px;background: #555651}.ace-merbivore {background-color: #161616;color: #E6E1DC}.ace-merbivore .ace_cursor {color: #FFFFFF}.ace-merbivore .ace_marker-layer .ace_selection {background: #454545}.ace-merbivore.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #161616;}.ace-merbivore .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore .ace_gutter-active-line {background-color: #333435}.ace-merbivore .ace_marker-layer .ace_selected-word {border: 1px solid #454545}.ace-merbivore .ace_invisible {color: #404040}.ace-merbivore .ace_entity.ace_name.ace_tag,.ace-merbivore .ace_keyword,.ace-merbivore .ace_meta,.ace-merbivore .ace_meta.ace_tag,.ace-merbivore .ace_storage,.ace-merbivore .ace_support.ace_function {color: #FC6F09}.ace-merbivore .ace_constant,.ace-merbivore .ace_constant.ace_character,.ace-merbivore .ace_constant.ace_character.ace_escape,.ace-merbivore .ace_constant.ace_other,.ace-merbivore .ace_support.ace_type {color: #1EDAFB}.ace-merbivore .ace_constant.ace_character.ace_escape {color: #519F50}.ace-merbivore .ace_constant.ace_language {color: #FDC251}.ace-merbivore .ace_constant.ace_library,.ace-merbivore .ace_string,.ace-merbivore .ace_support.ace_constant {color: #8DFF0A}.ace-merbivore .ace_constant.ace_numeric {color: #58C554}.ace-merbivore .ace_invalid {color: #FFFFFF;background-color: #990000}.ace-merbivore .ace_fold {background-color: #FC6F09;border-color: #E6E1DC}.ace-merbivore .ace_comment {font-style: italic;color: #AD2EA4}.ace-merbivore .ace_entity.ace_other.ace_attribute-name {color: #FFFF89}.ace-merbivore .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/merbivore"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,96 +1,8 @@
|
||||
define("ace/theme/merbivore_soft", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-merbivore-soft";
|
||||
exports.cssText = ".ace-merbivore-soft .ace_gutter {\
|
||||
background: #262424;\
|
||||
color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #262424\
|
||||
}\
|
||||
.ace-merbivore-soft {\
|
||||
background-color: #1C1C1C;\
|
||||
color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_cursor {\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_marker-layer .ace_selection {\
|
||||
background: #494949\
|
||||
}\
|
||||
.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #1C1C1C;\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #404040\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_marker-layer .ace_active-line {\
|
||||
background: #333435\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_gutter-active-line {\
|
||||
background-color: #333435\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid #494949\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_invisible {\
|
||||
color: #404040\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_entity.ace_name.ace_tag,\
|
||||
.ace-merbivore-soft .ace_keyword,\
|
||||
.ace-merbivore-soft .ace_meta,\
|
||||
.ace-merbivore-soft .ace_meta.ace_tag,\
|
||||
.ace-merbivore-soft .ace_storage {\
|
||||
color: #FC803A\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_constant,\
|
||||
.ace-merbivore-soft .ace_constant.ace_character,\
|
||||
.ace-merbivore-soft .ace_constant.ace_character.ace_escape,\
|
||||
.ace-merbivore-soft .ace_constant.ace_other,\
|
||||
.ace-merbivore-soft .ace_support.ace_type {\
|
||||
color: #68C1D8\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_constant.ace_character.ace_escape {\
|
||||
color: #B3E5B4\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_constant.ace_language {\
|
||||
color: #E1C582\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_constant.ace_library,\
|
||||
.ace-merbivore-soft .ace_string,\
|
||||
.ace-merbivore-soft .ace_support.ace_constant {\
|
||||
color: #8EC65F\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_constant.ace_numeric {\
|
||||
color: #7FC578\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_invalid,\
|
||||
.ace-merbivore-soft .ace_invalid.ace_deprecated {\
|
||||
color: #FFFFFF;\
|
||||
background-color: #FE3838\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_fold {\
|
||||
background-color: #FC803A;\
|
||||
border-color: #E6E1DC\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_comment,\
|
||||
.ace-merbivore-soft .ace_meta {\
|
||||
font-style: italic;\
|
||||
color: #AC4BB8\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #EAF1A3\
|
||||
}\
|
||||
.ace-merbivore-soft .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore-soft",t.cssText=".ace-merbivore-soft .ace_gutter {background: #262424;color: #E6E1DC}.ace-merbivore-soft .ace_print-margin {width: 1px;background: #262424}.ace-merbivore-soft {background-color: #1C1C1C;color: #E6E1DC}.ace-merbivore-soft .ace_cursor {color: #FFFFFF}.ace-merbivore-soft .ace_marker-layer .ace_selection {background: #494949}.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1C1C1C;}.ace-merbivore-soft .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore-soft .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore-soft .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore-soft .ace_gutter-active-line {background-color: #333435}.ace-merbivore-soft .ace_marker-layer .ace_selected-word {border: 1px solid #494949}.ace-merbivore-soft .ace_invisible {color: #404040}.ace-merbivore-soft .ace_entity.ace_name.ace_tag,.ace-merbivore-soft .ace_keyword,.ace-merbivore-soft .ace_meta,.ace-merbivore-soft .ace_meta.ace_tag,.ace-merbivore-soft .ace_storage {color: #FC803A}.ace-merbivore-soft .ace_constant,.ace-merbivore-soft .ace_constant.ace_character,.ace-merbivore-soft .ace_constant.ace_character.ace_escape,.ace-merbivore-soft .ace_constant.ace_other,.ace-merbivore-soft .ace_support.ace_type {color: #68C1D8}.ace-merbivore-soft .ace_constant.ace_character.ace_escape {color: #B3E5B4}.ace-merbivore-soft .ace_constant.ace_language {color: #E1C582}.ace-merbivore-soft .ace_constant.ace_library,.ace-merbivore-soft .ace_string,.ace-merbivore-soft .ace_support.ace_constant {color: #8EC65F}.ace-merbivore-soft .ace_constant.ace_numeric {color: #7FC578}.ace-merbivore-soft .ace_invalid,.ace-merbivore-soft .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #FE3838}.ace-merbivore-soft .ace_fold {background-color: #FC803A;border-color: #E6E1DC}.ace-merbivore-soft .ace_comment,.ace-merbivore-soft .ace_meta {font-style: italic;color: #AC4BB8}.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {color: #EAF1A3}.ace-merbivore-soft .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/merbivore_soft"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -1,107 +1,8 @@
|
||||
define("ace/theme/mono_industrial", ["require", "exports", "ace/lib/dom"], function (require, exports) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-mono-industrial";
|
||||
exports.cssText = ".ace-mono-industrial .ace_gutter {\
|
||||
background: #1d2521;\
|
||||
color: #C5C9C9\
|
||||
}\
|
||||
.ace-mono-industrial .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #555651\
|
||||
}\
|
||||
.ace-mono-industrial {\
|
||||
background-color: #222C28;\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-mono-industrial .ace_cursor {\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-mono-industrial .ace_marker-layer .ace_selection {\
|
||||
background: rgba(145, 153, 148, 0.40)\
|
||||
}\
|
||||
.ace-mono-industrial.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #222C28;\
|
||||
}\
|
||||
.ace-mono-industrial .ace_marker-layer .ace_step {\
|
||||
background: rgb(102, 82, 0)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid rgba(102, 108, 104, 0.50)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(12, 13, 12, 0.25)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_gutter-active-line {\
|
||||
background-color: rgba(12, 13, 12, 0.25)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_marker-layer .ace_selected-word {\
|
||||
border: 1px solid rgba(145, 153, 148, 0.40)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_invisible {\
|
||||
color: rgba(102, 108, 104, 0.50)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_string {\
|
||||
background-color: #151C19;\
|
||||
color: #FFFFFF\
|
||||
}\
|
||||
.ace-mono-industrial .ace_keyword,\
|
||||
.ace-mono-industrial .ace_meta {\
|
||||
color: #A39E64\
|
||||
}\
|
||||
.ace-mono-industrial .ace_constant,\
|
||||
.ace-mono-industrial .ace_constant.ace_character,\
|
||||
.ace-mono-industrial .ace_constant.ace_character.ace_escape,\
|
||||
.ace-mono-industrial .ace_constant.ace_numeric,\
|
||||
.ace-mono-industrial .ace_constant.ace_other {\
|
||||
color: #E98800\
|
||||
}\
|
||||
.ace-mono-industrial .ace_entity.ace_name.ace_function,\
|
||||
.ace-mono-industrial .ace_keyword.ace_operator,\
|
||||
.ace-mono-industrial .ace_variable {\
|
||||
color: #A8B3AB\
|
||||
}\
|
||||
.ace-mono-industrial .ace_invalid {\
|
||||
color: #FFFFFF;\
|
||||
background-color: rgba(153, 0, 0, 0.68)\
|
||||
}\
|
||||
.ace-mono-industrial .ace_support.ace_constant {\
|
||||
color: #C87500\
|
||||
}\
|
||||
.ace-mono-industrial .ace_fold {\
|
||||
background-color: #A8B3AB;\
|
||||
border-color: #FFFFFF\
|
||||
}\
|
||||
.ace-mono-industrial .ace_support.ace_function {\
|
||||
color: #588E60\
|
||||
}\
|
||||
.ace-mono-industrial .ace_entity.ace_name,\
|
||||
.ace-mono-industrial .ace_support.ace_class,\
|
||||
.ace-mono-industrial .ace_support.ace_type {\
|
||||
color: #5778B6\
|
||||
}\
|
||||
.ace-mono-industrial .ace_storage {\
|
||||
color: #C23B00\
|
||||
}\
|
||||
.ace-mono-industrial .ace_variable.ace_language,\
|
||||
.ace-mono-industrial .ace_variable.ace_parameter {\
|
||||
color: #648BD2\
|
||||
}\
|
||||
.ace-mono-industrial .ace_comment {\
|
||||
color: #666C68;\
|
||||
background-color: #151C19\
|
||||
}\
|
||||
.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {\
|
||||
color: #909993\
|
||||
}\
|
||||
.ace-mono-industrial .ace_entity.ace_name.ace_tag {\
|
||||
color: #A65EFF\
|
||||
}\
|
||||
.ace-mono-industrial .ace_indent-guide {\
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
ace.define("ace/theme/mono_industrial",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-mono-industrial",t.cssText=".ace-mono-industrial .ace_gutter {background: #1d2521;color: #C5C9C9}.ace-mono-industrial .ace_print-margin {width: 1px;background: #555651}.ace-mono-industrial {background-color: #222C28;color: #FFFFFF}.ace-mono-industrial .ace_cursor {color: #FFFFFF}.ace-mono-industrial .ace_marker-layer .ace_selection {background: rgba(145, 153, 148, 0.40)}.ace-mono-industrial.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #222C28;}.ace-mono-industrial .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-mono-industrial .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_marker-layer .ace_active-line {background: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_gutter-active-line {background-color: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_marker-layer .ace_selected-word {border: 1px solid rgba(145, 153, 148, 0.40)}.ace-mono-industrial .ace_invisible {color: rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_string {background-color: #151C19;color: #FFFFFF}.ace-mono-industrial .ace_keyword,.ace-mono-industrial .ace_meta {color: #A39E64}.ace-mono-industrial .ace_constant,.ace-mono-industrial .ace_constant.ace_character,.ace-mono-industrial .ace_constant.ace_character.ace_escape,.ace-mono-industrial .ace_constant.ace_numeric,.ace-mono-industrial .ace_constant.ace_other {color: #E98800}.ace-mono-industrial .ace_entity.ace_name.ace_function,.ace-mono-industrial .ace_keyword.ace_operator,.ace-mono-industrial .ace_variable {color: #A8B3AB}.ace-mono-industrial .ace_invalid {color: #FFFFFF;background-color: rgba(153, 0, 0, 0.68)}.ace-mono-industrial .ace_support.ace_constant {color: #C87500}.ace-mono-industrial .ace_fold {background-color: #A8B3AB;border-color: #FFFFFF}.ace-mono-industrial .ace_support.ace_function {color: #588E60}.ace-mono-industrial .ace_entity.ace_name,.ace-mono-industrial .ace_support.ace_class,.ace-mono-industrial .ace_support.ace_type {color: #5778B6}.ace-mono-industrial .ace_storage {color: #C23B00}.ace-mono-industrial .ace_variable.ace_language,.ace-mono-industrial .ace_variable.ace_parameter {color: #648BD2}.ace-mono-industrial .ace_comment {color: #666C68;background-color: #151C19}.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {color: #909993}.ace-mono-industrial .ace_entity.ace_name.ace_tag {color: #A65EFF}.ace-mono-industrial .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}); (function() {
|
||||
ace.require(["ace/theme/mono_industrial"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user