[command-completion] IJPL-223668 IOOBE: CharSequenceSubSequence via CommandCompletionProviderKt.findCommandCompletionType

- delete useless fix

GitOrigin-RevId: ed63bcdd4c5ffc52cc9715b7f9ec2c6374f2c9b6
This commit is contained in:
Mikhail Pyltsin
2025-12-18 18:17:07 +00:00
committed by intellij-monorepo-bot
parent a48841d608
commit 4dadbd6cd5
@@ -633,7 +633,6 @@ internal fun findCommandCompletionType(
text.substring(offset - indexOf, offset - indexOf + 2))
}
if (indexOf > 0 &&
offset >= offset - indexOf + 1 &&
text.substring(offset - indexOf).startsWith(factory.suffix())) {
//force call with one point
return InvocationCommandType.PartialSuffix(text.substring(offset - indexOf + 1, offset),