Skip to content

Instantly share code, notes, and snippets.

View lfcorullon's full-sized avatar

Luis Felipe Corullón lfcorullon

View GitHub Profile
// Set true to "normalize" the character styled text = no extra leading & trailing spaces
var removeSpace = false;
app.findTextPreferences = null;
app.changeTextPreferences = null;
var findPref = app.findTextPreferences;
var changePref = app.changeTextPreferences;
findPref.appliedCharacterStyle = 'yellow-background';