This commit is contained in:
Liang Ding 2014-12-05 14:14:28 +08:00
parent 6b2e91540c
commit 5846709c25
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ type User struct {
// NewUser creates a user with the specified username, password and workspace.
func NewUser(username, password, workspace string) *User {
return &User{Name: username, Password: password, Workspace: workspace,
Locale: Wide.Locale, GoFormat: "gofmt", FontFamily: "Helvetica", FontSize: "13px",
Theme: "default",
Locale: Wide.Locale, GoFormat: "gofmt", FontFamily: "Helvetica", FontSize: "13px", Theme: "default",
Editor: &Editor{FontFamily: "Consolas, 'Courier New', monospace", FontSize: "inherit", Theme: "wide",
TabSize: "4"}}
}