1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

v1.10.3.1

This commit is contained in:
gnosygnu
2014-10-20 00:38:50 -04:00
parent d6561b3c1f
commit 7d8984f6a8
58 changed files with 654 additions and 441 deletions

View File

@@ -400,5 +400,11 @@ public class Xop_fxt {
Xol_kwd_grp kwd_grp = kwd_mgr.Get_or_new(kwd_id);
kwd_grp.Srl_load(case_match, Bry_.Ary(kwds));
}
public void Init_xtn_pages() {
Io_mgr._.InitEngine_mem();
wiki.Xtn_mgr().Xtn_proofread().Enabled_y_();
wiki.Db_mgr().Load_mgr().Clear(); // must clear; otherwise fails b/c files get deleted, but wiki.data_mgr caches the Xowd_regy_mgr (the .reg file) in memory;
wiki.Ns_mgr().Add_new(Xowc_xtn_pages.Ns_page_id_default, "Page").Add_new(Xowc_xtn_pages.Ns_index_id_default, "Index").Init();
}
public void Clear_ref_mgr() {this.Page().Ref_mgr().Grps_clear();} // clear to reset count
}

View File

@@ -64,20 +64,6 @@ public class Xop_lxr_mgr {
, Xop_under_lxr._
});
}
public static final Xop_lxr_mgr Poem_lxr_mgr // NOTE: can't go into gplx.xowa.xtn.poems b/c lxrs below are not public
= new Xop_lxr_mgr(new Xop_lxr[]
{ Xop_pipe_lxr._, new Xop_eq_lxr(false), Xop_space_lxr._, Xop_tab_lxr._
, Xop_amp_lxr._, Xop_apos_lxr._, Xop_colon_lxr._
, Xop_lnki_lxr_bgn._, Xop_lnki_lxr_end._
, Xop_list_lxr._
, Xop_hdr_lxr._
, Xop_hr_lxr._
, Xop_xnde_lxr._
, Xop_lnke_lxr._, Xop_lnke_end_lxr._
, Xop_tblw_lxr._
, gplx.xowa.xtns.poems.Poem_lxr_nl._
, gplx.xowa.xtns.poems.Poem_lxr_pre._
});
public static final Xop_lxr_mgr Popup_lxr_mgr // same as orig_page, except apos_lxr added
= new Xop_lxr_mgr(new Xop_lxr[]
{ Xop_pipe_lxr._, new Xop_eq_lxr(true), Xop_colon_lxr._, Xop_space_lxr._, Xop_tab_lxr._, Xop_nl_lxr._
@@ -89,5 +75,5 @@ public class Xop_lxr_mgr {
, gplx.xowa.xtns.translates.Xop_tvar_lxr._
, Xop_cr_lxr._ // always ignore \r; DATE:2014-03-02
, gplx.xowa.parsers.apos.Xop_apos_lxr._ // needed else multiple apos may be split across blocks;
});
});
}