Re: Option to set all ERT's to 'inline'

2003-02-19 Thread Bo Peng
On Tue, Feb 18, 2003 at 10:51:00AM +, Angus Leeming wrote: > Yes. The API is the right place to do this. > However, I believe that there is already an LFUN_INSET_TOGGLE (type > 'inset-toggle' in the minibuffer) that calls text2.C's toggleInset. Perhaps > you could make use of this? You'd p

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread Christian Ridderström
On Tue, 18 Feb 2003, John Levon wrote: > On Tue, Feb 18, 2003 at 01:56:37PM +0100, Christian Ridderstr?m wrote: > > > These are the alternatives (and a new one) I've seen so far: > > 1. A user preference indicating how new ERTs are created: open or inline. > > 2. Modify inset-toggle() to switch

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread John Levon
On Tue, Feb 18, 2003 at 01:56:37PM +0100, Christian Ridderstr?m wrote: > These are the alternatives (and a new one) I've seen so far: > 1. A user preference indicating how new ERTs are created: open or inline. > 2. Modify inset-toggle() to switch between three modes instead of two. > 3. A lyx f

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread Christian Ridderström
On 18 Feb 2003, Jean-Marc Lasgouttes wrote: > > "Davor" == Davor Cengija <[EMAIL PROTECTED]> writes: > > Davor> ERT's, either open or closed, my document looks really ugly on > Davor> the screen, almost unreadable. An option 'turn all ERT's to > Davor> inlined/open/closed' would be really use

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread Jean-Marc Lasgouttes
> "Davor" == Davor Cengija <[EMAIL PROTECTED]> writes: Davor> I'm not an advanced user, but I frequently use \emph and Davor> similar commands, not to mention my own, really simple ones. Davor> E.g., each english word, or a word with english roots should be Davor> emphasized, and since I write

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread Davor Cengija
John Levon wrote: > On Mon, Feb 17, 2003 at 03:56:32PM -0700, Fernando Perez wrote: > >> > I think that I can say definitively that that won't happen. 'Inlined' >> > is good only for short snippets of ERT. We couldn't allow it to be >> > the default. Anyway, you have your script, so what's the pr

Re: Option to set all ERT's to 'inline'

2003-02-18 Thread Angus Leeming
Bo Peng wrote: > On Tue, Feb 18, 2003 at 12:13:03AM +, John Levon wrote: >> On Mon, Feb 17, 2003 at 03:56:32PM -0700, Fernando Perez wrote: >> > If I may say, there shouldn't be any problem with adding an _option_ >> > in the preferences dialog such as 'New ERT default state' -> >> > inlined/e

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Bo Peng
On Tue, Feb 18, 2003 at 12:13:03AM +, John Levon wrote: > On Mon, Feb 17, 2003 at 03:56:32PM -0700, Fernando Perez wrote: > > If I may say, there shouldn't be any problem with adding an _option_ > > in the preferences dialog such as 'New ERT default state' -> > > inlined/expanded. > We won't

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread John Levon
On Mon, Feb 17, 2003 at 03:56:32PM -0700, Fernando Perez wrote: > > I think that I can say definitively that that won't happen. 'Inlined' > > is good only for short snippets of ERT. We couldn't allow it to be > > the default. Anyway, you have your script, so what's the problem ;-) > > If I may

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Fernando Perez
On Mon, 17 Feb 2003, Angus Leeming wrote: > Davor Cengija wrote: > > Thanks for the affort, Angus, I already have something like that. > > > > However, a default setting for ERT's in Preferences would be more > > than useful. I don't know if the developers would like it, but I > > surely would. >

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Davor Cengija
Angus Leeming wrote: > Davor Cengija wrote: >> Thanks for the affort, Angus, I already have something like that. >> >> However, a default setting for ERT's in Preferences would be more >> than useful. I don't know if the developers would like it, but I >> surely would. > > I think that I can say

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Angus Leeming
Davor Cengija wrote: > Thanks for the affort, Angus, I already have something like that. > > However, a default setting for ERT's in Preferences would be more > than useful. I don't know if the developers would like it, but I > surely would. I think that I can say definitively that that won't hap

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Davor Cengija
Angus Leeming wrote: > Davor Cengija wrote: > >> Just yesterday I upgraded LyX from 1.1.6 to 1.3.0 and now I see a >> lot of ERT's. I don't like them. >> >> Basically, I have a lot of \emph's, \myCodeFormat's and other LaTeX >> or my own commands, and now the text on the screen looks really >> m

Re: Option to set all ERT's to 'inline'

2003-02-17 Thread Angus Leeming
Davor Cengija wrote: > Just yesterday I upgraded LyX from 1.1.6 to 1.3.0 and now I see a > lot of ERT's. I don't like them. > > Basically, I have a lot of \emph's, \myCodeFormat's and other LaTeX > or my own commands, and now the text on the screen looks really > messed up. > > I see in the FAQ

Option to set all ERT's to 'inline'

2003-02-17 Thread Davor Cengija
Just yesterday I upgraded LyX from 1.1.6 to 1.3.0 and now I see a lot of ERT's. I don't like them. Basically, I have a lot of \emph's, \myCodeFormat's and other LaTeX or my own commands, and now the text on the screen looks really messed up. I see in the FAQ that each ERT can be displayed as 'i