def _update_sidebar_marks(self, lineNumber, diference, atLineStart=False): if self.breakpoints: self.breakpoints = helpers.add_line_increment(self.breakpoints, lineNumber, diference, atLineStart) if not self._neditable.new_document: settings.BREAKPOINTS[self._neditable.file_path] = self._breakpoints if self.bookmarks: self.bookmarks = helpers.add_line_increment(self.bookmarks, lineNumber, diference, atLineStart) if not self._neditable.new_document: settings.BOOKMARKS[self._neditable.file_path] = self._bookmarks
def _update_sidebar_marks(self, lineNumber, diference, atLineStart=False): if self.breakpoints: self.breakpoints = helpers.add_line_increment( self.breakpoints, lineNumber, diference, atLineStart) if not self._neditable.new_document: settings.BREAKPOINTS[self._neditable.file_path] = \ self._breakpoints if self.bookmarks: self.bookmarks = helpers.add_line_increment( self.bookmarks, lineNumber, diference, atLineStart) if not self._neditable.new_document: settings.BOOKMARKS[self._neditable.file_path] = self._bookmarks
def update_sidebar_marks(self, blockNumber, diference): if self.breakpoints: self.breakpoints = helpers.add_line_increment( self.breakpoints, blockNumber, diference) if not self._neditable.new_document: settings.BREAKPOINTS[self._neditable.file_path] = \ self._sidebarWidget._breakpoints if self.bookmarks: self.bookmarks = helpers.add_line_increment( self.bookmarks, blockNumber, diference) if not self._neditable.new_document: settings.BOOKMARKS[self._neditable.file_path] = \ self._sidebarWidget._bookmarks if self._foldedBlocks and self._neditable.file_path: self._foldedBlocks = self._add_line_increment( self._foldedBlocks, blockNumber - 1, diference)
def update_sidebar_marks(self, blockNumber, diference, atLineStart=False): if self.breakpoints: self.breakpoints = helpers.add_line_increment( self.breakpoints, blockNumber, diference, atLineStart) if not self._neditable.new_document: settings.BREAKPOINTS[self._neditable.file_path] = \ self._sidebarWidget._breakpoints if self.bookmarks: self.bookmarks = helpers.add_line_increment( self.bookmarks, blockNumber, diference, atLineStart) if not self._neditable.new_document: settings.BOOKMARKS[self._neditable.file_path] = \ self._sidebarWidget._bookmarks if self.foldedBlocks and self._neditable.file_path: self.foldedBlocks = self._add_line_increment( self.foldedBlocks, blockNumber - 1, diference, atLineStart)