mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(actions): id of ActionItem is not logged correctly after execution
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ class DefaultActionsRegistry : ActionsRegistry() {
|
||||
val onMainThread = action.requiresUIThread
|
||||
val context = if (onMainThread) Dispatchers.Main else Dispatchers.Default
|
||||
return actionsCoroutineScope.launch(context) {
|
||||
val result = withStopWatch("Action '$action.id'") {
|
||||
val result = withStopWatch("Action '${action.id}'") {
|
||||
action.execAction(data)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -193,7 +193,7 @@ open class TsAnalyzeManager(val languageSpec: TsLanguageSpec, var theme: TsTheme
|
||||
if (thread != this || !messageQueue.isEmpty()) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
val scopedVariables = TsScopedVariables(tree!!, localText, languageSpec)
|
||||
val oldTree = (styles.spans as LineSpansGenerator?)?.tree
|
||||
val copied = tree!!.copy()
|
||||
|
||||
Reference in New Issue
Block a user