#1485 night mode for AS3 p-code docs window

This commit is contained in:
Jindra Petřík
2021-04-08 18:19:14 +02:00
parent 6e0b35c06b
commit dfc724ec02
5 changed files with 76 additions and 32 deletions

View File

@@ -3369,9 +3369,13 @@ public class CommandLineArgumentParser {
String format = null;
String out = null;
String locale = null;
boolean nightMode = false;
while (!args.isEmpty()) {
String arg = args.pop();
switch (arg) {
case "-night":
nightMode = true;
break;
case "-out":
if (args.isEmpty() || out != null) {
badArguments("doc");
@@ -3416,7 +3420,7 @@ public class CommandLineArgumentParser {
Locale.setDefault(Locale.forLanguageTag(locale));
}
String doc = As3PCodeDocs.getAllInstructionDocs();
String doc = As3PCodeDocs.getAllInstructionDocs(nightMode);
PrintStream outStream;