summaryrefslogtreecommitdiff
path: root/User/fold_selections.py
blob: 9a82b4d32bbdf897569d9d873d1ca9fcc60857dd (plain)
1
2
3
4
5
6
7
8
import sublime
import sublime_plugin


class FoldSelectionsCommand(sublime_plugin.TextCommand):
    def run(self, edit):
        for r in self.view.sel():
            self.view.fold(r)