• 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.
    3cfb70ac
ide-source-view-mode.c 19.2 KB