ASDec: Small changes to eliminate notices

This commit is contained in:
Jindra Petk
2012-12-28 12:17:33 +01:00
parent 1223dd8aad
commit dbe3dc2905
63 changed files with 116 additions and 104 deletions

View File

@@ -90,7 +90,7 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane {
String text = getText();
int lineCnt = 1;
int lineStart = 0;
int lineEnd = -1;
int lineEnd;
int instrCount = 0;
int dot = -2;
for (int i = 0; i < text.length(); i++) {
@@ -111,7 +111,7 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane {
}
}
if (lineCnt == -1) {
lineEnd = text.length() - 1;
//lineEnd = text.length() - 1;
}
//select(lineStart, lineEnd);
setCaretPosition(lineStart);