Properly dim syntax-highlighted text when not editable