Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse empty views when opening a new document #171

Merged
merged 2 commits into from
Mar 2, 2017

Commits on Mar 1, 2017

  1. Reuse empty views when opening a new document

    This is a naive implementation of this functionality. In the view
    controller, we intercept all calls to `openDocument:`, and check to see
    if our current document is empty. If it is, we save a reference to it in the app
    delegate. We check this reference when opening a document, and reuse
    existing windows if appropriate.
    
    This does not currently cover the 'recent documents' menu, which has a
    different implementation; it calls the application delegate's
    application:openFile: method.
    cmyr committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    c74a522 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2017

  1. More flexible LineCache.isEmpty

    cmyr committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    f7ccae1 View commit details
    Browse the repository at this point in the history