This commit is contained in:
nboyd%atg.com 2003-04-21 14:59:22 +00:00
Родитель 64f029e08f
Коммит 9f67dc975f
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -21,6 +21,7 @@
*
* Contributor(s):
* Christopher Oliver
* Matt Gould
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
@ -431,6 +432,8 @@ class FileTextArea extends JTextArea implements ActionListener,
}
public void mouseReleased(MouseEvent e) {
checkPopup(e);
requestFocus();
getCaret().setVisible(true);
}
private void checkPopup(MouseEvent e) {
@ -2311,7 +2314,7 @@ class SourceInfo {
synchronized boolean removeBreakpoint(int line) {
boolean wasBreakpoint = false;
if (breakpoints != null && line < breakpoints.length) {
wasBreakpoint = (breakpoints[line] != BREAK_FLAG);
wasBreakpoint = (breakpoints[line] == BREAK_FLAG);
breakpoints[line] = 0;
}
return wasBreakpoint;