public assign(other as SyntaxStyle) as Void
Copies all style attributes from other into this instance.
| Parameter | Description |
|---|---|
other | Source style to copy from. |
import klyn.code.highlighters target = SyntaxStyle() target.assign(SyntaxStyle(100, 110, 120)) assert target.fgRed == 100