• Philip Chimento's avatar
    sublime: Implement different actions for selection state · 3cfb70ac
    Philip Chimento authored
    This adds a CSS class to IdeSourceViewMode, "has-selection", which is
    added when text is selected in the underlying buffer.
    We use this to implement different behaviour for some keybindings
    depending on whether text is selected or not, in the Sublime Text
    keybinding mode.
ide-source-view-mode.h 2.88 KB