rigCodeEditor 0.1.0
RigKit pack API - rigCodeEditor
Loading...
Searching...
No Matches
rigkit::TextEditorPanel::SidebarEntry Struct Reference

One host-supplied source tab - a file or a live buffer. More...

#include <rigCodeEditor/src/TextEditorPanel.h>

Public Attributes

std::string id
 Stable key across rebuilds; falls back to label.
uint32_t revision = 0
 Bump when the backing buffer changed underneath the editor.

Detailed Description

One host-supplied source tab - a file or a live buffer.

Set read to back the entry with memory instead of disk; write then receives every edit, making the host's buffer the source of truth. Without write the entry loads read-only.


The documentation for this struct was generated from the following file: