public closeTabsToRight(index as Int) as Int:
Closes every closeable tab located to the right of index.
Non-closeable tabs are always preserved.
| Parameter | Description |
|---|---|
index | Reference tab. |
Number of tabs that were closed.
workspace.center.closeTabsToRight(workspace.center.activeIndex)