Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Reverse tab order on Shift+Tab
When pressing Shift+Tab or Ctrl+Shift+Tab, elements are tabbed in reverse.
- Loading branch information
Showing
7 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyUp", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyUp", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyDown", "key_code": 17 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyUp", "key_code": 17 }, | ||
{ "type": "KeyDown", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 17 }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "KeyUp", "key_code": 17 }, | ||
{ "type": "KeyUp", "key_code": 16 }, | ||
{ "type": "KeyDown", "key_code": 9 } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Focus changed | ||
old: null | ||
new: _level0.text1 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text1 | ||
new: _level0.text2 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text2 | ||
new: _level0.text3 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text3 | ||
new: _level0.text2 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text2 | ||
new: _level0.text3 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text3 | ||
new: _level0.text2 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text2 | ||
new: _level0.text1 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text1 | ||
new: _level0.text4 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text4 | ||
new: _level0.text1 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text1 | ||
new: _level0.text2 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text2 | ||
new: _level0.text3 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text3 | ||
new: _level0.text2 | ||
Tab pressed | ||
Focus changed | ||
old: _level0.text2 | ||
new: _level0.text3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var listener = new Object(); | ||
listener.onSetFocus = function(oldFocus, newFocus) { | ||
if (newFocus) { | ||
trace("Focus changed"); | ||
trace(" old: " + oldFocus); | ||
trace(" new: " + newFocus); | ||
} | ||
}; | ||
Selection.addListener(listener); | ||
|
||
Selection.setFocus(text1); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
num_ticks = 1 |