Commit 71bb8873 authored by Alexander Weigl's avatar Alexander Weigl

adaption to the changed apis

* NPE and IndexOutOfBound
parent fe6b04ac
Pipeline #21800 passed with stages
in 5 minutes and 12 seconds
......@@ -70,6 +70,8 @@ public class InspectionView extends BorderPane {
frames.setConverter(new StringConverter<PTreeNode<KeyData>>() {
@Override
public String toString(PTreeNode<KeyData> object) {
if(object==null)
return "";
return object.getSingleRepresentation();
}
......
......@@ -783,6 +783,7 @@ public class ScriptArea extends BorderPane {
@Override
public Node apply(int idx) {
if(idx==-1) return new Label("idx is -1!"); //TODO weigl debug
Val<String> formatted = nParagraphs.map(n -> format(idx + 1, n));
GutterAnnotation model = getLineAnnotation(idx);
GutterView hbox = new GutterView(model);
......
......@@ -135,7 +135,7 @@
/**********************************************************************************************************************/
.breakpoint-menu {
-fx-skin: "com.sun.javafx.scene.control.skin.ContextMenuSkin";
//-fx-skin: "com.sun.javafx.scene.control.skin.ContextMenuSkin";
-fx-font-family: sans-serif;
//was 14
-fx-font-size: 9pt;
......@@ -335,7 +335,7 @@
/**********************************************************************************************************************/
.context-menu {
-fx-skin: "com.sun.javafx.scene.control.skin.ContextMenuSkin";
//-fx-skin: "com.sun.javafx.scene.control.skin.ContextMenuSkin";
-fx-font-family: sans-serif;
-fx-font-size: 9pt;
//-fx-font-size: 9pt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment