mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
IJPL-449 IJPL-148300 Sticky lines: fus for line navigate
GitOrigin-RevId: b0150e865ac06de3bebe27f7b3e7f3163a81dbc5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
edc7524f5c
commit
39f6d07554
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.editor.impl.stickyLines
|
||||
|
||||
import com.intellij.internal.statistic.service.fus.collectors.UIEventLogger
|
||||
import com.intellij.openapi.actionSystem.ActionManager
|
||||
import com.intellij.openapi.actionSystem.DefaultActionGroup
|
||||
import com.intellij.openapi.command.CommandProcessor
|
||||
@@ -336,6 +337,7 @@ internal class StickyLineComponent(private val editor: EditorEx) : JComponent()
|
||||
UndoConfirmationPolicy.DEFAULT,
|
||||
editor.document
|
||||
)
|
||||
UIEventLogger.StickyLineNavigate.log(editor.project)
|
||||
}
|
||||
}
|
||||
else -> throwUnhandledEvent(event)
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.ApiStatus
|
||||
@ApiStatus.Internal
|
||||
object UIEventLogger : CounterUsagesCollector() {
|
||||
|
||||
private val uiEventGroup = EventLogGroup("ui.event", 20)
|
||||
private val uiEventGroup = EventLogGroup("ui.event", 21)
|
||||
|
||||
@JvmField
|
||||
val NavBarShowPopup: EventId = uiEventGroup.registerEvent("NavBarShowPopup")
|
||||
@@ -160,5 +160,8 @@ object UIEventLogger : CounterUsagesCollector() {
|
||||
IdeZoomEventFields.finalZoomScalePercent,
|
||||
IdeZoomEventFields.presentationMode)
|
||||
|
||||
@JvmField
|
||||
val StickyLineNavigate: EventId = uiEventGroup.registerEvent("StickyLineNavigate")
|
||||
|
||||
override fun getGroup(): EventLogGroup = uiEventGroup
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user