Author Topic: Double-right click to close a buffer  (Read 3266 times)

s5unty

  • Community Member
  • Posts: 6
  • Hero Points: 0
Double-right click to close a buffer
« on: September 03, 2007, 06:32:25 am »
I found it works better then Double-left click.

edit bufftabs.e, replace:
Code: [Select]
   _menu_insert(menu_handle,0,MF_ENABLED,
                "&Save "strip_filename(buf_name,'P'),"buff-menu-save","","",'Save 'buf_name);
   _menu_insert(menu_handle,1,MF_ENABLED,
                "&Close "strip_filename(buf_name,'P'),"buff-menu-close","","",'Close 'buf_name);
with:
Code: [Select]
   _menu_insert(menu_handle,0,MF_ENABLED,
                "&Close "strip_filename(buf_name,'P'),"buff-menu-close","","",'Close 'buf_name);
   _menu_insert(menu_handle,1,MF_ENABLED,
                "&Save "strip_filename(buf_name,'P'),"buff-menu-save","","",'Save 'buf_name);