#213 new
Charles Oliver Nutter

Closing last tab in an editor window should close the Window

Reported by Charles Oliver Nutter | May 2nd, 2010 @ 07:27 PM

Minor nitpick; it would be nice if when all tabs close and there's no file sidebar (i.e. not in "project editing" mode), the containing window closes too. Otherwise it's there lingering in the background even when I'm not using it...

Comments and changes to this ticket

  • Deleted User

    Deleted User November 22nd, 2010 @ 01:02 AM

    • Milestone order changed from “0” to “0”

    This has been tried. Don't know why it didn't roll forward.

          def close_tab
            win = tab.notebook.window
            # this will break a lot of features:
            #if win.all_tabs.empty? and not Project::Manager.in_window(win)
            #  win.close
  • Roger

    Roger November 22nd, 2010 @ 03:19 PM

    • Tag set to close window

    yeah I think this should be made into a user preference...(default off, since Dan doesn't like that functionality and "it's the reason he made redcar in the first place" to avoid that aspect in TextMate, apparently)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket