Don't set dirty flag if the preference value does not change so that we don't write out to the preferences file.
For #7075, don't delete the last line if the selection ends right at the beginning
Don't set dirty flag for layer preferences also if not updating. Also return false if we don't really update.
Add two unit tests to verify that we're not updating the preferences if the value is the same.
Simplify the code to fix the issue of unable to delete falsy preference values that I introduced. Add one more unit test for removing falsy preference values and explicit checks for dirty flags in the previous two unit tests.
Update ScrollTrackMarkers positioning metrics to better match the scrollbar
on each platform - especially Windows, which changed greatly last sprint
when we switched to custom scrollbar styling (causing #7058, noticeably
innaccurate tickmark positioning).
Fix bug #6923 (Brackets freezes for a while after saving when Find in Files
panel is open) - Ensure we're not accumulating many copies of the FileSystem
"change" listener.

jQuery happily adds duplicate listeners (even though, confusingly, removal
with .off() removes all duplicates at once). Since _showSearchResults() is
re-run any time you page through search results and many times when you're
making text edits near a search result, you can easily accumulate 1000s of
copies of the listener. On the next save or external change, Brackets will
run all the listeners back to back, in some cases freezing for a minute or
more.
Adds deprecation warnings for setAllValues and Remove
Merge pull request #7064 from adobe/rlim/panel-state-update

Don't set dirty flag if the preference value does not change.
Merge pull request #7106 from adobe/pflynn/findinfiles-hang

Fix bug #6923: Brackets freezes for a while after saving when Find in Files  panel is open
Merge pull request #7105 from adobe/pflynn/tickmark-pos-tweaks

Fix ScrollTrackMarkers positioning metrics
Merge pull request #7081 from adobe/nj/issue-7075

Don't delete the last line if the selection ends right at the beginning
Fix edge case for #7075 where selection ends at beginning of last line of document
Merge pull request #7108 from adobe/dangoor/deprecateRemove

Adds deprecation warnings for setAllValues and Remove
Merge pull request #7111 from adobe/nj/issue-7075-edge-case

Fix edge case for #7075 where selection ends at beginning of last line of document
JSLint whitespace fix
Merge remote-tracking branch 'origin/master' into pflynn/respect-find-filter

* origin/master:
  JSLint whitespace fix
  Fix edge case for #7075 where selection ends at beginning of last line of document
  Adds deprecation warnings for setAllValues and Remove
  Fix bug #6923 (Brackets freezes for a while after saving when Find in Files panel is open) - Ensure we're not accumulating many copies of the FileSystem "change" listener.
  Update ScrollTrackMarkers positioning metrics to better match the scrollbar on each platform - especially Windows, which changed greatly last sprint when we switched to custom scrollbar styling (causing #7058, noticeably innaccurate tickmark positioning).
  Simplify the code to fix the issue of unable to delete falsy preference values that I introduced. Add one more unit test for removing falsy preference values and explicit checks for dirty flags in the previous two unit tests.
  Add two unit tests to verify that we're not updating the preferences if the value is the same.
  Don't set dirty flag for layer preferences also if not updating. Also return false if we don't really update.
  For #7075, don't delete the last line if the selection ends right at the beginning
  Don't set dirty flag if the preference value does not change so that we don't write out to the preferences file.

Conflicts:
	src/search/FindInFiles.js