Skip to content

Commit 3983449

Browse files
committed
cleaning up the mess while trying to find completion problems
1 parent a4d250f commit 3983449

4 files changed

Lines changed: 369 additions & 560 deletions

File tree

java/src/processing/mode/java/JavaMode.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public Editor createEditor(Base base, String path, EditorState state) {
4343

4444
public JavaMode(Base base, File folder) {
4545
super(base, folder);
46-
46+
4747
initLogger();
4848
loadPreferences();
4949
}
@@ -52,8 +52,8 @@ public JavaMode(Base base, File folder) {
5252
public String getTitle() {
5353
return "Java";
5454
}
55-
56-
55+
56+
5757
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5858

5959

@@ -94,7 +94,7 @@ public Library getCoreLibrary() {
9494
// try {
9595
// coreLibrary = getLibrary("processing.core");
9696
// System.out.println("core found at " + coreLibrary.getLibraryPath());
97-
// } catch (SketchException e) {
97+
// } catch (SketchException e) {
9898
// Base.log("Serious problem while locating processing.core", e);
9999
// }
100100
}
@@ -117,7 +117,7 @@ public Runner handleRun(Sketch sketch,
117117
}
118118
}
119119

120-
120+
121121
public Runner handlePresent(Sketch sketch,
122122
RunnerListener listener) throws SketchException {
123123
final JavaEditor editor = (JavaEditor)listener;
@@ -132,7 +132,7 @@ public Runner handlePresent(Sketch sketch,
132132

133133

134134
/** Handles the standard Java "Run" or "Present" */
135-
public Runner handleLaunch(Sketch sketch, RunnerListener listener,
135+
public Runner handleLaunch(Sketch sketch, RunnerListener listener,
136136
final boolean present) throws SketchException {
137137
JavaBuild build = new JavaBuild(sketch);
138138
String appletClassName = build.build(false);
@@ -236,12 +236,12 @@ public boolean handleExportApplication(Sketch sketch) throws SketchException, IO
236236
JavaBuild build = new JavaBuild(sketch);
237237
return build.exportApplication();
238238
}
239-
240-
239+
240+
241241
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
242-
242+
243243
// Merged from ExperimentalMode
244-
244+
245245

246246
void initLogger() {
247247
final boolean VERBOSE_LOGGING = true;
@@ -272,8 +272,8 @@ void initLogger() {
272272
Logger.getLogger(JavaMode.class.getName()).log(Level.SEVERE, null, ex);
273273
}
274274
}
275-
276-
275+
276+
277277
//ImageIcon classIcon, fieldIcon, methodIcon, localVarIcon;
278278

279279
// protected void loadIcons() {
@@ -284,7 +284,7 @@ void initLogger() {
284284
// localVarIcon = new ImageIcon(iconPath + File.separator + "field_default_obj.png");
285285
// }
286286

287-
287+
288288
static public volatile boolean errorCheckEnabled = true;
289289
static public volatile boolean warningsEnabled = true;
290290
static public volatile boolean codeCompletionsEnabled = true;
@@ -380,8 +380,8 @@ public void ensurePrefsExist() {
380380
if (Preferences.get(prefImportSuggestEnabled) == null)
381381
Preferences.setBoolean(prefImportSuggestEnabled, importSuggestEnabled);
382382
}
383-
384-
383+
384+
385385
static public void main(String[] args) {
386386
processing.app.Base.main(args);
387387
}

0 commit comments

Comments
 (0)