Skip to content

Commit c176e28

Browse files
committed
Realign comments
1 parent a2fc2b7 commit c176e28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kotlin/javafx-textcounter-kotlin/src/main/kotlin/com/example/javafxtextcounterkotlin/KotlinFXMLTextCounterController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ class KotlinFXMLTextCounterController {
3030
.toTypedArray()
3131
.size // get length of text area in lines
3232
textCountResult!!.text = "Characters: $chars\nWords: $words\nLines: $lines" // update text
33-
// counter output
33+
// counter output
3434
}
3535
}

kotlin/javafx-textcounter-kotlin/src/main/kotlin/com/example/javafxtextcounterkotlin/KotlinTextCounterJavaFX.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ class KotlinTextCounterJavaFX : Application() {
3131
.dropLastWhile { it.isEmpty() }
3232
.toTypedArray()
3333
.size // get length of text
34-
// area in words
34+
// area in words
3535
val lines =
3636
textContent.text
3737
.split("\\r?\\n".toRegex())
3838
.dropLastWhile { it.isEmpty() }
3939
.toTypedArray()
4040
.size // get length of text
41-
// area in lines
41+
// area in lines
4242
textCountResult.text =
4343
"Characters: $chars\nWords: $words\nLines: $lines" // update text count output
4444
}

0 commit comments

Comments
 (0)