Limit on number of files opened in tabs

Joerg Fischer jf505 at gmx.de
Wed Aug 11 13:44:50 CEST 2004


> No good- I could live with the look, but if I'm editing files with
> long names, the fact the the menu list is now twice as wide as before
> means that the menu is now wider than the screen, so that I can't see
> the right edge of the list. Of course there are no horizontal
> scroll-bars, just as there are no vertical ones...

Since new releases usually don't come so soon as most of
us would like it, here is another workaround:

Disable the tab bar (of no use for too many files), and
use a macro displaying a list of the files in a (scrollable)
list_dialog() box. The macro could be (untested)

#define list_all_files {
  list = ""
  current=$file_path $file_name
  filename = focus_window("last")
  while(filename != "") {
     list = list filename "\n"
     filename = focus_window("next")
     }
  focus_window(current)
  file = list_dialog("Select", list, "Ok")
  focus_window(file)
  raise_window()
#}

--Joerg

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl




More information about the Discuss mailing list