Added /waitwhat, applied userdata changes, added format test, progressed with formatting #62
2 changed files with 4 additions and 1 deletions
|
@ -84,7 +84,7 @@ public final class ChatFormatter {
|
||||||
s.End = section.Start;
|
s.End = section.Start;
|
||||||
s.IsRange = false; // IsRange means it's a 1 long section indicating a start or an end
|
s.IsRange = false; // IsRange means it's a 1 long section indicating a start or an end
|
||||||
combined.add(s);
|
combined.add(s);
|
||||||
DebugCommand.SendDebugMessage("Finished section: " + s);
|
DebugCommand.SendDebugMessage("Finished section: " + s); //TODO: Remove smaller sections from IsRange sections
|
||||||
} else {
|
} else {
|
||||||
DebugCommand.SendDebugMessage("Adding next section: " + section);
|
DebugCommand.SendDebugMessage("Adding next section: " + section);
|
||||||
nextSection.put(section.Formatters.get(0), section);
|
nextSection.put(section.Formatters.get(0), section);
|
||||||
|
|
|
@ -11,6 +11,9 @@ class FormattedSection {
|
||||||
short RemCharFromStart;
|
short RemCharFromStart;
|
||||||
short RemCharFromEnd;
|
short RemCharFromEnd;
|
||||||
ArrayList<Integer> RemCharPos = new ArrayList<Integer>();
|
ArrayList<Integer> RemCharPos = new ArrayList<Integer>();
|
||||||
|
/**
|
||||||
|
* Is it a 1-long section indicating a start or an end
|
||||||
|
*/
|
||||||
boolean IsRange;
|
boolean IsRange;
|
||||||
|
|
||||||
FormattedSection(ChatFormatter formatter, int start, int end, ArrayList<String> matches, short remcharfromstart,
|
FormattedSection(ChatFormatter formatter, int start, int end, ArrayList<String> matches, short remcharfromstart,
|
||||||
|
|
Loading…
Reference in a new issue