fix for line indent highlight from stendahl, also minor naming tweak

This commit is contained in:
benfry
2005-05-10 01:17:21 +00:00
parent 217adeba17
commit 8b767baa3b
5 changed files with 33 additions and 7 deletions
+4 -3
View File
@@ -1642,11 +1642,12 @@ public class Editor extends JFrame
}
if (newline) {
if (lc == lnum)
//st = i+1;
st = ii;
else if (lc == lnum+1) {
//end = i;
end = ii;
//end = ii;
// to avoid selecting entire, because doing so puts the
// cursor on the next line [0090]
end = ii - 1;
break;
}
}