mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 22:48:21 +00:00
#805 Editor mode for Define*Texts improved
This commit is contained in:
@@ -380,6 +380,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//imports
|
||||
List<String> imports = new ArrayList<>();
|
||||
List<String> uses = new ArrayList<>();
|
||||
|
||||
@@ -120,7 +120,7 @@ public abstract class GraphTextWriter {
|
||||
return hilightSpecial(text, type, specialValue, new HighlightData());
|
||||
}
|
||||
|
||||
public GraphTextWriter hilightSpecial(String text, HighlightSpecialType type, String specialValue, HighlightData data) {
|
||||
protected GraphTextWriter hilightSpecial(String text, HighlightSpecialType type, String specialValue, HighlightData data) {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ public class HighlightedTextWriter extends GraphTextWriter {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HighlightedTextWriter hilightSpecial(String text, HighlightSpecialType type, String specialValue, HighlightData data) {
|
||||
protected HighlightedTextWriter hilightSpecial(String text, HighlightSpecialType type, String specialValue, HighlightData data) {
|
||||
HighlightData ndata = new HighlightData();
|
||||
ndata.merge(data);
|
||||
ndata.subtype = type;
|
||||
|
||||
Reference in New Issue
Block a user