| Author | DaveJarvis <email> |
|---|---|
| Date | 2022-08-07 13:41:47 GMT-0700 |
| Commit | e9e7bea69d57401ffc44fec5db33e287d0c00486 |
| Parent | c112af0 |
| Delta | 2 lines added, 0 lines removed, 2-line increase |
| import static org.apache.commons.lang3.StringUtils.stripEnd; | ||
| import static org.apache.commons.lang3.StringUtils.stripStart; | ||
| +import static org.fxmisc.richtext.Caret.CaretVisibility.*; | ||
| import static org.fxmisc.richtext.model.StyleSpans.singleton; | ||
| import static org.fxmisc.wellbehaved.event.EventPattern.keyPressed; | ||
| private void initTextArea( final StyleClassedTextArea textArea ) { | ||
| + textArea.setShowCaret( ON ); | ||
| textArea.setWrapText( true ); | ||
| textArea.requestFollowCaret(); | ||