Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Remove commented code

AuthorDaveJarvis <email>
Date2020-09-12 23:23:24 GMT-0700
Commit6924ba3717c858be017cdf79dd46355d70d0bbc3
Parentb9a0a61
Delta2 lines added, 11 lines removed, 9-line decrease
src/main/java/com/scrivenvar/MainWindow.java
tab.addTextChangeListener(
( __, ov, nv ) -> {
- //final var editor = tab.getEditorPane().getEditor();
-
- //if( ov.isEmpty() ) {
- process( tab );
- scrollToParagraph( getCurrentParagraphIndex() );
- //}
-
-// editor.setOnKeyReleased( ( event ) -> {
-// process( tab );
-// scrollToParagraph( getCurrentParagraphIndex() );
-// } );
+ process( tab );
+ scrollToParagraph( getCurrentParagraphIndex() );
}
);