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

backend: Add OnInit event. Fixes #511 #514

Merged
merged 3 commits into from
Mar 7, 2015
Merged

backend: Add OnInit event. Fixes #511 #514

merged 3 commits into from
Mar 7, 2015

Conversation

quarnster
Copy link
Member

No description provided.

The only reason it worked before was because tbfe.Show was called on
the console view (and it thus was added to the layout map).
@zoli
Copy link
Member

zoli commented Mar 7, 2015

LGTM.

@@ -162,9 +162,11 @@ func getClipboard() (string, error) {
}

func (e *Editor) Init() {
log.Info("Initializing")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As our logs are getting pretty noisy, it might help to make this a bit more descriptive. Maybe Initializing Editor?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There aren't that many Info-level logs though, and it's the only "Initializing" text printed afaict:

13:57 ~/code/go/src/github.com/limetext/lime $ ag Initializing
backend/editor.go
165: log.Info("Initializing")
13:57 ~/code/go/src/github.com/limetext/lime $

quarnster added a commit that referenced this pull request Mar 7, 2015
backend: Add OnInit event. Fixes #511
@quarnster quarnster merged commit 726d834 into master Mar 7, 2015
@quarnster quarnster deleted the on_init branch March 7, 2015 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants