Re: Add math autocorrect to RC file

2009-06-24 Thread Pavel Sanda
Martin Vermeer wrote: > Perhaps... but doesn't look like I'll be contributing any time soon > now. Real Life is rampant :-( > > > >So I cannot check how it works. > > > > i had the impression you wrote the code... am i wrong? > > Yes I did... and it worked back then... ok, i'll add link to this

Re: Add math autocorrect to RC file

2009-06-23 Thread Martin Vermeer
On Tue, 23 Jun 2009 10:45:24 +0200 Jean-Marc Lasgouttes wrote: > Martin Vermeer writes: > >> this is due to the migration to our new server. please contact JMarc > >> for setting an account for you, it should be quite easy now. > > > > Perhaps... but doesn't look like I'll be contributing any ti

Re: Add math autocorrect to RC file

2009-06-23 Thread Jean-Marc Lasgouttes
Martin Vermeer writes: >> this is due to the migration to our new server. please contact JMarc >> for setting an account for you, it should be quite easy now. > > Perhaps... but doesn't look like I'll be contributing any time soon > now. Real Life is rampant :-( So do you want an account? A @lyx.

Re: Add math autocorrect to RC file

2009-06-22 Thread Pavel Sanda
Martin Vermeer wrote: > Thanks Pavel. > > It works like this: for certain predefined key sequences like => typing > the sequence will lead to a \Rightarrow appearing in Math. > > Unfortunately I don't have a working lyx in svn now... no working > account. this is due to the migration to our ne

Re: Add math autocorrect to RC file

2009-06-22 Thread Martin Vermeer
On Sun, 14 Jun 2009 00:27:16 +0200 Pavel Sanda wrote: > Martin Vermeer wrote: > > On Wed, 14 Jan 2009 13:22:54 +0100 > > Pavel Sanda wrote: > > > > > Martin Vermeer wrote: > > > > As in the attached. This makes it possible to enable autocorrection in > > > > the preferences file. > > > > > >

Re: Add math autocorrect to RC file

2009-06-13 Thread Pavel Sanda
Martin Vermeer wrote: > On Wed, 14 Jan 2009 13:22:54 +0100 > Pavel Sanda wrote: > > > Martin Vermeer wrote: > > > As in the attached. This makes it possible to enable autocorrection in > > > the preferences file. > > > > would it be possible to add some list of autocorrected things into some of

Re: Add math autocorrect to RC file

2009-01-14 Thread Jean-Marc Lasgouttes
Martin Vermeer writes: > On Wed, 14 Jan 2009 14:37:47 +0100 > Jean-Marc Lasgouttes wrote: > >> Martin Vermeer writes: >> > + // leave autocorrect mode if necessary >> > + if (autocorrectEnabled(cur) && c == ' ' && cur.autocorrect()) { >> >> Two questions (probably related) >> - why do you pas

Re: Add math autocorrect to RC file

2009-01-14 Thread Martin Vermeer
On Wed, 14 Jan 2009 14:37:47 +0100 Jean-Marc Lasgouttes wrote: > Martin Vermeer writes: > > + // leave autocorrect mode if necessary > > + if (autocorrectEnabled(cur) && c == ' ' && cur.autocorrect()) { > > Two questions (probably related) > - why do you pass cur to autocorrectEnabled, wher

Re: Add math autocorrect to RC file

2009-01-14 Thread Jean-Marc Lasgouttes
Martin Vermeer writes: > + // leave autocorrect mode if necessary > + if (autocorrectEnabled(cur) && c == ' ' && cur.autocorrect()) { Two questions (probably related) - why do you pass cur to autocorrectEnabled, whereas it does not rely on the cursor? - why not put the cur.autocorrect() t

Re: Add math autocorrect to RC file

2009-01-14 Thread Martin Vermeer
On Wed, 14 Jan 2009 13:22:54 +0100 Pavel Sanda wrote: > Martin Vermeer wrote: > > As in the attached. This makes it possible to enable autocorrection in the > > preferences file. > > would it be possible to add some list of autocorrected things into some of > our manual? Hmmm, yes. > it may

Re: Add math autocorrect to RC file

2009-01-14 Thread Pavel Sanda
Martin Vermeer wrote: > As in the attached. This makes it possible to enable autocorrection in the > preferences file. would it be possible to add some list of autocorrected things into some of our manual? it may be worth to add checkbox into preferences gui. pavel

Add math autocorrect to RC file

2009-01-14 Thread Martin Vermeer
As in the attached. This makes it possible to enable autocorrection in the preferences file. - Martin Index: LyXRC.h === --- LyXRC.h (revision 28149) +++ LyXRC.h (working copy) @@ -38,6 +38,7 @@ enum LyXRCTags { RC_ACCEPT_COMP