public setModifiedAt(index as Int, modified as Boolean) as Boolean:
Shows or hides the modified-document badge for a tab.
| Parameter | Description |
|---|---|
index | Tab index. |
modified | Whether the badge must be visible. |
true when the index identifies a tab.
tabs.setModifiedAt(0, true)