Sketch Plugin Snippets for Plugin Developers
Aby Nimbalkar

Hi, Aby Nimbalkar . I test this code. Sketch Plugin Snippet — Setting Text Color For a Range of Characters.js.

The second argument in NSMakeRange() it is a length no a index, so the code “var range = NSMakeRange(15, 18)” is wrong, and “var range = NSMakeRange(15, 4)” is right.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.