Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-07 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Il 05/02/2011 03:21, Tommaso Cucinotta ha scritto: >> you got it right, it is refactoring stuff, > [...] >> [ I'm going to share the patch instead of committing, so u can decide; > Here you go. Now I have all my small tests working, with F&R with char > styles, par styles

Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-05 Thread Tommaso Cucinotta
Il 05/02/2011 03:21, Tommaso Cucinotta ha scritto: you got it right, it is refactoring stuff, [...] [ I'm going to share the patch instead of committing, so u can decide; Here you go. Now I have all my small tests working, with F&R with char styles, par styles, reg exps, and with and without a

Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-05 Thread Pavel Sanda
Tommaso Cucinotta wrote: > I cannot recommend git for the sole reason that I cannot use it. > It is much more complex than other tools (svn), and most of the > times I don't need those additional cool features with off-line > commits, stash, pull/push, checkout/branch and the like. After years > of

Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-04 Thread Tommaso Cucinotta
Il 05/02/2011 02:43, Pavel Sanda ha scritto: so one solution would be to branch 2.0 trunk soon and let people play on development again or suggest gitorious. what do you think? and, thinking of git, you made me think it might be useful to share my local changes in a dedicated branch ? What do

Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-04 Thread Tommaso Cucinotta
Il 05/02/2011 02:43, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: I'd need this function for faster retrieval of the search and replace (internal) buffers from within lyxfind.cpp (currently there are wasteful copies of these buffers made in the GUI, passed as string args to the LFUN, etc.).

Re: theBufferList::getBuffer(filename, bool internal = false)

2011-02-04 Thread Pavel Sanda
Tommaso Cucinotta wrote: > I'd need this function for faster retrieval of the search and replace > (internal) buffers from within lyxfind.cpp (currently there are wasteful > copies of these buffers made in the GUI, passed as string args to the LFUN, > etc.). Rather than for optimization purposes