syside.ide.lsp.PositionEncodingKind
- class PositionEncodingKind(*args, **kwds)
Bases:
enum.Enum
LSP position encoding kind. Note that SysIDE uses Utf-8 internally so it will incur no performance penalty. Other encodings will require lazy conversions, however allocations will be avoided whenever possible.
For Python strings, use Utf32 encoding as that is what is used for string indexing and slicing.
See LSP specification for more details.
Initialization