- Code: Select all
def __init__(self, *args, **kwargs):
sublime_plugin.EventListener.__init__(self, *args, **kwargs)
def on_selection_modified(self, view):
The idea is that once I set mark, everytime I move a cursor the editor will select texts that sit between the mark and the current cursor position.
This works well for the first panel. However, when I create a second panel using View -> Layout -> Columns:2 and then set a mark in it, the above doesn't function.
Can you please help me correct the function above? Thank you for your help.