File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1698,9 +1698,9 @@ public Editor handleOpen(String path) {
1698
1698
* Examples window, because Modes like Python and Android do not have
1699
1699
* "sketch.properties" files in each example folder.
1700
1700
*/
1701
- public Editor handleOpen (String path , Mode mode ) {
1701
+ public Editor handleOpenExample (String path , Mode mode ) {
1702
1702
nextMode = mode ;
1703
- return handleOpenInternal (path , false );
1703
+ return handleOpenInternal (path , true );
1704
1704
}
1705
1705
1706
1706
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ public void mouseClicked(MouseEvent e) {
117
117
//if (node != null && node.isLeaf() && node.getPath().equals(selPath)) {
118
118
if (node != null && node .isLeaf () && selRow != -1 ) {
119
119
SketchReference sketch = (SketchReference ) node .getUserObject ();
120
- base .handleOpen (sketch .getPath (), mode );
120
+ base .handleOpenExample (sketch .getPath (), mode );
121
121
}
122
122
}
123
123
}
@@ -134,7 +134,7 @@ public void keyTyped(KeyEvent e) {
134
134
(DefaultMutableTreeNode ) tree .getLastSelectedPathComponent ();
135
135
if (node != null && node .isLeaf ()) {
136
136
SketchReference sketch = (SketchReference ) node .getUserObject ();
137
- base .handleOpen (sketch .getPath (), mode );
137
+ base .handleOpenExample (sketch .getPath (), mode );
138
138
}
139
139
}
140
140
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ X https://github.com/processing/processing4/issues/117
28
28
X App was merged into processing.mode.java.lsp.PdeLanguageServer
29
29
30
30
31
- _ "Show Sketch Folder" for libraries needs to treat the sketch as Untitled
31
+ _ "Show Sketch Folder" for library examples need to treat the sketch as Untitled
32
32
_ and with that, switch to another directory
33
33
_ https://github.com/processing/processing4/issues/548
34
34
You can’t perform that action at this time.
0 commit comments