diff --git a/src/main/kotlin/fxGui/main/PseuCoArea.kt b/src/main/kotlin/fxGui/main/PseuCoArea.kt index b30bff82722558222ba700383480e4c71dc7096e..751bc84d0a557a6601ba5416d1456898dc96eb08 100644 --- a/src/main/kotlin/fxGui/main/PseuCoArea.kt +++ b/src/main/kotlin/fxGui/main/PseuCoArea.kt @@ -249,7 +249,7 @@ internal class PseuCoArea : CodeArea() { * @return The word on the left of [position]. */ tailrec fun getWordAtPositionRecursive(position: Int, word: String): String { - return if (position < 0 || this[position].isBlank() || this[position][0] in "()[]{};+-*/.") word + return if (position < 0 || this[position].isBlank() || this[position][0] in "()[]{};+-*/.