Skip to content

Commit

Permalink
Wax
Browse files Browse the repository at this point in the history
  • Loading branch information
danlucraft committed Feb 18, 2010
1 parent ce4dbf7 commit 4f66fe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Redcar JRuby Port Roadmap
Features still to port
-----------------------

* Understands tabs v. spaces
* Tests passing on 3 platforms
* Full project support
* Snippets
Expand All @@ -14,7 +13,6 @@ Features still to port
* Drag and drop of tabs
* Packaged for one-click install on 3 platforms
* Ruby on Rails/HTML/CSS/YAML bundle commands ported
* Single instance support
* Use Gecko as embedded browser widget on all 3 platforms

Version 0.4.0
Expand Down
10 changes: 5 additions & 5 deletions plugins/project/lib/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,23 @@ def self.restore_last_session
end

if files = Project.storage['files_open_last_session']
files.each{|path|
files.each do |path|
open_file(path)
}
end
end

end

# saves away a list of the currently open files in
# @param [win]
def self.save_file_list win
def self.save_file_list(win)
# create a list of open files
file_list = []
win.notebooks[0].tabs.each{|tab|
win.notebooks[0].tabs.each do |tab|
if tab.document && tab.document.path
file_list << tab.document.path
end
}
end
Project.storage['files_open_last_session'] = file_list
end

Expand Down

0 comments on commit 4f66fe8

Please sign in to comment.