Displaying changed AS3 scripts in GUI as bold

This commit is contained in:
Jindra Petřík
2015-04-05 22:24:15 +02:00
parent b6d4bbc381
commit 12bbb13497
10 changed files with 76 additions and 12 deletions
@@ -58,6 +58,10 @@ public class MethodCodePanel extends JPanel implements ActionListener {
sourceTextArea.requestFocusInWindow();
}
public int getScriptIndex(){
return sourceTextArea.getScriptIndex();
}
public String getTraitName() {
return sourceTextArea.getName();
}
@@ -74,13 +78,15 @@ public class MethodCodePanel extends JPanel implements ActionListener {
sourceTextArea.hilighSpecial(type, specialValue);
}
public void setBodyIndex(int bodyIndex, ABC abc, Trait trait) {
sourceTextArea.setBodyIndex(bodyIndex, abc, sourceTextArea.getName(), trait);
public void setBodyIndex(int bodyIndex, ABC abc, Trait trait, int scriptIndex) {
sourceTextArea.setBodyIndex(bodyIndex, abc, sourceTextArea.getName(), trait,scriptIndex);
}
public void setBodyIndex(int bodyIndex, ABC abc, String name, Trait trait) {
sourceTextArea.setBodyIndex(bodyIndex, abc, name, trait);
public void setBodyIndex(int bodyIndex, ABC abc, String name, Trait trait,int scriptIndex) {
sourceTextArea.setBodyIndex(bodyIndex, abc, name, trait,scriptIndex);
}
public int getBodyIndex() {
return sourceTextArea.bodyIndex;