Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lippfi committed Jul 11, 2024
1 parent ef35572 commit 5923b3b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ import com.maddyhome.idea.vim.diagnostic.vimLogger
import javax.swing.KeyStroke
import kotlin.math.min

/**
* This interface is not supposed to have any implementation logic.
* The reason why we have implementation details here is
* that this class extended by [ExEntryPanel] that already extends [JPanel]
* and can't extend a base implementation of [VimCommandLine].
* It will also be hard to wrap [ExEntryPanel] into some other class that extends [VimCommandLine],
* because [ExEntryPanel] has a listener that should use the [actualText] field, so it must implement [VimCommandLine]
*/
interface VimCommandLine {
companion object {
private val logger = vimLogger<VimCommandLine>()
Expand Down

0 comments on commit 5923b3b

Please sign in to comment.