1. 19 Jun, 2018 4 commits
    • 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
    • Philip Chimento's avatar
      keybindings: Add Sublime Text keybindings · 3c33c5cc
      Philip Chimento authored
      Adds a setting so that the option appears in the Preferences pane.
      
      These bindings have a few idiosyncracies which are listed at the bottom
      of the keybinding CSS file in a comment. In particular, to emulate
      Sublime Text nicely, we should make a few keybindings do something
      different depending on whether any text is selected.
      3c33c5cc
    • Christian Hergert's avatar
      plugins: use dzl_clear_pointer() · eb551e22
      Christian Hergert authored
      This uses the new dzl_clear_pointer() to free data instead of
      g_clear_pointer() because it allows us better type checking of
      the callback parameter and the data to be freed.
      
      We want to keep using this going forward so that we catch errors
      sooner from miss-use of incorrect callbacks.
      eb551e22
    • Christian Hergert's avatar
      98f60935
  2. 18 Jun, 2018 15 commits
  3. 17 Jun, 2018 4 commits
  4. 16 Jun, 2018 17 commits