Merge pull request #19 from tleruitte/master

Don't show trailing whitespaces in find results views.
This commit is contained in:
Jean-Denis Vauguet 2012-06-22 06:35:32 -07:00
commit bc713eeccf

View File

@ -31,7 +31,7 @@ trailing_spaces_enabled = bool(ts_settings.get('trailing_spaces_enabled',
# Determine if the view is a find results view # Determine if the view is a find results view
def is_find_results(view): def is_find_results(view):
return "Find Results" in view.settings().get('syntax') return view.settings().get('syntax') and "Find Results" in view.settings().get('syntax')
# Return an array of regions matching trailing spaces. # Return an array of regions matching trailing spaces.
def find_trailing_spaces(view): def find_trailing_spaces(view):