override fun detectLogFileFormat()

in terminal/src/main/kotlin/com/intellij/ideolog/terminal/IdeologTerminalDocumentContext.kt [25:31]


  override fun detectLogFileFormat(startOffset: Int): LogFileFormat {
    val currentFormat = formatByOffsetMap[startOffset]
    if (currentFormat != null) return currentFormat
    return super.detectLogFileFormat(startOffset).also {
      formatByOffsetMap[startOffset] = it
    }
  }