klyn.code.highlighters.SyntaxStyle.assign
method
public assign(other as SyntaxStyle) as Void
Description

Copies all style attributes from other into this instance.

Parameters
ParameterDescription
otherSource style to copy from.
Example
import klyn.code.highlighters

target = SyntaxStyle()
target.assign(SyntaxStyle(100, 110, 120))
assert target.fgRed == 100