textrpc

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Editor_Edit_FullMethodName                 = "/text.Editor/Edit"
	Editor_SetCursor_FullMethodName            = "/text.Editor/SetCursor"
	Editor_Cursor_FullMethodName               = "/text.Editor/Cursor"
	Editor_Editor_FullMethodName               = "/text.Editor/Editor"
	Editor_SetLocationList_FullMethodName      = "/text.Editor/SetLocationList"
	Editor_MoveToNextLocation_FullMethodName   = "/text.Editor/MoveToNextLocation"
	Editor_MoveToPrevLocation_FullMethodName   = "/text.Editor/MoveToPrevLocation"
	Editor_EditCell_FullMethodName             = "/text.Editor/EditCell"
	Editor_RawCells_FullMethodName             = "/text.Editor/RawCells"
	Editor_SetDefaultAttributes_FullMethodName = "/text.Editor/SetDefaultAttributes"
	Editor_SubscribeEvent_FullMethodName       = "/text.Editor/SubscribeEvent"
	Editor_SubscribeCommand_FullMethodName     = "/text.Editor/SubscribeCommand"
	Editor_SubscribeREPLCommand_FullMethodName = "/text.Editor/SubscribeREPLCommand"
)

Variables

View Source
var (
	EditorEvent_Type_name = map[int32]string{
		0:  "TypeOpen",
		1:  "TypeClose",
		2:  "TypeFlush",
		3:  "TypeEdit",
		5:  "TypeScroll",
		12: "TypeCreate",
		13: "TypeChange",
		6:  "TypeFocus",
		7:  "TypeUnfocus",
		8:  "TypeCursor",
		9:  "TypeSelection",
		10: "TypeRename",
		11: "TypeRemove",
		14: "TypeHidden",
		15: "TypeVisible",
	}
	EditorEvent_Type_value = map[string]int32{
		"TypeOpen":      0,
		"TypeClose":     1,
		"TypeFlush":     2,
		"TypeEdit":      3,
		"TypeScroll":    5,
		"TypeCreate":    12,
		"TypeChange":    13,
		"TypeFocus":     6,
		"TypeUnfocus":   7,
		"TypeCursor":    8,
		"TypeSelection": 9,
		"TypeRename":    10,
		"TypeRemove":    11,
		"TypeHidden":    14,
		"TypeVisible":   15,
	}
)

Enum value maps for EditorEvent_Type.

View Source
var (
	ClientCommandMessage_MessageType_name = map[int32]string{
		0: "Handle",
		1: "CompleteValue",
		2: "CompleteDone",
		3: "Request",
	}
	ClientCommandMessage_MessageType_value = map[string]int32{
		"Handle":        0,
		"CompleteValue": 1,
		"CompleteDone":  2,
		"Request":       3,
	}
)

Enum value maps for ClientCommandMessage_MessageType.

View Source
var (
	ServerCommandMessage_MessageType_name = map[int32]string{
		0: "Handle",
		1: "Complete",
		2: "Response",
		3: "CompleteCancel",
	}
	ServerCommandMessage_MessageType_value = map[string]int32{
		"Handle":         0,
		"Complete":       1,
		"Response":       2,
		"CompleteCancel": 3,
	}
)

Enum value maps for ServerCommandMessage_MessageType.

View Source
var (
	ClientREPLCommandMessage_MessageType_name = map[int32]string{
		0: "HandleValue",
		1: "HandleDone",
		2: "CompleteValue",
		3: "CompleteDone",
		4: "HelpValue",
		5: "HelpDone",
		6: "Request",
		7: "HandleProgress",
	}
	ClientREPLCommandMessage_MessageType_value = map[string]int32{
		"HandleValue":    0,
		"HandleDone":     1,
		"CompleteValue":  2,
		"CompleteDone":   3,
		"HelpValue":      4,
		"HelpDone":       5,
		"Request":        6,
		"HandleProgress": 7,
	}
)

Enum value maps for ClientREPLCommandMessage_MessageType.

View Source
var (
	ServerREPLCommandMessage_MessageType_name = map[int32]string{
		0: "Handle",
		1: "Complete",
		2: "Help",
		3: "Response",
		4: "CompleteCancel",
	}
	ServerREPLCommandMessage_MessageType_value = map[string]int32{
		"Handle":         0,
		"Complete":       1,
		"Help":           2,
		"Response":       3,
		"CompleteCancel": 4,
	}
)

Enum value maps for ServerREPLCommandMessage_MessageType.

View Source
var Editor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "text.Editor",
	HandlerType: (*EditorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Edit",
			Handler:    _Editor_Edit_Handler,
		},
		{
			MethodName: "SetCursor",
			Handler:    _Editor_SetCursor_Handler,
		},
		{
			MethodName: "Cursor",
			Handler:    _Editor_Cursor_Handler,
		},
		{
			MethodName: "Editor",
			Handler:    _Editor_Editor_Handler,
		},
		{
			MethodName: "SetLocationList",
			Handler:    _Editor_SetLocationList_Handler,
		},
		{
			MethodName: "MoveToNextLocation",
			Handler:    _Editor_MoveToNextLocation_Handler,
		},
		{
			MethodName: "MoveToPrevLocation",
			Handler:    _Editor_MoveToPrevLocation_Handler,
		},
		{
			MethodName: "EditCell",
			Handler:    _Editor_EditCell_Handler,
		},
		{
			MethodName: "RawCells",
			Handler:    _Editor_RawCells_Handler,
		},
		{
			MethodName: "SetDefaultAttributes",
			Handler:    _Editor_SetDefaultAttributes_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeEvent",
			Handler:       _Editor_SubscribeEvent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SubscribeCommand",
			Handler:       _Editor_SubscribeCommand_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SubscribeREPLCommand",
			Handler:       _Editor_SubscribeREPLCommand_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "textrpc/editor.proto",
}

Editor_ServiceDesc is the grpc.ServiceDesc for Editor service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_textrpc_editor_proto protoreflect.FileDescriptor

Functions

func NewURIFromProto

func NewURIFromProto(u *URI) (workspaceapi.URI, error)

NewURIFromProto maps rpc.URI into a workspaceapi.URI.

func RawCellsResponseToBuffer

func RawCellsResponseToBuffer(in *RawCellsResponse) [][]term.Cell

RawCellsResponseToBuffer converts an EditRequest into a 2D matrix of cells.

func RegisterEditorServer

func RegisterEditorServer(s grpc.ServiceRegistrar, srv EditorServer)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client satisfies textapi.Editor by calling a remote editor over grpc.

func NewClient

func NewClient(ctx context.Context, cc grpc.ClientConnInterface) *Client

NewClient allocates storage for a new Client and initializes it.

func (*Client) CellEditor

func (c *Client) CellEditor(h textapi.Handler) textapi.CellEditor

CellEditor satisfies textapi.Editor.

func (*Client) CellView

func (c *Client) CellView(h textapi.Handler) textapi.CellView

CellView satisfies textapi.Editor.

func (*Client) Client added in v0.0.2

func (c *Client) Client() EditorClient

Client returns the underlying grpc EditorClient.

func (*Client) Close

func (c *Client) Close() (ret error)

Close closes all resources associated with this client.

func (*Client) Cursor

func (c *Client) Cursor(h textapi.Handler) (term.Coordinates, error)

Cursor requests the editor server to move cursor to pos

func (*Client) Editor

func (c *Client) Editor(file workspaceapi.URI) (textapi.Handler, error)

Editor satisfies textapi.Editor

func (*Client) Init

func (c *Client) Init(ctx context.Context, cc grpc.ClientConnInterface)

Init initializes this Client with broker and client.

func (*Client) MoveToNextLocation

func (c *Client) MoveToNextLocation(h textapi.Handler, ID string) error

MoveToNextLocation requests the editor server to move cursor to the next location in location list identified by ID.

func (*Client) MoveToPrevLocation

func (c *Client) MoveToPrevLocation(h textapi.Handler, ID string) error

MoveToPrevLocation requests the editor server to move cursor to the previous location in location list identified by ID.

func (*Client) RegisterCommand added in v0.0.58

func (c *Client) RegisterCommand(
	man textapi.CommandManual, h textapi.CommandHandler,
) error

RegisterCommand satisfies textapi.CommandRegistry.

func (*Client) RegisterREPLCommand added in v0.0.58

func (c *Client) RegisterREPLCommand(
	man textapi.CommandManual, h textapi.REPLHandler,
) error

RegisterREPLCommand satisfies textapi.CommandRegistry.

func (*Client) SetCursor

func (c *Client) SetCursor(h textapi.Handler, pos term.Coordinates) error

SetCursor requests the editor server to move cursor to pos

func (*Client) SetDefaultAttributes

func (c *Client) SetDefaultAttributes(h textapi.Handler, attrs term.Attributes) error

SetDefaultAttributes satisfies textapi.Editor.

func (*Client) SetLocationList

func (c *Client) SetLocationList(
	h textapi.Handler, pri textapi.LocationPriority, ID string, l textapi.LocationList,
) error

SetLocationList requests the editor server to set l as the new location list for h. Note that h is expected to be the return valu of Edit or a dispatched event, delivered via an EventHandler.

func (*Client) SubscribeEvents

func (c *Client) SubscribeEvents(
	evs []textapi.EventType, h textapi.EventHandler,
) error

SubscribeEvents requests the editor server to subscribe sub to ev.

type ClientCommandMessage

type ClientCommandMessage struct {
	Type          ClientCommandMessage_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=text.ClientCommandMessage_MessageType" json:"type,omitempty"`
	Handle        *HandleCommandResponse           `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
	CompleteValue *CompleteCommandValue            `protobuf:"bytes,3,opt,name=complete_value,json=completeValue,proto3" json:"complete_value,omitempty"`
	CompleteDone  *CompleteCommandDone             `protobuf:"bytes,4,opt,name=complete_done,json=completeDone,proto3" json:"complete_done,omitempty"`
	Request       *SubscribeCommandRequest         `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientCommandMessage) Descriptor deprecated

func (*ClientCommandMessage) Descriptor() ([]byte, []int)

Deprecated: Use ClientCommandMessage.ProtoReflect.Descriptor instead.

func (*ClientCommandMessage) GetCompleteDone

func (x *ClientCommandMessage) GetCompleteDone() *CompleteCommandDone

func (*ClientCommandMessage) GetCompleteValue

func (x *ClientCommandMessage) GetCompleteValue() *CompleteCommandValue

func (*ClientCommandMessage) GetHandle

func (*ClientCommandMessage) GetRequest

func (*ClientCommandMessage) GetType

func (*ClientCommandMessage) ProtoMessage

func (*ClientCommandMessage) ProtoMessage()

func (*ClientCommandMessage) ProtoReflect

func (x *ClientCommandMessage) ProtoReflect() protoreflect.Message

func (*ClientCommandMessage) Reset

func (x *ClientCommandMessage) Reset()

func (*ClientCommandMessage) String

func (x *ClientCommandMessage) String() string

type ClientCommandMessage_MessageType

type ClientCommandMessage_MessageType int32
const (
	ClientCommandMessage_Handle        ClientCommandMessage_MessageType = 0
	ClientCommandMessage_CompleteValue ClientCommandMessage_MessageType = 1
	ClientCommandMessage_CompleteDone  ClientCommandMessage_MessageType = 2
	ClientCommandMessage_Request       ClientCommandMessage_MessageType = 3
)

func (ClientCommandMessage_MessageType) Descriptor

func (ClientCommandMessage_MessageType) Enum

func (ClientCommandMessage_MessageType) EnumDescriptor deprecated

func (ClientCommandMessage_MessageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientCommandMessage_MessageType.Descriptor instead.

func (ClientCommandMessage_MessageType) Number

func (ClientCommandMessage_MessageType) String

func (ClientCommandMessage_MessageType) Type

type ClientREPLCommandMessage added in v0.0.58

type ClientREPLCommandMessage struct {
	Type           ClientREPLCommandMessage_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=text.ClientREPLCommandMessage_MessageType" json:"type,omitempty"`
	HandleValue    *HandleREPLCommandValue              `protobuf:"bytes,2,opt,name=handle_value,json=handleValue,proto3" json:"handle_value,omitempty"`
	HandleDone     *HandleREPLCommandDone               `protobuf:"bytes,3,opt,name=handle_done,json=handleDone,proto3" json:"handle_done,omitempty"`
	CompleteValue  *CompleteCommandValue                `protobuf:"bytes,4,opt,name=complete_value,json=completeValue,proto3" json:"complete_value,omitempty"`
	CompleteDone   *CompleteCommandDone                 `protobuf:"bytes,5,opt,name=complete_done,json=completeDone,proto3" json:"complete_done,omitempty"`
	HelpValue      *HelpCommandValue                    `protobuf:"bytes,6,opt,name=help_value,json=helpValue,proto3" json:"help_value,omitempty"`
	HelpDone       *HelpCommandDone                     `protobuf:"bytes,7,opt,name=help_done,json=helpDone,proto3" json:"help_done,omitempty"`
	Request        *SubscribeREPLCommandRequest         `protobuf:"bytes,8,opt,name=request,proto3" json:"request,omitempty"`
	HandleProgress *HandleREPLCommandProgress           `protobuf:"bytes,9,opt,name=handle_progress,json=handleProgress,proto3" json:"handle_progress,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientREPLCommandMessage) Descriptor deprecated added in v0.0.58

func (*ClientREPLCommandMessage) Descriptor() ([]byte, []int)

Deprecated: Use ClientREPLCommandMessage.ProtoReflect.Descriptor instead.

func (*ClientREPLCommandMessage) GetCompleteDone added in v0.0.58

func (x *ClientREPLCommandMessage) GetCompleteDone() *CompleteCommandDone

func (*ClientREPLCommandMessage) GetCompleteValue added in v0.0.58

func (x *ClientREPLCommandMessage) GetCompleteValue() *CompleteCommandValue

func (*ClientREPLCommandMessage) GetHandleDone added in v0.0.58

func (x *ClientREPLCommandMessage) GetHandleDone() *HandleREPLCommandDone

func (*ClientREPLCommandMessage) GetHandleProgress added in v0.0.61

func (x *ClientREPLCommandMessage) GetHandleProgress() *HandleREPLCommandProgress

func (*ClientREPLCommandMessage) GetHandleValue added in v0.0.58

func (x *ClientREPLCommandMessage) GetHandleValue() *HandleREPLCommandValue

func (*ClientREPLCommandMessage) GetHelpDone added in v0.0.58

func (x *ClientREPLCommandMessage) GetHelpDone() *HelpCommandDone

func (*ClientREPLCommandMessage) GetHelpValue added in v0.0.58

func (x *ClientREPLCommandMessage) GetHelpValue() *HelpCommandValue

func (*ClientREPLCommandMessage) GetRequest added in v0.0.58

func (*ClientREPLCommandMessage) GetType added in v0.0.58

func (*ClientREPLCommandMessage) ProtoMessage added in v0.0.58

func (*ClientREPLCommandMessage) ProtoMessage()

func (*ClientREPLCommandMessage) ProtoReflect added in v0.0.58

func (x *ClientREPLCommandMessage) ProtoReflect() protoreflect.Message

func (*ClientREPLCommandMessage) Reset added in v0.0.58

func (x *ClientREPLCommandMessage) Reset()

func (*ClientREPLCommandMessage) String added in v0.0.58

func (x *ClientREPLCommandMessage) String() string

type ClientREPLCommandMessage_MessageType added in v0.0.58

type ClientREPLCommandMessage_MessageType int32
const (
	ClientREPLCommandMessage_HandleValue    ClientREPLCommandMessage_MessageType = 0
	ClientREPLCommandMessage_HandleDone     ClientREPLCommandMessage_MessageType = 1
	ClientREPLCommandMessage_CompleteValue  ClientREPLCommandMessage_MessageType = 2
	ClientREPLCommandMessage_CompleteDone   ClientREPLCommandMessage_MessageType = 3
	ClientREPLCommandMessage_HelpValue      ClientREPLCommandMessage_MessageType = 4
	ClientREPLCommandMessage_HelpDone       ClientREPLCommandMessage_MessageType = 5
	ClientREPLCommandMessage_Request        ClientREPLCommandMessage_MessageType = 6
	ClientREPLCommandMessage_HandleProgress ClientREPLCommandMessage_MessageType = 7
)

func (ClientREPLCommandMessage_MessageType) Descriptor added in v0.0.58

func (ClientREPLCommandMessage_MessageType) Enum added in v0.0.58

func (ClientREPLCommandMessage_MessageType) EnumDescriptor deprecated added in v0.0.58

func (ClientREPLCommandMessage_MessageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientREPLCommandMessage_MessageType.Descriptor instead.

func (ClientREPLCommandMessage_MessageType) Number added in v0.0.58

func (ClientREPLCommandMessage_MessageType) String added in v0.0.58

func (ClientREPLCommandMessage_MessageType) Type added in v0.0.58

type CommandManual

type CommandManual struct {
	Name     string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Summary  string           `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Synopsis string           `protobuf:"bytes,3,opt,name=synopsis,proto3" json:"synopsis,omitempty"`
	Commands []*CommandManual `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandManual) Descriptor deprecated

func (*CommandManual) Descriptor() ([]byte, []int)

Deprecated: Use CommandManual.ProtoReflect.Descriptor instead.

func (*CommandManual) GetCommands

func (x *CommandManual) GetCommands() []*CommandManual

func (*CommandManual) GetName

func (x *CommandManual) GetName() string

func (*CommandManual) GetSummary

func (x *CommandManual) GetSummary() string

func (*CommandManual) GetSynopsis

func (x *CommandManual) GetSynopsis() string

func (*CommandManual) ProtoMessage

func (*CommandManual) ProtoMessage()

func (*CommandManual) ProtoReflect

func (x *CommandManual) ProtoReflect() protoreflect.Message

func (*CommandManual) Reset

func (x *CommandManual) Reset()

func (*CommandManual) String

func (x *CommandManual) String() string

type CompleteCommandCancel added in v0.2.0

type CompleteCommandCancel struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteCommandCancel) Descriptor deprecated added in v0.2.0

func (*CompleteCommandCancel) Descriptor() ([]byte, []int)

Deprecated: Use CompleteCommandCancel.ProtoReflect.Descriptor instead.

func (*CompleteCommandCancel) GetId added in v0.2.0

func (x *CompleteCommandCancel) GetId() int64

func (*CompleteCommandCancel) ProtoMessage added in v0.2.0

func (*CompleteCommandCancel) ProtoMessage()

func (*CompleteCommandCancel) ProtoReflect added in v0.2.0

func (x *CompleteCommandCancel) ProtoReflect() protoreflect.Message

func (*CompleteCommandCancel) Reset added in v0.2.0

func (x *CompleteCommandCancel) Reset()

func (*CompleteCommandCancel) String added in v0.2.0

func (x *CompleteCommandCancel) String() string

type CompleteCommandDone

type CompleteCommandDone struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteCommandDone) Descriptor deprecated

func (*CompleteCommandDone) Descriptor() ([]byte, []int)

Deprecated: Use CompleteCommandDone.ProtoReflect.Descriptor instead.

func (*CompleteCommandDone) GetError

func (x *CompleteCommandDone) GetError() string

func (*CompleteCommandDone) GetId

func (x *CompleteCommandDone) GetId() int64

func (*CompleteCommandDone) ProtoMessage

func (*CompleteCommandDone) ProtoMessage()

func (*CompleteCommandDone) ProtoReflect

func (x *CompleteCommandDone) ProtoReflect() protoreflect.Message

func (*CompleteCommandDone) Reset

func (x *CompleteCommandDone) Reset()

func (*CompleteCommandDone) String

func (x *CompleteCommandDone) String() string

type CompleteCommandRequest

type CompleteCommandRequest struct {
	Id   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteCommandRequest) Descriptor deprecated

func (*CompleteCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteCommandRequest.ProtoReflect.Descriptor instead.

func (*CompleteCommandRequest) GetArgs

func (x *CompleteCommandRequest) GetArgs() []string

func (*CompleteCommandRequest) GetId

func (x *CompleteCommandRequest) GetId() int64

func (*CompleteCommandRequest) GetName

func (x *CompleteCommandRequest) GetName() string

func (*CompleteCommandRequest) ProtoMessage

func (*CompleteCommandRequest) ProtoMessage()

func (*CompleteCommandRequest) ProtoReflect

func (x *CompleteCommandRequest) ProtoReflect() protoreflect.Message

func (*CompleteCommandRequest) Reset

func (x *CompleteCommandRequest) Reset()

func (*CompleteCommandRequest) String

func (x *CompleteCommandRequest) String() string

type CompleteCommandValue

type CompleteCommandValue struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteCommandValue) Descriptor deprecated

func (*CompleteCommandValue) Descriptor() ([]byte, []int)

Deprecated: Use CompleteCommandValue.ProtoReflect.Descriptor instead.

func (*CompleteCommandValue) GetId

func (x *CompleteCommandValue) GetId() int64

func (*CompleteCommandValue) GetValue

func (x *CompleteCommandValue) GetValue() string

func (*CompleteCommandValue) ProtoMessage

func (*CompleteCommandValue) ProtoMessage()

func (*CompleteCommandValue) ProtoReflect

func (x *CompleteCommandValue) ProtoReflect() protoreflect.Message

func (*CompleteCommandValue) Reset

func (x *CompleteCommandValue) Reset()

func (*CompleteCommandValue) String

func (x *CompleteCommandValue) String() string

type CursorRequest

type CursorRequest struct {
	ResourceName *URI `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CursorRequest) Descriptor deprecated

func (*CursorRequest) Descriptor() ([]byte, []int)

Deprecated: Use CursorRequest.ProtoReflect.Descriptor instead.

func (*CursorRequest) GetResourceName

func (x *CursorRequest) GetResourceName() *URI

func (*CursorRequest) ProtoMessage

func (*CursorRequest) ProtoMessage()

func (*CursorRequest) ProtoReflect

func (x *CursorRequest) ProtoReflect() protoreflect.Message

func (*CursorRequest) Reset

func (x *CursorRequest) Reset()

func (*CursorRequest) String

func (x *CursorRequest) String() string

type CursorResponse

type CursorResponse struct {
	Pos *termrpc.Coordinates `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*CursorResponse) Descriptor deprecated

func (*CursorResponse) Descriptor() ([]byte, []int)

Deprecated: Use CursorResponse.ProtoReflect.Descriptor instead.

func (*CursorResponse) GetPos

func (x *CursorResponse) GetPos() *termrpc.Coordinates

func (*CursorResponse) ProtoMessage

func (*CursorResponse) ProtoMessage()

func (*CursorResponse) ProtoReflect

func (x *CursorResponse) ProtoReflect() protoreflect.Message

func (*CursorResponse) Reset

func (x *CursorResponse) Reset()

func (*CursorResponse) String

func (x *CursorResponse) String() string

type EditCellRequest

type EditCellRequest struct {
	ResourceName *URI                 `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	Start        *termrpc.Coordinates `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End          *termrpc.Coordinates `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	Str          string               `protobuf:"bytes,4,opt,name=str,proto3" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCellRequest) Descriptor deprecated

func (*EditCellRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditCellRequest.ProtoReflect.Descriptor instead.

func (*EditCellRequest) GetEnd

func (x *EditCellRequest) GetEnd() *termrpc.Coordinates

func (*EditCellRequest) GetResourceName

func (x *EditCellRequest) GetResourceName() *URI

func (*EditCellRequest) GetStart

func (x *EditCellRequest) GetStart() *termrpc.Coordinates

func (*EditCellRequest) GetStr

func (x *EditCellRequest) GetStr() string

func (*EditCellRequest) ProtoMessage

func (*EditCellRequest) ProtoMessage()

func (*EditCellRequest) ProtoReflect

func (x *EditCellRequest) ProtoReflect() protoreflect.Message

func (*EditCellRequest) Reset

func (x *EditCellRequest) Reset()

func (*EditCellRequest) String

func (x *EditCellRequest) String() string

type EditCellResponse

type EditCellResponse struct {
	From *termrpc.Coordinates `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *termrpc.Coordinates `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Old  string               `protobuf:"bytes,3,opt,name=old,proto3" json:"old,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCellResponse) Descriptor deprecated

func (*EditCellResponse) Descriptor() ([]byte, []int)

Deprecated: Use EditCellResponse.ProtoReflect.Descriptor instead.

func (*EditCellResponse) GetFrom

func (x *EditCellResponse) GetFrom() *termrpc.Coordinates

func (*EditCellResponse) GetOld

func (x *EditCellResponse) GetOld() string

func (*EditCellResponse) GetTo

func (x *EditCellResponse) GetTo() *termrpc.Coordinates

func (*EditCellResponse) ProtoMessage

func (*EditCellResponse) ProtoMessage()

func (*EditCellResponse) ProtoReflect

func (x *EditCellResponse) ProtoReflect() protoreflect.Message

func (*EditCellResponse) Reset

func (x *EditCellResponse) Reset()

func (*EditCellResponse) String

func (x *EditCellResponse) String() string

type EditRequest

type EditRequest struct {
	ResourceName *URI               `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	Buffer       []*termrpc.CellRow `protobuf:"bytes,2,rep,name=buffer,proto3" json:"buffer,omitempty"`
	ReadOnly     bool               `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	Recovered    bool               `protobuf:"varint,4,opt,name=recovered,proto3" json:"recovered,omitempty"`
	// contains filtered or unexported fields
}

func (*EditRequest) Descriptor deprecated

func (*EditRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditRequest.ProtoReflect.Descriptor instead.

func (*EditRequest) GetBuffer

func (x *EditRequest) GetBuffer() []*termrpc.CellRow

func (*EditRequest) GetReadOnly

func (x *EditRequest) GetReadOnly() bool

func (*EditRequest) GetRecovered

func (x *EditRequest) GetRecovered() bool

func (*EditRequest) GetResourceName

func (x *EditRequest) GetResourceName() *URI

func (*EditRequest) ProtoMessage

func (*EditRequest) ProtoMessage()

func (*EditRequest) ProtoReflect

func (x *EditRequest) ProtoReflect() protoreflect.Message

func (*EditRequest) Reset

func (x *EditRequest) Reset()

func (*EditRequest) String

func (x *EditRequest) String() string

type EditResponse

type EditResponse struct {
	// contains filtered or unexported fields
}

func (*EditResponse) Descriptor deprecated

func (*EditResponse) Descriptor() ([]byte, []int)

Deprecated: Use EditResponse.ProtoReflect.Descriptor instead.

func (*EditResponse) ProtoMessage

func (*EditResponse) ProtoMessage()

func (*EditResponse) ProtoReflect

func (x *EditResponse) ProtoReflect() protoreflect.Message

func (*EditResponse) Reset

func (x *EditResponse) Reset()

func (*EditResponse) String

func (x *EditResponse) String() string

type EditorClient

type EditorClient interface {
	Edit(ctx context.Context, in *EditRequest, opts ...grpc.CallOption) (*EditResponse, error)
	SetCursor(ctx context.Context, in *SetCursorRequest, opts ...grpc.CallOption) (*SetCursorResponse, error)
	Cursor(ctx context.Context, in *CursorRequest, opts ...grpc.CallOption) (*CursorResponse, error)
	Editor(ctx context.Context, in *EditorRequest, opts ...grpc.CallOption) (*EditorResponse, error)
	// locations
	SetLocationList(ctx context.Context, in *SetLocationListRequest, opts ...grpc.CallOption) (*SetLocationListResponse, error)
	MoveToNextLocation(ctx context.Context, in *MoveToLocationRequest, opts ...grpc.CallOption) (*MoveToLocationResponse, error)
	MoveToPrevLocation(ctx context.Context, in *MoveToLocationRequest, opts ...grpc.CallOption) (*MoveToLocationResponse, error)
	// Editor
	EditCell(ctx context.Context, in *EditCellRequest, opts ...grpc.CallOption) (*EditCellResponse, error)
	// View
	RawCells(ctx context.Context, in *RawCellsRequest, opts ...grpc.CallOption) (*RawCellsResponse, error)
	SetDefaultAttributes(ctx context.Context, in *SetDefaultAttributesRequest, opts ...grpc.CallOption) (*SetDefaultAttributesResponse, error)
	// streams
	SubscribeEvent(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[SubscribeEventRequest, EditorEvent], error)
	SubscribeCommand(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ClientCommandMessage, ServerCommandMessage], error)
	SubscribeREPLCommand(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ClientREPLCommandMessage, ServerREPLCommandMessage], error)
}

EditorClient is the client API for Editor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEditorClient

func NewEditorClient(cc grpc.ClientConnInterface) EditorClient

type EditorEvent

type EditorEvent struct {
	Type         EditorEvent_Type     `protobuf:"varint,1,opt,name=type,proto3,enum=text.EditorEvent_Type" json:"type,omitempty"`
	ResourceName *URI                 `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	Start        *termrpc.Coordinates `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
	End          *termrpc.Coordinates `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
	From         *termrpc.Coordinates `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"`
	To           *termrpc.Coordinates `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"`
	Content      string               `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*EditorEvent) Descriptor deprecated

func (*EditorEvent) Descriptor() ([]byte, []int)

Deprecated: Use EditorEvent.ProtoReflect.Descriptor instead.

func (*EditorEvent) GetContent

func (x *EditorEvent) GetContent() string

func (*EditorEvent) GetEnd

func (x *EditorEvent) GetEnd() *termrpc.Coordinates

func (*EditorEvent) GetFrom

func (x *EditorEvent) GetFrom() *termrpc.Coordinates

func (*EditorEvent) GetResourceName

func (x *EditorEvent) GetResourceName() *URI

func (*EditorEvent) GetStart

func (x *EditorEvent) GetStart() *termrpc.Coordinates

func (*EditorEvent) GetTo

func (x *EditorEvent) GetTo() *termrpc.Coordinates

func (*EditorEvent) GetType

func (x *EditorEvent) GetType() EditorEvent_Type

func (*EditorEvent) ProtoMessage

func (*EditorEvent) ProtoMessage()

func (*EditorEvent) ProtoReflect

func (x *EditorEvent) ProtoReflect() protoreflect.Message

func (*EditorEvent) Reset

func (x *EditorEvent) Reset()

func (*EditorEvent) String

func (x *EditorEvent) String() string

type EditorEvent_Type

type EditorEvent_Type int32
const (
	EditorEvent_TypeOpen      EditorEvent_Type = 0
	EditorEvent_TypeClose     EditorEvent_Type = 1
	EditorEvent_TypeFlush     EditorEvent_Type = 2
	EditorEvent_TypeEdit      EditorEvent_Type = 3
	EditorEvent_TypeScroll    EditorEvent_Type = 5
	EditorEvent_TypeCreate    EditorEvent_Type = 12
	EditorEvent_TypeChange    EditorEvent_Type = 13
	EditorEvent_TypeFocus     EditorEvent_Type = 6
	EditorEvent_TypeUnfocus   EditorEvent_Type = 7
	EditorEvent_TypeCursor    EditorEvent_Type = 8
	EditorEvent_TypeSelection EditorEvent_Type = 9
	EditorEvent_TypeRename    EditorEvent_Type = 10
	EditorEvent_TypeRemove    EditorEvent_Type = 11
	EditorEvent_TypeHidden    EditorEvent_Type = 14
	EditorEvent_TypeVisible   EditorEvent_Type = 15
)

func (EditorEvent_Type) Descriptor

func (EditorEvent_Type) Enum

func (EditorEvent_Type) EnumDescriptor deprecated

func (EditorEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use EditorEvent_Type.Descriptor instead.

func (EditorEvent_Type) Number

func (EditorEvent_Type) String

func (x EditorEvent_Type) String() string

func (EditorEvent_Type) Type

type EditorRequest

type EditorRequest struct {
	ResourceName *URI `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

func (*EditorRequest) Descriptor deprecated

func (*EditorRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditorRequest.ProtoReflect.Descriptor instead.

func (*EditorRequest) GetResourceName

func (x *EditorRequest) GetResourceName() *URI

func (*EditorRequest) ProtoMessage

func (*EditorRequest) ProtoMessage()

func (*EditorRequest) ProtoReflect

func (x *EditorRequest) ProtoReflect() protoreflect.Message

func (*EditorRequest) Reset

func (x *EditorRequest) Reset()

func (*EditorRequest) String

func (x *EditorRequest) String() string

type EditorResponse

type EditorResponse struct {
	// contains filtered or unexported fields
}

func (*EditorResponse) Descriptor deprecated

func (*EditorResponse) Descriptor() ([]byte, []int)

Deprecated: Use EditorResponse.ProtoReflect.Descriptor instead.

func (*EditorResponse) ProtoMessage

func (*EditorResponse) ProtoMessage()

func (*EditorResponse) ProtoReflect

func (x *EditorResponse) ProtoReflect() protoreflect.Message

func (*EditorResponse) Reset

func (x *EditorResponse) Reset()

func (*EditorResponse) String

func (x *EditorResponse) String() string

type EditorServer

EditorServer is the server API for Editor service. All implementations must embed UnimplementedEditorServer for forward compatibility.

type Editor_SubscribeCommandClient

type Editor_SubscribeCommandClient = grpc.BidiStreamingClient[ClientCommandMessage, ServerCommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Editor_SubscribeCommandServer

type Editor_SubscribeCommandServer = grpc.BidiStreamingServer[ClientCommandMessage, ServerCommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Editor_SubscribeEventClient

type Editor_SubscribeEventClient = grpc.BidiStreamingClient[SubscribeEventRequest, EditorEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Editor_SubscribeEventServer

type Editor_SubscribeEventServer = grpc.BidiStreamingServer[SubscribeEventRequest, EditorEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Editor_SubscribeREPLCommandClient added in v0.0.58

type Editor_SubscribeREPLCommandClient = grpc.BidiStreamingClient[ClientREPLCommandMessage, ServerREPLCommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Editor_SubscribeREPLCommandServer added in v0.0.58

type Editor_SubscribeREPLCommandServer = grpc.BidiStreamingServer[ClientREPLCommandMessage, ServerREPLCommandMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type HandleCommandRequest

type HandleCommandRequest struct {
	Name          string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Args          []string             `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	ResourceName  *URI                 `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	CursorContent *termrpc.Coordinates `protobuf:"bytes,4,opt,name=cursor_content,json=cursorContent,proto3" json:"cursor_content,omitempty"`
	CursorWindow  *termrpc.Coordinates `protobuf:"bytes,5,opt,name=cursor_window,json=cursorWindow,proto3" json:"cursor_window,omitempty"`
	WindowId      uint64               `protobuf:"varint,6,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleCommandRequest) Descriptor deprecated

func (*HandleCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use HandleCommandRequest.ProtoReflect.Descriptor instead.

func (*HandleCommandRequest) GetArgs

func (x *HandleCommandRequest) GetArgs() []string

func (*HandleCommandRequest) GetCursorContent

func (x *HandleCommandRequest) GetCursorContent() *termrpc.Coordinates

func (*HandleCommandRequest) GetCursorWindow

func (x *HandleCommandRequest) GetCursorWindow() *termrpc.Coordinates

func (*HandleCommandRequest) GetName

func (x *HandleCommandRequest) GetName() string

func (*HandleCommandRequest) GetResourceName

func (x *HandleCommandRequest) GetResourceName() *URI

func (*HandleCommandRequest) GetWindowId

func (x *HandleCommandRequest) GetWindowId() uint64

func (*HandleCommandRequest) ProtoMessage

func (*HandleCommandRequest) ProtoMessage()

func (*HandleCommandRequest) ProtoReflect

func (x *HandleCommandRequest) ProtoReflect() protoreflect.Message

func (*HandleCommandRequest) Reset

func (x *HandleCommandRequest) Reset()

func (*HandleCommandRequest) String

func (x *HandleCommandRequest) String() string

type HandleCommandResponse

type HandleCommandResponse struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleCommandResponse) Descriptor deprecated

func (*HandleCommandResponse) Descriptor() ([]byte, []int)

Deprecated: Use HandleCommandResponse.ProtoReflect.Descriptor instead.

func (*HandleCommandResponse) GetError

func (x *HandleCommandResponse) GetError() string

func (*HandleCommandResponse) ProtoMessage

func (*HandleCommandResponse) ProtoMessage()

func (*HandleCommandResponse) ProtoReflect

func (x *HandleCommandResponse) ProtoReflect() protoreflect.Message

func (*HandleCommandResponse) Reset

func (x *HandleCommandResponse) Reset()

func (*HandleCommandResponse) String

func (x *HandleCommandResponse) String() string

type HandleREPLCommandDone added in v0.0.58

type HandleREPLCommandDone struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleREPLCommandDone) Descriptor deprecated added in v0.0.58

func (*HandleREPLCommandDone) Descriptor() ([]byte, []int)

Deprecated: Use HandleREPLCommandDone.ProtoReflect.Descriptor instead.

func (*HandleREPLCommandDone) GetError added in v0.0.58

func (x *HandleREPLCommandDone) GetError() string

func (*HandleREPLCommandDone) ProtoMessage added in v0.0.58

func (*HandleREPLCommandDone) ProtoMessage()

func (*HandleREPLCommandDone) ProtoReflect added in v0.0.58

func (x *HandleREPLCommandDone) ProtoReflect() protoreflect.Message

func (*HandleREPLCommandDone) Reset added in v0.0.58

func (x *HandleREPLCommandDone) Reset()

func (*HandleREPLCommandDone) String added in v0.0.58

func (x *HandleREPLCommandDone) String() string

type HandleREPLCommandProgress added in v0.0.61

type HandleREPLCommandProgress struct {
	Progress int64  `protobuf:"varint,1,opt,name=progress,proto3" json:"progress,omitempty"`
	Total    int64  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Units    string `protobuf:"bytes,3,opt,name=units,proto3" json:"units,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleREPLCommandProgress) Descriptor deprecated added in v0.0.61

func (*HandleREPLCommandProgress) Descriptor() ([]byte, []int)

Deprecated: Use HandleREPLCommandProgress.ProtoReflect.Descriptor instead.

func (*HandleREPLCommandProgress) GetProgress added in v0.0.61

func (x *HandleREPLCommandProgress) GetProgress() int64

func (*HandleREPLCommandProgress) GetTotal added in v0.0.61

func (x *HandleREPLCommandProgress) GetTotal() int64

func (*HandleREPLCommandProgress) GetUnits added in v0.0.61

func (x *HandleREPLCommandProgress) GetUnits() string

func (*HandleREPLCommandProgress) ProtoMessage added in v0.0.61

func (*HandleREPLCommandProgress) ProtoMessage()

func (*HandleREPLCommandProgress) ProtoReflect added in v0.0.61

func (*HandleREPLCommandProgress) Reset added in v0.0.61

func (x *HandleREPLCommandProgress) Reset()

func (*HandleREPLCommandProgress) String added in v0.0.61

func (x *HandleREPLCommandProgress) String() string

type HandleREPLCommandRequest added in v0.0.58

type HandleREPLCommandRequest struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Args  []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Width int32    `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleREPLCommandRequest) Descriptor deprecated added in v0.0.58

func (*HandleREPLCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use HandleREPLCommandRequest.ProtoReflect.Descriptor instead.

func (*HandleREPLCommandRequest) GetArgs added in v0.0.58

func (x *HandleREPLCommandRequest) GetArgs() []string

func (*HandleREPLCommandRequest) GetName added in v0.0.58

func (x *HandleREPLCommandRequest) GetName() string

func (*HandleREPLCommandRequest) GetWidth added in v0.0.58

func (x *HandleREPLCommandRequest) GetWidth() int32

func (*HandleREPLCommandRequest) ProtoMessage added in v0.0.58

func (*HandleREPLCommandRequest) ProtoMessage()

func (*HandleREPLCommandRequest) ProtoReflect added in v0.0.58

func (x *HandleREPLCommandRequest) ProtoReflect() protoreflect.Message

func (*HandleREPLCommandRequest) Reset added in v0.0.58

func (x *HandleREPLCommandRequest) Reset()

func (*HandleREPLCommandRequest) String added in v0.0.58

func (x *HandleREPLCommandRequest) String() string

type HandleREPLCommandValue added in v0.0.58

type HandleREPLCommandValue struct {
	Rows []*termrpc.CellRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleREPLCommandValue) Descriptor deprecated added in v0.0.58

func (*HandleREPLCommandValue) Descriptor() ([]byte, []int)

Deprecated: Use HandleREPLCommandValue.ProtoReflect.Descriptor instead.

func (*HandleREPLCommandValue) GetRows added in v0.0.58

func (x *HandleREPLCommandValue) GetRows() []*termrpc.CellRow

func (*HandleREPLCommandValue) ProtoMessage added in v0.0.58

func (*HandleREPLCommandValue) ProtoMessage()

func (*HandleREPLCommandValue) ProtoReflect added in v0.0.58

func (x *HandleREPLCommandValue) ProtoReflect() protoreflect.Message

func (*HandleREPLCommandValue) Reset added in v0.0.58

func (x *HandleREPLCommandValue) Reset()

func (*HandleREPLCommandValue) String added in v0.0.58

func (x *HandleREPLCommandValue) String() string

type HelpCommandDone added in v0.0.58

type HelpCommandDone struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*HelpCommandDone) Descriptor deprecated added in v0.0.58

func (*HelpCommandDone) Descriptor() ([]byte, []int)

Deprecated: Use HelpCommandDone.ProtoReflect.Descriptor instead.

func (*HelpCommandDone) GetError added in v0.0.58

func (x *HelpCommandDone) GetError() string

func (*HelpCommandDone) ProtoMessage added in v0.0.58

func (*HelpCommandDone) ProtoMessage()

func (*HelpCommandDone) ProtoReflect added in v0.0.58

func (x *HelpCommandDone) ProtoReflect() protoreflect.Message

func (*HelpCommandDone) Reset added in v0.0.58

func (x *HelpCommandDone) Reset()

func (*HelpCommandDone) String added in v0.0.58

func (x *HelpCommandDone) String() string

type HelpCommandRequest added in v0.0.58

type HelpCommandRequest struct {
	Args  []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	Width int32    `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// contains filtered or unexported fields
}

func (*HelpCommandRequest) Descriptor deprecated added in v0.0.58

func (*HelpCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use HelpCommandRequest.ProtoReflect.Descriptor instead.

func (*HelpCommandRequest) GetArgs added in v0.0.58

func (x *HelpCommandRequest) GetArgs() []string

func (*HelpCommandRequest) GetWidth added in v0.0.58

func (x *HelpCommandRequest) GetWidth() int32

func (*HelpCommandRequest) ProtoMessage added in v0.0.58

func (*HelpCommandRequest) ProtoMessage()

func (*HelpCommandRequest) ProtoReflect added in v0.0.58

func (x *HelpCommandRequest) ProtoReflect() protoreflect.Message

func (*HelpCommandRequest) Reset added in v0.0.58

func (x *HelpCommandRequest) Reset()

func (*HelpCommandRequest) String added in v0.0.58

func (x *HelpCommandRequest) String() string

type HelpCommandValue added in v0.0.58

type HelpCommandValue struct {
	Rows []*termrpc.CellRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*HelpCommandValue) Descriptor deprecated added in v0.0.58

func (*HelpCommandValue) Descriptor() ([]byte, []int)

Deprecated: Use HelpCommandValue.ProtoReflect.Descriptor instead.

func (*HelpCommandValue) GetRows added in v0.0.58

func (x *HelpCommandValue) GetRows() []*termrpc.CellRow

func (*HelpCommandValue) ProtoMessage added in v0.0.58

func (*HelpCommandValue) ProtoMessage()

func (*HelpCommandValue) ProtoReflect added in v0.0.58

func (x *HelpCommandValue) ProtoReflect() protoreflect.Message

func (*HelpCommandValue) Reset added in v0.0.58

func (x *HelpCommandValue) Reset()

func (*HelpCommandValue) String added in v0.0.58

func (x *HelpCommandValue) String() string

type MoveToLocationRequest

type MoveToLocationRequest struct {
	ResourceName *URI   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ListId       string `protobuf:"bytes,2,opt,name=list_id,json=listId,proto3" json:"list_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveToLocationRequest) Descriptor deprecated

func (*MoveToLocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use MoveToLocationRequest.ProtoReflect.Descriptor instead.

func (*MoveToLocationRequest) GetListId

func (x *MoveToLocationRequest) GetListId() string

func (*MoveToLocationRequest) GetResourceName

func (x *MoveToLocationRequest) GetResourceName() *URI

func (*MoveToLocationRequest) ProtoMessage

func (*MoveToLocationRequest) ProtoMessage()

func (*MoveToLocationRequest) ProtoReflect

func (x *MoveToLocationRequest) ProtoReflect() protoreflect.Message

func (*MoveToLocationRequest) Reset

func (x *MoveToLocationRequest) Reset()

func (*MoveToLocationRequest) String

func (x *MoveToLocationRequest) String() string

type MoveToLocationResponse

type MoveToLocationResponse struct {
	// contains filtered or unexported fields
}

func (*MoveToLocationResponse) Descriptor deprecated

func (*MoveToLocationResponse) Descriptor() ([]byte, []int)

Deprecated: Use MoveToLocationResponse.ProtoReflect.Descriptor instead.

func (*MoveToLocationResponse) ProtoMessage

func (*MoveToLocationResponse) ProtoMessage()

func (*MoveToLocationResponse) ProtoReflect

func (x *MoveToLocationResponse) ProtoReflect() protoreflect.Message

func (*MoveToLocationResponse) Reset

func (x *MoveToLocationResponse) Reset()

func (*MoveToLocationResponse) String

func (x *MoveToLocationResponse) String() string

type RawCellsRequest

type RawCellsRequest struct {
	ResourceName *URI `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RawCellsRequest) Descriptor deprecated

func (*RawCellsRequest) Descriptor() ([]byte, []int)

Deprecated: Use RawCellsRequest.ProtoReflect.Descriptor instead.

func (*RawCellsRequest) GetResourceName

func (x *RawCellsRequest) GetResourceName() *URI

func (*RawCellsRequest) ProtoMessage

func (*RawCellsRequest) ProtoMessage()

func (*RawCellsRequest) ProtoReflect

func (x *RawCellsRequest) ProtoReflect() protoreflect.Message

func (*RawCellsRequest) Reset

func (x *RawCellsRequest) Reset()

func (*RawCellsRequest) String

func (x *RawCellsRequest) String() string

type RawCellsResponse

type RawCellsResponse struct {
	Rows []*termrpc.CellRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func NewRawCellsResponse

func NewRawCellsResponse(cells [][]term.Cell) *RawCellsResponse

NewRawCellsResponse converts a buf into an RawCellsResponse.

func (*RawCellsResponse) Descriptor deprecated

func (*RawCellsResponse) Descriptor() ([]byte, []int)

Deprecated: Use RawCellsResponse.ProtoReflect.Descriptor instead.

func (*RawCellsResponse) GetRows

func (x *RawCellsResponse) GetRows() []*termrpc.CellRow

func (*RawCellsResponse) ProtoMessage

func (*RawCellsResponse) ProtoMessage()

func (*RawCellsResponse) ProtoReflect

func (x *RawCellsResponse) ProtoReflect() protoreflect.Message

func (*RawCellsResponse) Reset

func (x *RawCellsResponse) Reset()

func (*RawCellsResponse) String

func (x *RawCellsResponse) String() string

type ServerCommandMessage

type ServerCommandMessage struct {
	Type           ServerCommandMessage_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=text.ServerCommandMessage_MessageType" json:"type,omitempty"`
	Handle         *HandleCommandRequest            `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
	Complete       *CompleteCommandRequest          `protobuf:"bytes,3,opt,name=complete,proto3" json:"complete,omitempty"`
	Response       *SubscribeCommandResponse        `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
	CompleteCancel *CompleteCommandCancel           `protobuf:"bytes,5,opt,name=complete_cancel,json=completeCancel,proto3" json:"complete_cancel,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerCommandMessage) Descriptor deprecated

func (*ServerCommandMessage) Descriptor() ([]byte, []int)

Deprecated: Use ServerCommandMessage.ProtoReflect.Descriptor instead.

func (*ServerCommandMessage) GetComplete

func (x *ServerCommandMessage) GetComplete() *CompleteCommandRequest

func (*ServerCommandMessage) GetCompleteCancel added in v0.2.0

func (x *ServerCommandMessage) GetCompleteCancel() *CompleteCommandCancel

func (*ServerCommandMessage) GetHandle

func (*ServerCommandMessage) GetResponse

func (*ServerCommandMessage) GetType

func (*ServerCommandMessage) ProtoMessage

func (*ServerCommandMessage) ProtoMessage()

func (*ServerCommandMessage) ProtoReflect

func (x *ServerCommandMessage) ProtoReflect() protoreflect.Message

func (*ServerCommandMessage) Reset

func (x *ServerCommandMessage) Reset()

func (*ServerCommandMessage) String

func (x *ServerCommandMessage) String() string

type ServerCommandMessage_MessageType

type ServerCommandMessage_MessageType int32
const (
	ServerCommandMessage_Handle         ServerCommandMessage_MessageType = 0
	ServerCommandMessage_Complete       ServerCommandMessage_MessageType = 1
	ServerCommandMessage_Response       ServerCommandMessage_MessageType = 2
	ServerCommandMessage_CompleteCancel ServerCommandMessage_MessageType = 3
)

func (ServerCommandMessage_MessageType) Descriptor

func (ServerCommandMessage_MessageType) Enum

func (ServerCommandMessage_MessageType) EnumDescriptor deprecated

func (ServerCommandMessage_MessageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServerCommandMessage_MessageType.Descriptor instead.

func (ServerCommandMessage_MessageType) Number

func (ServerCommandMessage_MessageType) String

func (ServerCommandMessage_MessageType) Type

type ServerREPLCommandMessage added in v0.0.58

type ServerREPLCommandMessage struct {
	Type           ServerREPLCommandMessage_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=text.ServerREPLCommandMessage_MessageType" json:"type,omitempty"`
	Handle         *HandleREPLCommandRequest            `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
	Complete       *CompleteCommandRequest              `protobuf:"bytes,3,opt,name=complete,proto3" json:"complete,omitempty"`
	Help           *HelpCommandRequest                  `protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty"`
	Response       *SubscribeREPLCommandResponse        `protobuf:"bytes,5,opt,name=response,proto3" json:"response,omitempty"`
	CompleteCancel *CompleteCommandCancel               `protobuf:"bytes,6,opt,name=complete_cancel,json=completeCancel,proto3" json:"complete_cancel,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerREPLCommandMessage) Descriptor deprecated added in v0.0.58

func (*ServerREPLCommandMessage) Descriptor() ([]byte, []int)

Deprecated: Use ServerREPLCommandMessage.ProtoReflect.Descriptor instead.

func (*ServerREPLCommandMessage) GetComplete added in v0.0.58

func (*ServerREPLCommandMessage) GetCompleteCancel added in v0.2.0

func (x *ServerREPLCommandMessage) GetCompleteCancel() *CompleteCommandCancel

func (*ServerREPLCommandMessage) GetHandle added in v0.0.58

func (*ServerREPLCommandMessage) GetHelp added in v0.0.58

func (*ServerREPLCommandMessage) GetResponse added in v0.0.58

func (*ServerREPLCommandMessage) GetType added in v0.0.58

func (*ServerREPLCommandMessage) ProtoMessage added in v0.0.58

func (*ServerREPLCommandMessage) ProtoMessage()

func (*ServerREPLCommandMessage) ProtoReflect added in v0.0.58

func (x *ServerREPLCommandMessage) ProtoReflect() protoreflect.Message

func (*ServerREPLCommandMessage) Reset added in v0.0.58

func (x *ServerREPLCommandMessage) Reset()

func (*ServerREPLCommandMessage) String added in v0.0.58

func (x *ServerREPLCommandMessage) String() string

type ServerREPLCommandMessage_MessageType added in v0.0.58

type ServerREPLCommandMessage_MessageType int32
const (
	ServerREPLCommandMessage_Handle         ServerREPLCommandMessage_MessageType = 0
	ServerREPLCommandMessage_Complete       ServerREPLCommandMessage_MessageType = 1
	ServerREPLCommandMessage_Help           ServerREPLCommandMessage_MessageType = 2
	ServerREPLCommandMessage_Response       ServerREPLCommandMessage_MessageType = 3
	ServerREPLCommandMessage_CompleteCancel ServerREPLCommandMessage_MessageType = 4
)

func (ServerREPLCommandMessage_MessageType) Descriptor added in v0.0.58

func (ServerREPLCommandMessage_MessageType) Enum added in v0.0.58

func (ServerREPLCommandMessage_MessageType) EnumDescriptor deprecated added in v0.0.58

func (ServerREPLCommandMessage_MessageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServerREPLCommandMessage_MessageType.Descriptor instead.

func (ServerREPLCommandMessage_MessageType) Number added in v0.0.58

func (ServerREPLCommandMessage_MessageType) String added in v0.0.58

func (ServerREPLCommandMessage_MessageType) Type added in v0.0.58

type SetCursorRequest

type SetCursorRequest struct {
	Pos          *termrpc.Coordinates `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
	ResourceName *URI                 `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCursorRequest) Descriptor deprecated

func (*SetCursorRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetCursorRequest.ProtoReflect.Descriptor instead.

func (*SetCursorRequest) GetPos

func (x *SetCursorRequest) GetPos() *termrpc.Coordinates

func (*SetCursorRequest) GetResourceName

func (x *SetCursorRequest) GetResourceName() *URI

func (*SetCursorRequest) ProtoMessage

func (*SetCursorRequest) ProtoMessage()

func (*SetCursorRequest) ProtoReflect

func (x *SetCursorRequest) ProtoReflect() protoreflect.Message

func (*SetCursorRequest) Reset

func (x *SetCursorRequest) Reset()

func (*SetCursorRequest) String

func (x *SetCursorRequest) String() string

type SetCursorResponse

type SetCursorResponse struct {
	// contains filtered or unexported fields
}

func (*SetCursorResponse) Descriptor deprecated

func (*SetCursorResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetCursorResponse.ProtoReflect.Descriptor instead.

func (*SetCursorResponse) ProtoMessage

func (*SetCursorResponse) ProtoMessage()

func (*SetCursorResponse) ProtoReflect

func (x *SetCursorResponse) ProtoReflect() protoreflect.Message

func (*SetCursorResponse) Reset

func (x *SetCursorResponse) Reset()

func (*SetCursorResponse) String

func (x *SetCursorResponse) String() string

type SetDefaultAttributesRequest

type SetDefaultAttributesRequest struct {
	ResourceName *URI                `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	Attributes   *termrpc.Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDefaultAttributesRequest) Descriptor deprecated

func (*SetDefaultAttributesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetDefaultAttributesRequest.ProtoReflect.Descriptor instead.

func (*SetDefaultAttributesRequest) GetAttributes

func (x *SetDefaultAttributesRequest) GetAttributes() *termrpc.Attributes

func (*SetDefaultAttributesRequest) GetResourceName

func (x *SetDefaultAttributesRequest) GetResourceName() *URI

func (*SetDefaultAttributesRequest) ProtoMessage

func (*SetDefaultAttributesRequest) ProtoMessage()

func (*SetDefaultAttributesRequest) ProtoReflect

func (*SetDefaultAttributesRequest) Reset

func (x *SetDefaultAttributesRequest) Reset()

func (*SetDefaultAttributesRequest) String

func (x *SetDefaultAttributesRequest) String() string

type SetDefaultAttributesResponse

type SetDefaultAttributesResponse struct {
	// contains filtered or unexported fields
}

func (*SetDefaultAttributesResponse) Descriptor deprecated

func (*SetDefaultAttributesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetDefaultAttributesResponse.ProtoReflect.Descriptor instead.

func (*SetDefaultAttributesResponse) ProtoMessage

func (*SetDefaultAttributesResponse) ProtoMessage()

func (*SetDefaultAttributesResponse) ProtoReflect

func (*SetDefaultAttributesResponse) Reset

func (x *SetDefaultAttributesResponse) Reset()

func (*SetDefaultAttributesResponse) String

type SetLocationListRequest

type SetLocationListRequest struct {
	ResourceName *URI                               `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ListId       string                             `protobuf:"bytes,2,opt,name=list_id,json=listId,proto3" json:"list_id,omitempty"`
	Locations    []*SetLocationListRequest_Location `protobuf:"bytes,3,rep,name=locations,proto3" json:"locations,omitempty"`
	Priority     uint32                             `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*SetLocationListRequest) Descriptor deprecated

func (*SetLocationListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLocationListRequest.ProtoReflect.Descriptor instead.

func (*SetLocationListRequest) GetListId

func (x *SetLocationListRequest) GetListId() string

func (*SetLocationListRequest) GetLocations

func (*SetLocationListRequest) GetPriority

func (x *SetLocationListRequest) GetPriority() uint32

func (*SetLocationListRequest) GetResourceName

func (x *SetLocationListRequest) GetResourceName() *URI

func (*SetLocationListRequest) ProtoMessage

func (*SetLocationListRequest) ProtoMessage()

func (*SetLocationListRequest) ProtoReflect

func (x *SetLocationListRequest) ProtoReflect() protoreflect.Message

func (*SetLocationListRequest) Reset

func (x *SetLocationListRequest) Reset()

func (*SetLocationListRequest) String

func (x *SetLocationListRequest) String() string

type SetLocationListRequest_Location

type SetLocationListRequest_Location struct {
	From *termrpc.Coordinates `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *termrpc.Coordinates `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Attr *termrpc.Attributes  `protobuf:"bytes,3,opt,name=attr,proto3" json:"attr,omitempty"`
	Msg  string               `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Icon string               `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*SetLocationListRequest_Location) Descriptor deprecated

func (*SetLocationListRequest_Location) Descriptor() ([]byte, []int)

Deprecated: Use SetLocationListRequest_Location.ProtoReflect.Descriptor instead.

func (*SetLocationListRequest_Location) GetAttr

func (*SetLocationListRequest_Location) GetFrom

func (*SetLocationListRequest_Location) GetIcon added in v0.0.32

func (*SetLocationListRequest_Location) GetMsg

func (*SetLocationListRequest_Location) GetTo

func (*SetLocationListRequest_Location) ProtoMessage

func (*SetLocationListRequest_Location) ProtoMessage()

func (*SetLocationListRequest_Location) ProtoReflect

func (*SetLocationListRequest_Location) Reset

func (*SetLocationListRequest_Location) String

type SetLocationListResponse

type SetLocationListResponse struct {
	// contains filtered or unexported fields
}

func (*SetLocationListResponse) Descriptor deprecated

func (*SetLocationListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetLocationListResponse.ProtoReflect.Descriptor instead.

func (*SetLocationListResponse) ProtoMessage

func (*SetLocationListResponse) ProtoMessage()

func (*SetLocationListResponse) ProtoReflect

func (x *SetLocationListResponse) ProtoReflect() protoreflect.Message

func (*SetLocationListResponse) Reset

func (x *SetLocationListResponse) Reset()

func (*SetLocationListResponse) String

func (x *SetLocationListResponse) String() string

type SubscribeCommandRequest

type SubscribeCommandRequest struct {
	Command *CommandManual `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// advertises that the extension understands
	// ServerCommandMessage.CompleteCancel; editors must not send cancels
	// to extensions that do not set it, since older SDKs terminate the
	// stream on unknown message types.
	SupportsCompleteCancel bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SubscribeCommandRequest) Descriptor deprecated

func (*SubscribeCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeCommandRequest.ProtoReflect.Descriptor instead.

func (*SubscribeCommandRequest) GetCommand

func (x *SubscribeCommandRequest) GetCommand() *CommandManual

func (*SubscribeCommandRequest) GetSupportsCompleteCancel added in v0.2.0

func (x *SubscribeCommandRequest) GetSupportsCompleteCancel() bool

func (*SubscribeCommandRequest) ProtoMessage

func (*SubscribeCommandRequest) ProtoMessage()

func (*SubscribeCommandRequest) ProtoReflect

func (x *SubscribeCommandRequest) ProtoReflect() protoreflect.Message

func (*SubscribeCommandRequest) Reset

func (x *SubscribeCommandRequest) Reset()

func (*SubscribeCommandRequest) String

func (x *SubscribeCommandRequest) String() string

type SubscribeCommandResponse

type SubscribeCommandResponse struct {
	// contains filtered or unexported fields
}

func (*SubscribeCommandResponse) Descriptor deprecated

func (*SubscribeCommandResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeCommandResponse.ProtoReflect.Descriptor instead.

func (*SubscribeCommandResponse) ProtoMessage

func (*SubscribeCommandResponse) ProtoMessage()

func (*SubscribeCommandResponse) ProtoReflect

func (x *SubscribeCommandResponse) ProtoReflect() protoreflect.Message

func (*SubscribeCommandResponse) Reset

func (x *SubscribeCommandResponse) Reset()

func (*SubscribeCommandResponse) String

func (x *SubscribeCommandResponse) String() string

type SubscribeEventRequest

type SubscribeEventRequest struct {
	Type        []EditorEvent_Type `protobuf:"varint,1,rep,packed,name=type,proto3,enum=text.EditorEvent_Type" json:"type,omitempty"`
	Unsubscribe bool               `protobuf:"varint,3,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeEventRequest) Descriptor deprecated

func (*SubscribeEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeEventRequest.ProtoReflect.Descriptor instead.

func (*SubscribeEventRequest) GetType

func (x *SubscribeEventRequest) GetType() []EditorEvent_Type

func (*SubscribeEventRequest) GetUnsubscribe

func (x *SubscribeEventRequest) GetUnsubscribe() bool

func (*SubscribeEventRequest) ProtoMessage

func (*SubscribeEventRequest) ProtoMessage()

func (*SubscribeEventRequest) ProtoReflect

func (x *SubscribeEventRequest) ProtoReflect() protoreflect.Message

func (*SubscribeEventRequest) Reset

func (x *SubscribeEventRequest) Reset()

func (*SubscribeEventRequest) String

func (x *SubscribeEventRequest) String() string

type SubscribeREPLCommandRequest added in v0.0.58

type SubscribeREPLCommandRequest struct {
	Command                *CommandManual `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	SupportsCompleteCancel bool           `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SubscribeREPLCommandRequest) Descriptor deprecated added in v0.0.58

func (*SubscribeREPLCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeREPLCommandRequest.ProtoReflect.Descriptor instead.

func (*SubscribeREPLCommandRequest) GetCommand added in v0.0.58

func (x *SubscribeREPLCommandRequest) GetCommand() *CommandManual

func (*SubscribeREPLCommandRequest) GetSupportsCompleteCancel added in v0.2.0

func (x *SubscribeREPLCommandRequest) GetSupportsCompleteCancel() bool

func (*SubscribeREPLCommandRequest) ProtoMessage added in v0.0.58

func (*SubscribeREPLCommandRequest) ProtoMessage()

func (*SubscribeREPLCommandRequest) ProtoReflect added in v0.0.58

func (*SubscribeREPLCommandRequest) Reset added in v0.0.58

func (x *SubscribeREPLCommandRequest) Reset()

func (*SubscribeREPLCommandRequest) String added in v0.0.58

func (x *SubscribeREPLCommandRequest) String() string

type SubscribeREPLCommandResponse added in v0.0.58

type SubscribeREPLCommandResponse struct {
	// contains filtered or unexported fields
}

func (*SubscribeREPLCommandResponse) Descriptor deprecated added in v0.0.58

func (*SubscribeREPLCommandResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeREPLCommandResponse.ProtoReflect.Descriptor instead.

func (*SubscribeREPLCommandResponse) ProtoMessage added in v0.0.58

func (*SubscribeREPLCommandResponse) ProtoMessage()

func (*SubscribeREPLCommandResponse) ProtoReflect added in v0.0.58

func (*SubscribeREPLCommandResponse) Reset added in v0.0.58

func (x *SubscribeREPLCommandResponse) Reset()

func (*SubscribeREPLCommandResponse) String added in v0.0.58

type Token

type Token struct {
	browserrpc.Token
	workspaceapi.URI
}

Token wraps a browser.Token to satisfy editor.Handler.

func (Token) MaxSeekOffset

func (t Token) MaxSeekOffset() int

MaxSeekOffset satisfies text.Handler.

func (Token) Resource

func (t Token) Resource() workspaceapi.URI

Resource satisfies text.Handler

func (Token) SeekDown

func (t Token) SeekDown() bool

SeekDown satisfies text.Handler.

func (Token) SeekOffset

func (t Token) SeekOffset() int

SeekOffset satisfies text.Handler.

func (Token) SeekUp

func (t Token) SeekUp() bool

SeekUp satisfies text.Handler.

func (Token) SetCursorAtScroll

func (t Token) SetCursorAtScroll(term.Coordinates) bool

SetCursorAtScroll satisfies text.Handler

func (Token) SetWrap

func (t Token) SetWrap(wrap bool)

SetWrap satisfies text.Handler

func (Token) ShowCommandBar

func (t Token) ShowCommandBar(show bool)

ShowCommandBar satisfies text.Handler.

type URI

type URI struct {
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func NewURI

func NewURI(u workspaceapi.URI) *URI

NewURI maps a workspaceapi.URI into a rpc.URI.

func (*URI) Descriptor deprecated

func (*URI) Descriptor() ([]byte, []int)

Deprecated: Use URI.ProtoReflect.Descriptor instead.

func (*URI) GetUri

func (x *URI) GetUri() string

func (*URI) ProtoMessage

func (*URI) ProtoMessage()

func (*URI) ProtoReflect

func (x *URI) ProtoReflect() protoreflect.Message

func (*URI) Reset

func (x *URI) Reset()

func (*URI) String

func (x *URI) String() string

type UnimplementedEditorServer

type UnimplementedEditorServer struct{}

UnimplementedEditorServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEditorServer) Cursor

func (UnimplementedEditorServer) Edit

func (UnimplementedEditorServer) EditCell

func (UnimplementedEditorServer) Editor

func (UnimplementedEditorServer) MoveToNextLocation

func (UnimplementedEditorServer) MoveToPrevLocation

func (UnimplementedEditorServer) RawCells

func (UnimplementedEditorServer) SetCursor

func (UnimplementedEditorServer) SetLocationList

func (UnimplementedEditorServer) SubscribeREPLCommand added in v0.0.58

type UnsafeEditorServer

type UnsafeEditorServer interface {
	// contains filtered or unexported methods
}

UnsafeEditorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EditorServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL