[code] [textadept] Splitting the view

From: Richard Philips <richard.philips.att.gmail.com>
Date: Sun, 07 Jul 2013 18:11:37 +0200

Hello,

when you split the view (Ubuntu 13.03), the result feels awkward.
Especially with long lines and a horizontal split.

The results feels a lot better when you bind Ctrl + Alt H to the
function split:

function split(vertical)
   local pos = buffer.current_pos
   local x, y = view:split(vertical)
   local b = y.buffer
   buffer.grab_focus(b)
   buffer.goto_pos(b, pos)
   return x, y
end

Hopefully this is not the result of a 5 hour of viewing the Tour De
France with a laptop nearby,

Richard

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sun 07 Jul 2013 - 12:11:37 EDT

This archive was generated by hypermail 2.2.0 : Mon 08 Jul 2013 - 06:51:29 EDT