tricktron / frege-lsp-server

Frege Language Server Using the Language Server Protocol
MIT License
1 stars 0 forks source link

IndexOutOfBoundsError `extractFirstWordsFromLine` #6

Closed tricktron closed 3 years ago

tricktron commented 3 years ago

extractFirstWordsFromLine:

https://github.com/tricktron/frege-lsp-server/blob/a5f728ea739b0051c320d336a1eecc346c4a71af/src/main/java/ch/fhnw/thga/FregeTextDocumentService.java#L49-L53

throws IndexOutOfBoundsError for a simple line with just 1 word and no empty spaces.