This repository has been archived by the owner on May 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed pref size calculation and will not throw exceptions on parse error
- Loading branch information
1 parent
40b51f4
commit e4e498b
Showing
4 changed files
with
48 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ uploadArchives { | |
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = '2.8' | ||
gradleVersion = '4.3.1' | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
version=0.3.2 | ||
version=0.3.3 |
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
32 changes: 32 additions & 0 deletions
32
src/test/java/com/proudapes/jlatexmathfx/test/NoExceptionOnWrongFormula.java
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,32 @@ | ||
package com.proudapes.jlatexmathfx.test; | ||
|
||
import javafx.application.Application; | ||
import javafx.scene.Scene; | ||
import javafx.scene.layout.VBox; | ||
import javafx.stage.Stage; | ||
import com.proudapes.jlatexmathfx.Control.LateXMathControl; | ||
|
||
public class NoExceptionOnWrongFormula extends Application { | ||
@Override | ||
public void start(Stage primaryStage) throws Exception { | ||
String latex = "\\beginError{array}{l}"; | ||
VBox pane=new VBox(); | ||
LateXMathControl lc=new LateXMathControl(latex); | ||
lc.setSize(24); | ||
pane.getChildren().addAll(lc); | ||
|
||
Scene scene=new Scene(pane); | ||
primaryStage.setScene(scene); | ||
primaryStage.setWidth(800); | ||
primaryStage.setHeight(600); | ||
|
||
primaryStage.show(); | ||
|
||
|
||
} | ||
|
||
public static void main(String[] args) { | ||
launch(args); | ||
} | ||
|
||
} |