smartinspectpython.sisourceviewercontext

@export
class SISourceViewerContext(smartinspectpython.sitextcontext.SITextContext):

Represents the source viewer in the Console which can display text data as source code with syntax highlighting.

The source viewer in the Console interprets the Log Entry Data as source code and displays it in a read-only text editor with syntax highlighting.

Threadsafety:

This class is not guaranteed to be thread-safe.

SISourceViewerContext(id: smartinspectpython.sisourceid.SISourceId)

Initializes a new instance of the class.

Arguments:
  • id (SISourceId): The source ID to use.