Author Topic: close file by double-click filetab  (Read 5676 times)

s5unty

  • Community Member
  • Posts: 6
  • Hero Points: 0
close file by double-click filetab
« on: September 19, 2006, 01:45:04 AM »
open bufftabs.e and insert code:
Code: [Select]
void ctlsstab1.lbutton_double_click() {
    int tabi = mou_tabid();
    if (tabi < 0) {
        clicked_tabid = -1;
        return;
    }
    clicked_tabid = tabi;
    _str buf_name = list.buffid_order[list.tab_order[clicked_tabid]].buffname;
    _save_non_active(buf_name,1);
    clicked_tabid = -1;
}
;D
« Last Edit: September 20, 2006, 05:48:03 AM by s5unty »

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: close file by double-click filetab
« Reply #1 on: September 19, 2006, 07:47:47 AM »