Enums¶
Details¶
- class InfText.FilesystemFormatError(value)¶
Bases:
GLib.Enum
Errors that can occur when reading a
InfText.Session
from aInfinityd.FilesystemStorage
.- NOT_A_TEXT_SESSION = 0¶
The file to be read is not a serialized text session.
- USER_EXISTS = 1¶
The user table of the session contains users with duplicate ID or duplicate name.
- NO_SUCH_USER = 2¶
A segment of the text document is written by a user which does not exist.
- class InfText.OperationError(value)¶
Bases:
GLib.Enum
Error codes that can occur when applying a
InfText.InsertOperation
,InfText.DeleteOperation
orInfText.MoveOperation
to the buffer.- INVALID_INSERT = 0¶
A
InfText.InsertOperation
attempted to insert text after the end of the buffer.
- INVALID_DELETE = 1¶
A
InfText.DeleteOperation
attempted to delete text from after the end of the buffer.
- INVALID_MOVE = 2¶
A
InfText.MoveOperation
attempted to move the cursor of a user behind the end of the buffer.
- FAILED = 3¶
No further specified error code.