todo updates

This commit is contained in:
Manindra Moharana
2013-07-15 00:16:16 +05:30
parent 78fee12dd6
commit e928a0f37c
2 changed files with 6 additions and 2 deletions

View File

@@ -2818,7 +2818,7 @@ public class ASTGenerator {
try {
String impString = "import " + classList.getSelectedValue()
+ ";\n";
int ct = editor.getSketch().getCurrentCodeIndex(), coff = editor.textArea().getCaretPosition();
int ct = editor.getSketch().getCurrentCodeIndex();
editor.getSketch().setCurrentCode(0);
editor.textArea().getDocument().insertString(0, impString, null);
editor.getSketch().setCurrentCode(ct);