mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-207762 pass the current item pattern and prefix length to BackendCompletionLookupMirror
Space-RevId: cc4b182b6347357825f84f2ca06d31593435de22 GitOrigin-RevId: f7cb8c8cf88bf3937365632813e942fa60c7ebda
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0fdffec35c
commit
f08a8d07e4
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.completion.common.protocol
|
||||
|
||||
import com.intellij.openapi.editor.impl.EditorId
|
||||
@@ -14,6 +14,8 @@ sealed interface RpcLookupElementEvent {
|
||||
data class SelectedItem(
|
||||
val requestId: RpcCompletionRequestId,
|
||||
val itemId: RpcCompletionItemId,
|
||||
val itemPattern: String,
|
||||
val prefixLength: Int,
|
||||
) : RpcLookupElementEvent {
|
||||
override fun toString(): String = buildToString("SelectedItem") {
|
||||
field("requestId", requestId)
|
||||
|
||||
Reference in New Issue
Block a user