Class TryStatementDocumentHighlightSupplier

java.lang.Object
com.github._1c_syntax.bsl.languageserver.documenthighlight.AbstractASTDocumentHighlightSupplier
com.github._1c_syntax.bsl.languageserver.documenthighlight.TryStatementDocumentHighlightSupplier
All Implemented Interfaces:
DocumentHighlightSupplier

@Component public class TryStatementDocumentHighlightSupplier extends AbstractASTDocumentHighlightSupplier
Поставщик подсветки для конструкций Try/Except/EndTry.

При клике на любое из ключевых слов блока Try подсвечиваются все связанные ключевые слова.

  • Constructor Details

    • TryStatementDocumentHighlightSupplier

      public TryStatementDocumentHighlightSupplier()
  • Method Details

    • getDocumentHighlight

      public List<DocumentHighlight> getDocumentHighlight(DocumentHighlightParams params, DocumentContext documentContext, Optional<DocumentHighlightSupplier.TerminalNodeInfo> terminalNodeInfo)
      Description copied from interface: DocumentHighlightSupplier
      Получить список подсветок для элементов, связанных с позицией курсора.
      Parameters:
      params - Параметры запроса document highlight
      documentContext - Контекст документа
      terminalNodeInfo - Информация о терминальном узле на позиции курсора
      Returns:
      Список подсветок связанных элементов, или пустой список если нет совпадений