mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
move editor copy/cut/etc providers to BasicUiDataRule (#2)
(cherry picked from commit d53231f7af458fa4922a183aa2ec4b6aa0cc8d58) IJ-CR-148949 GitOrigin-RevId: 7c8c369721bfaad8f2b5f386f443ffbe7051ced7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9af29195d3
commit
309d62ea8c
@@ -489,6 +489,9 @@ private class MySink : DataSink {
|
||||
if (validated == null) return
|
||||
val map = map ?: ProviderData().also { map = it }
|
||||
if (cachedDataForRules != null && key != PlatformCoreDataKeys.BGT_DATA_PROVIDER) {
|
||||
if (map.uiSnapshot[key.name] != null) {
|
||||
return
|
||||
}
|
||||
for (map in cachedDataForRules) {
|
||||
if (map.uiSnapshot[key.name] != null) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user