# Path: plugins/examples/Bookmark2/signals.py
# class Signals(SignalManager):
#     toggle         = Signal()
#     remove_all     = Signal(1)
#     show           = Signal()
#     hide           = Signal()
#     add            = Signal(2)
#     remove         = Signal(2)
#     lines          = Signal(1)
#     bookmark_lines = Signal(1)
#     model_data     = Signal(1)
#     scroll_to_line = Signal(1)
#     updated_model  = Signal()


from gettext import gettext as _
from .signals import Signals
            
        return False

    @Signals.remove(after=True)
    def remove(self, sender, line, feedback=None):
        if feedback:
            message = _("Unmarked line %d") % (line + 1)
            self.editor.update_message(message, "yes")
        return False

    @Signals.remove_all
    def remove_all(self, sender, feedback=None):
        if feedback:
            message = _("Removed all bookmarks")
            self.editor.update_message(message, "yes")

        return False

    @Signals.show(idle=False)
    def show(self, *args):
        self.editor.set_message(MESSAGE)
        return False

    @Signals.hide(idle=False)
    def hide(self, *args):
        self.editor.unset_message(MESSAGE)
        return False

    @Signals.scroll_to_line(idle=False)
    def scroll_to_line(self, manager, line):

# Path: plugins/examples/Bookmark2/signals.py
# class Signals(SignalManager):
#     toggle         = Signal()
#     remove_all     = Signal(1)
#     show           = Signal()
#     hide           = Signal()
#     add            = Signal(2)
#     remove         = Signal(2)
#     lines          = Signal(1)
#     bookmark_lines = Signal(1)
#     model_data     = Signal(1)
#     scroll_to_line = Signal(1)
#     updated_model  = Signal()


# Path: plugins/examples/Bookmark2/Feedback.py
from gettext import gettext as _
from .signals import Signals

            
        return False

    @Signals.remove(after=True)
    def remove(self, sender, line, feedback=None):
        if feedback:
            message = _("Unmarked line %d") % (line + 1)
            self.editor.update_message(message, "yes")
        return False

    @Signals.remove_all
    def remove_all(self, sender, feedback=None):
        if feedback:
            message = _("Removed all bookmarks")
            self.editor.update_message(message, "yes")

        return False

    @Signals.show(idle=False)
    def show(self, *args):
        self.editor.set_message(MESSAGE)
        return False

    @Signals.hide(idle=False)
    def hide(self, *args):
        self.editor.unset_message(MESSAGE)
        return False

    @Signals.scroll_to_line(idle=False)
    def scroll_to_line(self, manager, line):

        message = _("Cursor on line %d") % (line + 1)