{
if(row)
{
- lastCommand = (Command)row.tag;
+ lastCommand = (Command)(intptr)row.tag;
command.contents = lastCommand.command;
UpdateOutput();
}
rightCol, this, text = $"Output:", multiLine = true, hasVertScroll = true, hasHorzScroll = true;
size = { 328, 80 };
anchor = { left = rightCol.margin, right = rightCol.margin };
- font = { panelFont.faceName, panelFont.size };
+ font = { panelFont.faceName, panelFont.size, panelFont.bold, panelFont.italic };
};
Label treeLabel { rightCol, this, position = { 4, 4 }, labeledWindow = tree };
multiSelect = false, fullRowSelect = false, hasVertScroll = true, hasHorzScroll = true;
borderStyle = deep, collapseControl = true, treeBranches = true;
anchor = { left = rightCol.margin, right = rightCol.margin };
- font = { panelFont.faceName, panelFont.size };
+ font = { panelFont.faceName, panelFont.size, panelFont.bold, panelFont.italic };
};
void UpdateOutput()
{
if(lastCommand && lastCommand.outputs.first)
{
- int c;
char * s, * t;
int i, j, outTksCount, subTksCount;
char * outTokens[3200], * subTokens[3200];
{
Command cmd = Command { command = CopyString(string) };
commands.Add(cmd);
- history.AddString(string).tag = (uint64)cmd;
+ history.AddString(string).tag = (uint64)(uintptr)cmd;
lastCommand = commands.last;
if(created)