Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)