Integrate samclarke/SCEditor#308

Signed-off-by: John Rayes <live627@gmail.com>