Customized fork of github.com/rxi/lite

Fixed shift+click select behavior

rxi 094cf0cc 53d555b3

Changed files
+3 -3
data
+3 -3
data/core/docview.lua
··· 220 220 end 221 221 if keymap.modkeys["shift"] then 222 222 if clicks == 1 then 223 - local line, col = self.doc:get_selection() 224 - self.mouse_selecting = { line, col, clicks = 1 } 225 - self:on_mouse_moved(x, y) 223 + local line1, col1 = select(3, self.doc:get_selection()) 224 + local line2, col2 = self:resolve_screen_position(x, y) 225 + self.doc:set_selection(line2, col2, line1, col1) 226 226 end 227 227 else 228 228 local line, col = self:resolve_screen_position(x, y)