Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Jürgen Spitzmüller
Am Donnerstag, dem 06.10.2022 um 20:39 +0300 schrieb Yuriy Skalko: > Hello all, > > Currently in LyX you can insert into child documents the insets for > branches defined in master document only. But it is impossible to > change > the branch afterwards for such inset because master branches are

Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Jürgen Spitzmüller
Am Freitag, dem 07.10.2022 um 09:43 +0200 schrieb Jürgen Spitzmüller: > branchCO->addItem( > toqstr(bformat( _("%1$s[[branch]] > (%2$s)[[master]]"), >    toqstr(branch), qt_("master"; that should be _("master") of course. -- Jürgen signature.asc Description: This is a digit

Re: Thanks!

2022-10-07 Thread Jean-Marc Lasgouttes
Le 06/10/2022 à 14:20, Joel Kulesza a écrit : LyX Developers, The MCNP code recently released a total refresh of its theory and user manual in support of the upcoming version 6.3 release, which has been converted to be wholly reliant on LyX.  The manual is available at the top of https://mcnp

Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Jean-Marc Lasgouttes
Le 06/10/2022 à 19:39, Yuriy Skalko a écrit : Hello all, Currently in LyX you can insert into child documents the insets for branches defined in master document only. But it is impossible to change the branch afterwards for such inset because master branches are not shown in the "Branch Setti

Re: Tutorial

2022-10-07 Thread Jean-Marc Lasgouttes
Le 06/10/2022 à 09:22, Daniel a écrit : Since this deviates a bit from how I use LyX, I was curious whether some explanation might be helpful. I think it could be clearer that the "Save" step is optional for viewing a document. LyX is totally fine with just viewing a temporary created documen

Re: Thanks!

2022-10-07 Thread Joel Kulesza
On Fri, Oct 7, 2022 at 2:36 AM Jean-Marc Lasgouttes wrote: > > > While I don't challenge you to read this 1,078-page document, I do > > encourage you to read section 2.1.1, which describes the history of > > Monte Carlo particle transport generally and the MCNP code > > specifically. > > This is

Re: Thanks!

2022-10-07 Thread Jean-Marc Lasgouttes
Le 07/10/2022 à 13:51, Joel Kulesza a écrit : Awesome, thank you for the feedback! You are welcome. BTW, is there feedback we are supposed to provide concerning the gitlab ticket migration? I am not pushing anything, it is just to make sure that you are not waiting on us and suffering from l

Re: Thanks!

2022-10-07 Thread Jean-Marc Lasgouttes
Le 07/10/2022 à 13:51, Joel Kulesza a écrit : Awesome, thank you for the feedback! You are welcome. BTW, is there feedback we are supposed to provide concerning the gitlab ticket migration? I am not pushing anything, it is just to make sure that you are not waiting on us and suffering from l

Re: Thanks!

2022-10-07 Thread Scott Kostyshak
On Thu, Oct 06, 2022 at 06:20:36AM -0600, Joel Kulesza wrote: > Please contact me with any comments, questions, or concerns. Very cool. Congrats! I do have questions, but no worries if you prefer to skip some of them :) 1. I forget whether you have 2.4.0dev set up, but if you do can you comp

[PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Yuriy Skalko
> Looks good. One nitpick: > > + if (!branchlist.find(branch)) { > + branchCO->addItem(toqstr(branch + _(" > (master)")), toqstr(branch)); > > I'd use boost format for this: > > branchCO->addItem( > toqstr(bformat( _("%1$s[[branch]] (%2$s

[Qt4???] Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Jean-Marc Lasgouttes
Le 07/10/2022 à 17:02, Yuriy Skalko a écrit : Now with "(master)" suffix in combobox labels we cannot use them directly as branch names. Is is OK to disable this for Qt4 alltogether, as README says that LyX is only compilable on Qt4? This seems like an acceptable solution, if the code is simpl

Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Jürgen Spitzmüller
Am Freitag, dem 07.10.2022 um 18:02 +0300 schrieb Yuriy Skalko: > Now with "(master)" suffix in combobox labels we cannot use them > directly as branch names. Is is OK to disable this for Qt4 > alltogether, > as README says that LyX is only compilable on Qt4? You can use branchCO->itemData(bran

Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Yuriy Skalko
You can use branchCO->itemData(branchCO->currentIndex()).toString() This works in Qt 4 and upwards. Thanks, Jürgen! This way even dedicated Qt4 users will be able to enjoy this update :) Committed. Yuriy -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listin

[Qt4???] Re: [PATCH] Show branches from master document in branch inset dialog

2022-10-07 Thread Yuriy Skalko
Still, I am wondering why we insist on supporting Qt4 for 2.4.0 (especially considering that we will have to continue this game for 2+ years after that). I join to your wondering. And here is the patch to at least clean conditional code portions for Qt < 4.8. Yuriy From ba021353090922642e0e2

Local layout syntax highlight foundation

2022-10-07 Thread Lorenzo Bertini
Hello list, attached is a patch that adds a syntax highlighter to the local layout QTextEdit that supports some very basic LyX syntax. I remember someone asking for this, but nonetheless it can be useful. I've encountered some problems and I would appreciate your help: 1. I can't find how to