eclipse / lsp4e

Language Server Protocol support in Eclipse IDE
Eclipse Public License 2.0
60 stars 53 forks source link

Exception in LSPEclipseUtils.applyEdits #928

Closed ghentschke closed 5 months ago

ghentschke commented 5 months ago

if newText.length() returns 0 an Exception is thrown when newText.charAt gets called: https://github.com/eclipse/lsp4e/blob/aedebaa3f94ba31db634c683296fbfcc16232ec5/org.eclipse.lsp4e/src/org/eclipse/lsp4e/LSPEclipseUtils.java#L533