Re: 6 advanced find tests are failing on master

2013-07-22 Thread Scott Kostyshak
On Mon, Jul 22, 2013 at 9:18 PM, Tommaso Cucinotta wrote: > On 15/07/13 07:00, Scott Kostyshak wrote: >> I have just confirmed that these tests also fail for me under automake. >> >> Can you check these tests? LyX 2.1 will be released soon and it would >> be nice to make sure we don't have any reg

Re: [LyX/master] Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262).

2013-07-22 Thread Tommaso Cucinotta
On 23/07/13 02:01, Scott Kostyshak wrote: > Yes, this is good to see. I get the impression that many people use > Adv F&R as their main F&R, even for simple queries. This sounds good, as that was the original intention, to replace the simple F&R. This duplication of features among the 2 worlds se

Re: 6 advanced find tests are failing on master

2013-07-22 Thread Tommaso Cucinotta
On 15/07/13 07:00, Scott Kostyshak wrote: > I have just confirmed that these tests also fail for me under automake. > > Can you check these tests? LyX 2.1 will be released soon and it would > be nice to make sure we don't have any regressions here. It seems from distro-update to distro-update, Ly

Re: [LyX/master] Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262).

2013-07-22 Thread Scott Kostyshak
On Mon, Jul 22, 2013 at 8:27 PM, Tommaso Cucinotta wrote: > On 23/07/13 00:34, Scott Kostyshak wrote: >>> Right, I just fixed that as well in [b32ce2cf/lyxgit]. >> >> Works well. The cursor does blink to the beginning, but this is not >> worth fixing. > > Yeah, I noticed that, but it's something b

Re: [LyX/master] Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262).

2013-07-22 Thread Tommaso Cucinotta
On 23/07/13 00:34, Scott Kostyshak wrote: >> Right, I just fixed that as well in [b32ce2cf/lyxgit]. > > Works well. The cursor does blink to the beginning, but this is not > worth fixing. Yeah, I noticed that, but it's something belonging to a dimension unknown to me :-). For now, I prefer to ad

Re: [LyX/master] Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262).

2013-07-22 Thread Scott Kostyshak
On Mon, Jul 22, 2013 at 6:58 PM, Tommaso Cucinotta wrote: > On 21/07/13 19:11, Scott Kostyshak wrote: >> Thanks, Tommaso. I tested and this works very well. One minor thing >> that is inconsistent with Advanced Find is that if you search for a >> string that is nowhere in the document and you clic

Re: [LyX/master] Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262).

2013-07-22 Thread Tommaso Cucinotta
On 21/07/13 19:11, Scott Kostyshak wrote: > Thanks, Tommaso. I tested and this works very well. One minor thing > that is inconsistent with Advanced Find is that if you search for a > string that is nowhere in the document and you click on "yes" to the > "wrap search" dialog, Advanced Find does not

2.1 regression: uncodable character when no space in-between

2013-07-22 Thread Scott Kostyshak
See the attached MWE. It should be compilable on master (with platex via dvipdfmx). Now remove the space after the period, that is, after the string <>. If you have the Source Pane open, you should see the following warning appear: Because of this, the document is no longer compilable. This pr

Re: Row by Row sliding

2013-07-22 Thread Hashini Senaratne
Hello Jean-Marc, > > When the row slid to a wrong position (say when entering from right corner > > leftedge is set to 10 pix unexpectedly); if I move the mouse pointer in to > > and out of the document window; without any key pressing position resets to > > the current position. So we only need t

Re: Row by Row sliding

2013-07-22 Thread Jean-Marc Lasgouttes
22/07/2013 13:04, Hashini Senaratne: I think what you are telling 'weird' is; then the cursor is at the left or right edge and we are still moving beyond the screen; the text cursor is not stable (I noticed that the given attachment of yours). Is this a correct patch for it? Yes, it is fine now

Re: Row by Row sliding

2013-07-22 Thread Jean-Marc Lasgouttes
22/07/2013 11:53, Hashini Senaratne: When I test further, figured out that the cur_x only gives the correct position in pixels just after entering a Math inset; from the next row. That is the next row consider in the for loop in drawParagraph() method. The line responsible for updating this bv.ge

Re: Row by Row sliding

2013-07-22 Thread Hashini Senaratne
Hello Jean-Marc, > I see it too, it is very strange. However, I think the problem is > different, because it does not require to go out of the equation. You do > not see it because (strangely) your test case contains a math equation > in a Title layout[1] and thus with large character. Now take

Re: Row by Row sliding

2013-07-22 Thread Hashini Senaratne
Hello Jean-Marc, > I tried to fix this and found that this happens because cur_x variable do > mot get updates as expected. I save bv.getPos(cur).x_ to cur_x, as I > discussed with you earlier. But my previous observation seems to be wrong > when compared to cur.targetX(). I tried with cur.targetX

Re: Row by Row sliding

2013-07-22 Thread Jean-Marc Lasgouttes
21/07/2013 21:50, Hashini Senaratne: I tried to fix this and found that this happens because cur_x variable do mot get updates as expected. I save bv.getPos(cur).x_ to cur_x, as I discussed with you earlier. But my previous observation seems to be wrong when compared to cur.targetX(). I tried wit

Re: questions about using Doxygen and Python scripting

2013-07-22 Thread Guenter Milde
On 2013-07-22, Josh Hieronymus wrote: ... > Second, is there a tutorial > serves as a gentle introduction to Python scripting for LyX? I've not > worked with Python and C++ in the same project before, so I'm not really > sure how to get them to work together, especially when you consider issues >