r957@localhost: muntyan | 2005-11-24 02:24:08 -0600
Create var table in init before everything else
This commit is contained in:
parent
e2805c4056
commit
e673792759
@ -190,6 +190,8 @@ moo_edit_init (MooEdit *edit)
|
|||||||
|
|
||||||
edit->priv->file_watch_policy = MOO_EDIT_RELOAD_IF_SAFE;
|
edit->priv->file_watch_policy = MOO_EDIT_RELOAD_IF_SAFE;
|
||||||
|
|
||||||
|
edit->priv->vars = var_table_new (moo_edit_var_pool);
|
||||||
|
|
||||||
edit->priv->enable_indentation = TRUE;
|
edit->priv->enable_indentation = TRUE;
|
||||||
indent = moo_indenter_new (edit, NULL);
|
indent = moo_indenter_new (edit, NULL);
|
||||||
moo_text_view_set_indenter (MOO_TEXT_VIEW (edit), indent);
|
moo_text_view_set_indenter (MOO_TEXT_VIEW (edit), indent);
|
||||||
@ -204,8 +206,6 @@ moo_edit_init (MooEdit *edit)
|
|||||||
edit->priv->line_end_type = MOO_EDIT_LINE_END_UNIX;
|
edit->priv->line_end_type = MOO_EDIT_LINE_END_UNIX;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
edit->priv->vars = var_table_new (moo_edit_var_pool);
|
|
||||||
|
|
||||||
g_object_set (edit, "draw-tabs", TRUE, "draw-trailing-spaces", TRUE, NULL);
|
g_object_set (edit, "draw-tabs", TRUE, "draw-trailing-spaces", TRUE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user