Commander::ViewerSessionSnapshot
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : String, panel_index : Int32 | Nil, path : String, title : String, mode : String = "text", scroll_offset : Int32 = 0, cursor_line : Int32 = 0, cursor_col : Int32 = 0, search_term : String | Nil = nil, dirty : Bool = false, readonly : Bool = true, truncated : Bool = false, error : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cursor_col
Sourcecursor_line
Sourcedirty
Sourceerror
Sourceid
Sourcemode
Sourcepanel_index
Sourcepath
Sourcereadonly
Sourcescroll_offset
Sourcesearch_term
Sourcetitle
Sourcetruncated
Source