Re: [sword-devel] Poetry indents?

2015-02-22 Thread DM Smith
For jsword apps we handle the line independent of its container. B/c we focus on rendering a verse not a chapter. Cent from my fone so theer mite be tipos. ;) On Feb 22, 2015, at 10:35 AM, David Judah's Shadow Blue yudahssha...@gmx.com wrote: The problem that Bibletime has run into is

Re: [sword-devel] Poetry indents?

2015-02-22 Thread David Judah's Shadow Blue
The problem that Bibletime has run into is that poetry can cause improper nesting in BCV output so that may be why not, if not. Sent from Windows Mail From: David Haslam Sent: ‎Tuesday‎, ‎December‎ ‎16‎, ‎2014 ‎3‎:‎35‎ ‎PM To: SWORD Developers' Collaboration Forum Does the OSIS to

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread David Judah's Shadow Blue
Here’s the relevant bits of code, std::string text = ; sword::ListKey refRange; sword::SWMgr library (new sword::MarkupFilterMgr (sword::FMT_PLAIN)); sword::SWModule *module; sword::VerseKey key; module = library.getModule (this-version.c_str()); if (!module) { text = -1; return text;

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread Troy A. Griffitts
David, That's all fine. The initialization hit I spoke about in my last email will happen in the first section of your code. After that, you second section can run as many times as you'd like and should be extremely fast. Where are you noticing the speed delay? On February 22, 2015 8:39:28 AM

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread David Judah's Shadow Blue
On February 22, 2015 11:11:00 AM EST, Troy A. Griffitts scr...@crosswire.org wrote: David, That's all fine. The initialization hit I spoke about in my last email will happen in the first section of your code. After that, you second section can run as many times as you'd like and should be

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread Greg Hellings
sword::SWMgr library (new sword::MarkupFilterMgr (sword::FMT_PLAIN)); This line of code should only be executed once at program start-up and any time you detect a change in the installed modules - basically after interacting with the install manager to install a new work. (Even then there might