mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
wtf updating this fixed a bug
This commit is contained in:
parent
a80ebeb28d
commit
338a20688d
@ -147,7 +147,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.fxmisc.richtext</groupId>
|
<groupId>org.fxmisc.richtext</groupId>
|
||||||
<artifactId>richtextfx</artifactId>
|
<artifactId>richtextfx</artifactId>
|
||||||
<version>0.10.2</version>
|
<version>0.10.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jsoup</groupId>
|
<groupId>org.jsoup</groupId>
|
||||||
|
@ -6,6 +6,8 @@ import gearth.protocol.HMessage;
|
|||||||
import gearth.protocol.HPacket;
|
import gearth.protocol.HPacket;
|
||||||
import gearth.ui.logger.loggerdisplays.PacketLogger;
|
import gearth.ui.logger.loggerdisplays.PacketLogger;
|
||||||
import javafx.application.Platform;
|
import javafx.application.Platform;
|
||||||
|
import javafx.beans.InvalidationListener;
|
||||||
|
import javafx.beans.Observable;
|
||||||
import javafx.event.ActionEvent;
|
import javafx.event.ActionEvent;
|
||||||
import javafx.fxml.Initializable;
|
import javafx.fxml.Initializable;
|
||||||
import javafx.scene.control.CheckMenuItem;
|
import javafx.scene.control.CheckMenuItem;
|
||||||
@ -67,10 +69,10 @@ public class UiLoggerController implements Initializable {
|
|||||||
appendLater.clear();
|
appendLater.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String cleanTextContent(String text)
|
private static String cleanTextContent(String text) {
|
||||||
{
|
|
||||||
// // strips off all non-ASCII characters
|
// // strips off all non-ASCII characters
|
||||||
// text = text.replaceAll("[^\\x00-\\x7F]", "");
|
// text = text.replaceAll("[^\\x00-\\x7F]", "");
|
||||||
//
|
//
|
||||||
@ -177,7 +179,7 @@ public class UiLoggerController implements Initializable {
|
|||||||
area.setStyleSpans(oldLen, styleSpansBuilder.create());
|
area.setStyleSpans(oldLen, styleSpansBuilder.create());
|
||||||
|
|
||||||
if (autoScroll) {
|
if (autoScroll) {
|
||||||
area.moveTo(area.getLength());
|
// area.moveTo(area.getLength());
|
||||||
area.requestFollowCaret();
|
area.requestFollowCaret();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user