mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 11:25:38 +01:00
fix tab and focus regression (bug #1267)
This commit is contained in:
@@ -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);
|
||||
|
||||
5
todo.txt
5
todo.txt
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user