Skip to content

Commit

Permalink
WI-80103 Get rid of the "createFilterByEditor" method in com.intellij…
Browse files Browse the repository at this point in the history
….ideolog

GitOrigin-RevId: 6e6e647b603bb019adb0dc0a8f873c5d3cd62d3b
  • Loading branch information
smirok authored and intellij-monorepo-bot committed Dec 20, 2024
1 parent 51f297b commit c4783bd
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ open class LogHeavyFilterService(private val project: Project): Disposable {

open fun enqueueHeavyFiltering(editor: Editor, eventOffset: Int, event: CharSequence) {
if (editor.isDisposed) return
val compositeFilter = createFilterByEditor(editor, project)
val compositeFilter = myCompositeFilter

val markupModel = editor.markupModel

Expand Down Expand Up @@ -101,11 +101,6 @@ open class LogHeavyFilterService(private val project: Project): Disposable {
}, 0)
}

protected open fun createFilterByEditor(
editor: Editor,
project: Project,
): CompositeFilter = myCompositeFilter

private fun createInlays(inlayProvider: InlayProvider, editor: Editor, offset: Int) {
EditorLineStripeHintComponentBuilderProvider.EP_NAME.extensionList.forEach { provider ->
val inlayLineComponent = provider.getBuilder(project).build(inlayProvider, editor, offset)
Expand Down

0 comments on commit c4783bd

Please sign in to comment.