This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sort_view_items(self): | |
cs = self.settings.case_sensitive | |
if self.settings.sort_by_file_name: | |
self.view_items.sort(key = lambda vi: (vi.name if cs else vi.name.lower(), vi.group, vi.tab)) | |
elif self.settings.sort_by_folder: | |
self.view_items.sort(key = lambda vi: (vi.folder, vi.name if cs else vi.name.lower())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A list of all the syntaxes from Sublime Text v3114: | |
Packages/ActionScript/ActionScript.sublime-syntax | |
Packages/AppleScript/AppleScript.sublime-syntax | |
Packages/ASP/ASP.sublime-syntax | |
Packages/ASP/HTML-ASP.sublime-syntax | |
Packages/Batch File/Batch File.sublime-syntax | |
Packages/C#/Build.sublime-syntax | |
Packages/C#/C#.sublime-syntax | |
Packages/C++/C.sublime-syntax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin | |
class CopyLine(): | |
""" | |
A parent class for the CopyLineCommand and CutLineCommand classes. | |
""" | |
def copy_line(self, **kwargs): | |
""" | |
Copies the cursor line, or all the lines which a multi-line selection |
NewerOlder