Package ide-workbench
ide-workbench-demo #sleela 2.5 (lib/ide-workbench/ide-workbench-demo.sleela)
IdeWorkbenchDemo class
Runnable demonstrator for the ide-workbench package — the IDE composition over lib/gui, lib/user-interface/lib/ui, lib/nordshrift, lib/compiler, and lib/sldocument. It walks the core worker journey: open a project, open a .sst sheet, edit it, compile it through "SST Nordshrit" (Nordshrift -> .sleela -> SLeeLa compiler), see diagnostics, and save. Self-contained (inline flow + main), in the style of lib/gui/gui-demo.sleela.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boolToStr | String boolToStr(boolean b) | No description in source. |
banner | void banner(String t) | No description in source. |
main | void main() | No description in source. |
ide-workbench-gui-demo #sleela 2.5 (lib/ide-workbench/ide-workbench-gui-demo.sleela)
IdeWorkbenchGuiDemo class
Runnable demonstrator that raises the SLeeLa IDE as a REAL SleelaUI window — the whole GUI authored in SLeeLa. It boots SLIdeWorkbenchUI, populates the project tree, opens a couple of files into SLTextView code editors inside the SLNotebook, publishes a sample diagnostic, and runs the SleelaUI event loop. On a headless host (no X11 display) boot() returns false and the demo exits cleanly, exactly like SLGalleryDemo. Family: ide-workbench. The user interface is SleelaUI; this file proves the IDE shell is usable from the language itself.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
run | int run() | No description in source. |
SLIdeCommandRegistry #sleela 2.5 (lib/ide-workbench/SLIdeCommandRegistry.sleela)
SLIdeCommandRegistry class
Defines SLIdeCommandRegistry — the IDE command system lib/gui lacks. SLGuiAction models a single named, take-the-latch action; an IDE needs a registry of commands (Open, Save, Save All, Compile, Run, Close) each mapped to a stable id, a menu/toolbar label, and a SLeeLa operation name the host invokes. This is the single place that binds UI affordances (menus from lib/ui/SLMenu, toolbars, shortcuts) to the services: compile -> lib/nordshrift + lib/compiler, save/load -> lib/sldocument.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MAX_COMMANDS | static final int MAX_COMMANDS = 1024 | No description in source. |
ids | String[] ids | stable command id, e.g. "ide.compile" |
labels | String[] labels | human label, e.g. "Compile" |
operations | String[] operations | SLeeLa operation the host invokes |
enabled | int[] enabled | 1 when the command is currently invokable |
count | int count | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
installDefaults | void installDefaults() | Register the standard IDE command set wired to its service operations. |
register | boolean register(String id, String label, String operation) | No description in source. |
indexOf | int indexOf(String id) | No description in source. |
size | int size() | No description in source. |
has | boolean has(String id) | No description in source. |
labelOf | String labelOf(String id) | No description in source. |
operationOf | String operationOf(String id) | No description in source. |
setEnabled | boolean setEnabled(String id, boolean on) | Enable/disable a command (e.g. "Save" is disabled when nothing is dirty). |
isEnabled | boolean isEnabled(String id) | No description in source. |
toAction | SLGuiAction toAction(String id) | Build a bound lib/gui SLGuiAction for a command so a Path 1/Path 2 host can raise it; returns null for an unknown command. |
SLIdeDiagnosticsPanel #sleela 2.5 (lib/ide-workbench/SLIdeDiagnosticsPanel.sleela)
SLIdeDiagnosticsPanel class
Defines SLIdeDiagnosticsPanel — the surface that renders compiler diagnostics inside the IDE. The compile pipeline (lib/compiler, lib/nordshrift) produces diagnostics; nothing in lib/gui or the widget packages shows them in an editor. This panel records category, severity, a 1-based (line, column) origin, the owning document id, and a message, honoring the /ide SLEELA.IDE.CONTRACT.md rule that compiler failures stay IDE-visible failures (a failed compile must not read back as success).
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MAX_DIAGNOSTICS | static final int MAX_DIAGNOSTICS = 65536 | No description in source. |
SEV_INFO | static final int SEV_INFO = 0 | Severity scale (ascending). ERROR fails the compile result. |
SEV_WARNING | static final int SEV_WARNING = 1 | No description in source. |
SEV_ERROR | static final int SEV_ERROR = 2 | No description in source. |
documentIds | String[] documentIds | No description in source. |
severities | int[] severities | No description in source. |
lines | int[] lines | 1-based line (compiler boundary is 1-based) |
columns | int[] columns | 1-based column |
messages | String[] messages | No description in source. |
count | int count | No description in source. |
errorCount | int errorCount | No description in source. |
warningCount | int warningCount | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
clear | void clear() | Clear everything (called at the start of each compile run). |
clearDocument | void clearDocument(String documentId) | Clear just the diagnostics owned by one document (incremental recompile). |
publish | boolean publish(String documentId, int severity, int line, int column, String message) | Publish one diagnostic from the compiler/Nordshrift output. |
size | int size() | No description in source. |
errors | int errors() | No description in source. |
warnings | int warnings() | No description in source. |
compileSucceeded | boolean compileSucceeded() | The IDE contract's failure rule: a run with any error is a failed run. |
statusLine | String statusLine() | A short status line for the status bar (SLStatusBar in lib/user-interface). |
messageAt | String messageAt(int index) | No description in source. |
severityAt | int severityAt(int index) | No description in source. |
SLIdeEditor #sleela 2.5 (lib/ide-workbench/SLIdeEditor.sleela)
SLIdeEditor class
Defines SLIdeEditor — a real code-editor buffer for one open source file. Where lib/ui/SLTextArea is a visibility stub, SLIdeEditor adds the editor state an IDE needs: a text buffer, a dirty (unsaved) flag, a caret offset, a selection span, and a revision marker that mirrors the lib/gui SLGuiDocument revision fingerprint so external changes can be reconciled. Presentation (actual glyphs, syntax colors) is still owned by the Java/native host; SLeeLa owns the buffer and the meaning of edits.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
documentId | String documentId | stable IDE-facing identity (matches SLGuiDocument.id) |
path | String path | resolved host path, "" when untitled |
language | String language | "sleela" | "sst" | "c" | "cpp" | "java" |
text | String text | the live buffer contents |
savedRevision | String savedRevision | on-disk revision last synced ("lastModified:size" | "absent") |
dirty | int dirty | 1 when the buffer differs from the saved revision |
caret | int caret | caret offset into text |
selStart | int selStart | selection start offset (== selEnd when no selection) |
selEnd | int selEnd | selection end offset |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String docId, String docPath, String lang) | No description in source. |
getId | String getId() | No description in source. |
getPath | String getPath() | No description in source. |
getLanguage | String getLanguage() | No description in source. |
untitled | boolean untitled() | No description in source. |
loadText | void loadText(String value, String revision) | Replace the buffer (a load or a programmatic set); not itself a user edit. |
setText | void setText(String value) | A user edit: set the buffer text and mark it dirty. |
getText | String getText() | No description in source. |
isDirty | boolean isDirty() | No description in source. |
markSaved | void markSaved(String revision) | Mark the buffer clean against the revision the host just wrote to disk. |
moveCaret | void moveCaret(int offset) | Caret / selection (offsets are clamped to the buffer by the host). |
getCaret | int getCaret() | No description in source. |
select | void select(int start, int end) | No description in source. |
hasSelection | boolean hasSelection() | No description in source. |
staleAgainst | boolean staleAgainst(String diskRevision) | True when an external (on-disk) revision no longer matches what we loaded, i.e. the file changed underneath us (reconcile via the document listener). |
isSst | boolean isSst() | No description in source. |
isSleela | boolean isSleela() | No description in source. |
SLIdeLanguageBar #sleela 2.5 (lib/ide-workbench/SLIdeLanguageBar.sleela)
SLIdeLanguageBar class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
LANG_SLEELA | static final int LANG_SLEELA=0 | No description in source. |
LANG_C | static final int LANG_C=1 | No description in source. |
LANG_CPP | static final int LANG_CPP=2 | No description in source. |
LANG_JAVA | static final int LANG_JAVA=3 | No description in source. |
row | SLBox row | No description in source. |
buttons | SLButton[] buttons | No description in source. |
labels | String[] labels | No description in source. |
active | int active | No description in source. |
pending | int pending | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
createIn | void createIn(SLWidget parent) | No description in source. |
poll | int poll() | No description in source. |
takeLanguage | int takeLanguage() | No description in source. |
selectedLanguage | int selectedLanguage() | No description in source. |
languageName | String languageName() | No description in source. |
SLIdeMenuBar #sleela 2.5 (lib/ide-workbench/SLIdeMenuBar.sleela)
SLIdeMenuBar class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MENU_FILE | static final int MENU_FILE = 0 | No description in source. |
MENU_EDIT | static final int MENU_EDIT = 1 | No description in source. |
MENU_VIEW | static final int MENU_VIEW = 2 | No description in source. |
MENU_NAVIGATE | static final int MENU_NAVIGATE = 3 | No description in source. |
MENU_CODE | static final int MENU_CODE = 4 | No description in source. |
MENU_RUN | static final int MENU_RUN = 5 | No description in source. |
MENU_TOOLS | static final int MENU_TOOLS = 6 | No description in source. |
MENU_HELP | static final int MENU_HELP = 7 | No description in source. |
root | SLBox root | No description in source. |
menuRow | SLBox menuRow | No description in source. |
commandRow | SLBox commandRow | No description in source. |
menus | SLButton[] menus | No description in source. |
commands | SLButton[] commands | No description in source. |
activeMenu | int activeMenu | No description in source. |
pendingCommand | int pendingCommand | No description in source. |
menuNames | String[] menuNames | No description in source. |
commandNames | String[] commandNames | No description in source. |
commandOwners | int[] commandOwners | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
createIn | void createIn(SLWidget parent) | No description in source. |
refreshCommands | void refreshCommands() | No description in source. |
poll | int poll() | No description in source. |
takeCommand | int takeCommand() | No description in source. |
selectedMenu | int selectedMenu() | No description in source. |
commandName | String commandName(int index) | No description in source. |
SLIdeProjectTree #sleela 2.5 (lib/ide-workbench/SLIdeProjectTree.sleela)
SLIdeProjectTree class
Defines SLIdeProjectTree — the project / file explorer composition. lib/ui and lib/user-interface provide an SLTreeView widget but nothing binds it to a project model; this class is that binding. It holds the project root, a flat ordered list of entries (path + kind + depth that a tree widget renders), and the currently selected entry. Opening an entry is delegated upward to the workbench, which creates/focuses an SLIdeEditor.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MAX_ENTRIES | static final int MAX_ENTRIES = 65536 | No description in source. |
rootPath | String rootPath | the opened project / workspace root |
paths | String[] paths | resolved host paths, one per visible entry |
kinds | int[] kinds | 0 = directory, 1 = file |
depths | int[] depths | indentation depth for tree rendering |
count | int count | No description in source. |
selected | int selected | index of the selected entry, -1 when none |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init(String root) | No description in source. |
root | String root() | No description in source. |
size | int size() | No description in source. |
addEntry | boolean addEntry(String path, int kind, int depth) | Add a visible entry (the host enumerates the filesystem; SLeeLa models it). |
isDirectory | boolean isDirectory(int index) | No description in source. |
isFile | boolean isFile(int index) | No description in source. |
pathAt | String pathAt(int index) | No description in source. |
depthAt | int depthAt(int index) | No description in source. |
select | boolean select(int index) | No description in source. |
selection | int selection() | No description in source. |
selectedPath | String selectedPath() | No description in source. |
selectionOpenable | boolean selectionOpenable() | The selected entry is openable in an editor only when it is a file. |
languageFor | String languageFor(String path) | Classify a path's editor language from its extension (drives SLIdeEditor and the compile route: .sst goes through Nordshrift, .sleela goes direct). |
endsWith | boolean endsWith(String s, String suffix) | No description in source. |
len | int len(String s) | Thin wrappers over the host string services (kept explicit so the model is self-describing; the Java/native host supplies the implementations). |
substr | String substr(String s, int from, int to) | No description in source. |
SLIdeTabGroup #sleela 2.5 (lib/ide-workbench/SLIdeTabGroup.sleela)
SLIdeTabGroup class
Defines SLIdeTabGroup — the multi-document (tabbed) model lib/gui lacks. SLGuiWindow is a single-text window and SLGuiDocumentListener is hard-bounded to 1..14 watched documents; a real IDE opens many files. This group owns an unbounded set of SLIdeEditor buffers and tracks the active one, while exposing only the active + most-recently-focused editors (<= SLGUI_MAX_DOCUMENTS) to be registered with the OS watch. The 1..14 bound stays an OS-watch contract; the open-file count is independent of it.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MAX_OPEN | static final int MAX_OPEN = 4096 | generous open-file ceiling |
SLGUI_MAX_DOCUMENTS | static final int SLGUI_MAX_DOCUMENTS = 14 | mirrors lib/gui's hard watch bound |
editors | SLIdeEditor[] editors | No description in source. |
count | int count | No description in source. |
active | int active | index of the active editor, -1 when none |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
size | int size() | No description in source. |
empty | boolean empty() | No description in source. |
indexOf | int indexOf(String documentId) | Find an already-open editor for a document id (-1 when not open). |
open | int open(SLIdeEditor editor) | Open (or focus, if already open) an editor; returns its index or -1 if full. |
activeEditor | SLIdeEditor activeEditor() | No description in source. |
focus | boolean focus(int index) | Focus an open tab by index; makes it the active (and most-recent) editor. |
close | boolean close(int index) | Close a tab; shifts the array down and keeps a valid active index. |
dirtyCount | int dirtyCount() | How many editors have unsaved changes. |
anyDirty | boolean anyDirty() | No description in source. |
watchSetSize | int watchSetSize() | The number of editors the OS watch should register this moment: the active one plus as many others as fit under the 1..14 lib/gui contract. Never 0 when at least one editor is open (so the watch has a valid 1..14 count). |
watchSetWithinGuiBound | boolean watchSetWithinGuiBound() | True when the OS-watch registration must respect the 1..14 bound. |
SLIdeToolbar #sleela 2.5 (lib/ide-workbench/SLIdeToolbar.sleela)
SLIdeToolbar class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
ACTION_NEW | static final int ACTION_NEW=0 | No description in source. |
ACTION_OPEN | static final int ACTION_OPEN=1 | No description in source. |
ACTION_SAVE | static final int ACTION_SAVE=2 | No description in source. |
ACTION_BUILD | static final int ACTION_BUILD=3 | No description in source. |
ACTION_RUN | static final int ACTION_RUN=4 | No description in source. |
ACTION_DEBUG | static final int ACTION_DEBUG=5 | No description in source. |
ACTION_STOP | static final int ACTION_STOP=6 | No description in source. |
row | SLBox row | No description in source. |
buttons | SLButton[] buttons | No description in source. |
labels | String[] labels | No description in source. |
pending | int pending | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
createIn | void createIn(SLWidget parent) | No description in source. |
poll | int poll() | No description in source. |
takeAction | int takeAction() | No description in source. |
actionName | String actionName(int action) | No description in source. |
SLIdeWorkbench #sleela 2.5 (lib/ide-workbench/SLIdeWorkbench.sleela)
SLIdeWorkbench class
Defines SLIdeWorkbench — the top-level IDE composition. It owns the lib/gui window + the three-path integration posture, the tab group of open editors, the project tree, the command registry, and the diagnostics panel, and it implements the core edit -> compile -> save loop over the existing services: Nordshrift (.sst -> .sleela) + the SLeeLa compiler for compilation, and lib/sldocument for load/save. SLeeLa owns the IDE's meaning; the Java/native host owns presentation and desktop lifecycle.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
backend | SLGuiBackend backend | lib/gui: toolkit selection |
window | SLGuiWindow window | lib/gui: the host window |
integration | SLGuiIntegration integration | lib/gui: three-path posture |
watch | SLGuiDocumentListener watch | lib/gui: OS-driven 1..14 document watch |
tabs | SLIdeTabGroup tabs | open editors (unbounded) |
tree | SLIdeProjectTree tree | project explorer |
commands | SLIdeCommandRegistry commands | Open/Save/Compile/Run/... |
diagnostics | SLIdeDiagnosticsPanel diagnostics | compiler problems surface |
ready | int ready | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boot | void boot(String backendKind, String title, int width, int height, String root) | Stand up the whole shell. `root` is the opened project directory. |
isReady | boolean isReady() | No description in source. |
openFile | int openFile(String documentId, String path, String contents, String revision) | Open a file from the tree into an editor tab, classifying its language. |
editActive | void editActive(String newText) | Apply a user edit to the active editor. |
compileActive | boolean compileActive(NordshriftCompilerBridge nordshrift, SLCompiler compiler) | Compile the active editor. .sst routes through NordshriftCompilerBridge; .sleela goes straight to the SLeeLa compiler. Diagnostics are published to the panel; the return value honors the IDE failure rule. |
saveActive | boolean saveActive(String revision) | The host persisted the active editor at `revision`; mark it clean. |
onDocumentChange | int onDocumentChange(String documentId, String revision, int realChanges) | An OS watch call reported `realChanges`; refresh the active editor's view (full reconciliation of each stale buffer is a host re-read). |
rearmWatch | void rearmWatch() | Re-register the OS watch over the current bounded (1..14) watch set. |
syncCommandState | void syncCommandState() | Keep command availability honest: Save/Save All reflect dirty state; Compile/Run require an active editor. |
tabGroup | SLIdeTabGroup tabGroup() | Accessors for the host/presentation layer. |
projectTree | SLIdeProjectTree projectTree() | No description in source. |
commandRegistry | SLIdeCommandRegistry commandRegistry() | No description in source. |
diagnosticsPanel | SLIdeDiagnosticsPanel diagnosticsPanel() | No description in source. |
hostWindow | SLGuiWindow hostWindow() | No description in source. |
SLIdeWorkbenchUI #sleela 2.5 (lib/ide-workbench/SLIdeWorkbenchUI.sleela)
SLIdeWorkbenchUI class
Defines SLIdeWorkbenchUI — the IDE shell rendered as a REAL SleelaUI graphical interface, built on the /lib/gui support structure. The shell's chrome (the window, header bar, and the Open/Compile/Save/Close command buttons) is expressed as an SLGuiApp DOM: each command is a DOM button node with an onClick handler bound through the event bus, so a real click flows widget -> SLGuiHostAdapter -> SLGuiEvent -> handler -> command, instead of ad-hoc .clicked() polling. The rich content controls (the SLTreeView project explorer, the SLNotebook of SLTextView code editors, and the SLLoadingIndicator) are specialised SleelaUI widgets mounted into the DOM's body/status container handles. SLGuiApp runs the loop (pump -> poll activations -> dispatch -> reconcile); this class only reads the command handler latches and acts. The IDE is the first full consumer of the event/DOM/support stack. Family: ide-workbench. The GUI is SleelaUI driven through the lib/gui DOM; SLeeLa owns meaning and dispatch.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
app | SLGuiApp app | the /lib/gui support structure (app+window+DOM) |
dom | SLGuiDom dom | No description in source. |
openH | SLGuiHandler openH | Command handlers (bound through the DOM event bus; polled for latches). |
compileH | SLGuiHandler compileH | No description in source. |
saveH | SLGuiHandler saveH | No description in source. |
closeH | SLGuiHandler closeH | No description in source. |
treeSelectH | SLGuiHandler treeSelectH | Content-control handlers: tree selection (CHANGE) and tab switch (TOGGLE), routed through the SAME event bus so the content controls are DOM-driven too, not polled ad hoc. |
tabChangeH | SLGuiHandler tabChangeH | No description in source. |
tree | SLTreeView tree | Rich content controls mounted into DOM container handles. |
notebook | SLNotebook notebook | No description in source. |
status | SLStatusBar status | No description in source. |
loading | SLLoadingIndicator loading | No description in source. |
menuBar | SLIdeMenuBar menuBar | No description in source. |
toolbar | SLIdeToolbar toolbar | No description in source. |
languageBar | SLIdeLanguageBar languageBar | No description in source. |
tabs | SLIdeTabGroup tabs | State models (the SLeeLa logic layer). |
projectModel | SLIdeProjectTree projectModel | No description in source. |
diagnostics | SLIdeDiagnosticsPanel diagnostics | No description in source. |
editors | SLTextView[] editors | Per-page editor views, index-aligned with the notebook pages. |
editorCount | int editorCount | No description in source. |
lastTreeSelection | String lastTreeSelection | debounce: only fire CHANGE when it moves |
ready | boolean ready | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boot | boolean boot(String appId, String title, int width, int height, String root) | Build and show the IDE. Returns true when the toolkit came up. |
buildChromeDom | void buildChromeDom() | The window chrome, expressed as a DOM: a header bar holding a brand label, a spacer, and the four command buttons. Each command button binds an onClick handler through the event bus. |
buildContent | void buildContent() | The body + status, as DOM containers whose mounted widget handles host the specialised controls (tree / notebook / status bar / loading indicator). |
adopt | SLWidget adopt(int handle) | Wrap a raw widget handle as an SLWidget so specialised controls can attach. |
isReady | boolean isReady() | No description in source. |
addTreeNode | void addTreeNode(String id, String label, String parentId, boolean isLeaf) | No description in source. |
rebuildTree | void rebuildTree() | No description in source. |
openFile | int openFile(String documentId, String path, String[] lines, int lineCount, String revision) | No description in source. |
activeEditorView | SLTextView activeEditorView() | No description in source. |
pollCommands | boolean pollCommands() | Read the command handler latches once per loop turn and act. The latches are raised by SLGuiHostAdapter when the real buttons fire, so there is no direct widget polling here. Returns false when Close emptied the tabs. |
dispatchMenuAction | void dispatchMenuAction(int action) | No description in source. |
dispatchToolbarAction | void dispatchToolbarAction(int action) | No description in source. |
routeContentEvents | void routeContentEvents() | Translate raw content-control state changes into DOM events on the bus. A tab click raises TOGGLE("ide-notebook", <index>); a tree row selection raises CHANGE("ide-tree", <nodeId>). The host adapter already turns command button presses into events; these two controls are specialised widgets, so the shell bridges their state into the same dispatch path here. |
onTreeActivate | String onTreeActivate(String nodeId) | Handler for a tree CHANGE: the selected id is the DOM event's value. Returns the id of a selected leaf (a file the host should open), else null. |
onTabChange | void onTabChange(String indexStr) | Handler for a notebook TOGGLE: focus the newly-active tab. |
onOpenSelected | String onOpenSelected() | Backward-compatible entry: the Open command selects whatever the tree has. |
onCompile | void onCompile() | No description in source. |
onSave | void onSave() | No description in source. |
onClose | boolean onClose() | No description in source. |
syncDirtyFromEditor | void syncDirtyFromEditor() | No description in source. |
publishDiagnostic | void publishDiagnostic(String documentId, int severity, int line, int col, String message) | No description in source. |
finishCompile | void finishCompile() | No description in source. |
reportCompileProgress | void reportCompileProgress(double fraction) | No description in source. |
runLoop | int runLoop() | Run via the SLGuiApp support loop: each turn it pumps the toolkit, lets SLGuiHostAdapter poll widget activations into the event bus (firing the bound command handlers), and reconciles the DOM. We then read the command latches and advance IDE state. |
refreshStatus | void refreshStatus() | No description in source. |
rearmWatchCheck | void rearmWatchCheck() | No description in source. |
fileName | String fileName(String path) | No description in source. |
lastIndexOf | int lastIndexOf(String s, String ch) | No description in source. |
joinLines | String joinLines(String[] lines, int n) | No description in source. |
currentRevision | String currentRevision() | No description in source. |
parseInt | int parseInt(String s) | Parse a non-negative integer from a decimal string ("" / null -> -1). |
digit | int digit(String ch) | No description in source. |
shutdown | void shutdown() | No description in source. |
SLPackage #sleela 2.5 (lib/ide-workbench/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for ide-workbench.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |