fix tab and focus regression (bug #1267)

This commit is contained in:
benfry
2009-06-07 21:08:59 +00:00
parent 0602b6f7aa
commit 3dbd8c5ad4
2 changed files with 7 additions and 5 deletions

View File

@@ -103,6 +103,9 @@ public class JEditTextArea extends JComponent
painter.addMouseListener(new MouseHandler());
painter.addMouseMotionListener(new DragHandler());
addFocusListener(new FocusHandler());
// send tab keys through to the text area
// http://dev.processing.org/bugs/show_bug.cgi?id=1267
setFocusTraversalKeysEnabled(false);
// Load the defaults
setInputHandler(defaults.inputHandler);
@@ -1028,8 +1031,8 @@ public class JEditTextArea extends JComponent
{
select(selectionStart,selectionEnd);
}
public final boolean isSelectionActive()
{
return(selectionStart != selectionEnd);

View File

@@ -1,7 +1,6 @@
0167 pde (1.0.5?)
_ fix tab key and focus issue in the editor
_ http://dev.processing.org/bugs/show_bug.cgi?id=1267
X fix tab key and focus issue in the editor
X http://dev.processing.org/bugs/show_bug.cgi?id=1267
_ duplicate entries for sketchbook in the file menu
_ http://dev.processing.org/bugs/show_bug.cgi?id=1260