Пример #1
0
    def __init__(self, solution):
        View.__init__(self)

        self.solution = solution
        self._lineToNodeMapping = {}

        # View settings
        self.bufferName = "solvent-tree"     # Just some name nobody else would ever use
        self.filetype = "solvent-tree"       # This might be useful for autocmd?
        self.defaultViewSize = 32
Пример #2
0
    def __init__(self, builder):
        View.__init__(self)
        self.builder = builder
        self._lineToEventMapping = {}
        self.showerrors = True
        self.showwarnings = True
        self.showmessages = True
        self.minimportance = MessageImportance.High

        # View settings
        self.bufferName = "solvent-output"     # Just some name nobody else would ever use
        self.filetype = "solvent-output"       # This might be useful for autocmd?
        self.splitoptions = "botright"
        self.defaultViewSize = 10