def calculate_flags(self):
# TODO: Implement smartcase?
flags = 0
if self.view.settings().get('vintageous_magic') is False:
flags |= sublime.LITERAL
if self.view.settings().get('vintageous_ignorecase') is True:
flags |= sublime.IGNORECASE
return flags
评论列表
文章目录