Fix for autocompletion: Do not match against some more symbols

parent b2991d02
Pipeline #13965 passed with stages
in 7 minutes and 28 seconds
...@@ -249,7 +249,7 @@ internal class PseuCoArea : CodeArea() { ...@@ -249,7 +249,7 @@ internal class PseuCoArea : CodeArea() {
* @return The word on the left of [position]. * @return The word on the left of [position].
*/ */
tailrec fun getWordAtPositionRecursive(position: Int, word: String): String { 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 "()[]{};+-*/.<?!") word
else getWordAtPositionRecursive(position - 1, this[position] + word) else getWordAtPositionRecursive(position - 1, this[position] + word)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment