Re: [LyX/master] Cycle through arrows with autocorrect

2023-03-19 Thread Enrico Forestieri
On Sun, Mar 19, 2023 at 02:28:41PM -0400, Richard Kimberly Heck wrote: Somehow, I had completely missed that this exists. It's super useful! Is it ok to add things, like: EE    f    \forall EE    x    \exists that I'd find useful? Or is there some scheme here such that I should ask about such

Re: [LyX/master] Cycle through arrows with autocorrect

2023-03-19 Thread Richard Kimberly Heck
ieri wrote: commit 4384ac75ffae706097f93f979c20e4080785649b Author: Enrico Forestieri Date: Sun Mar 19 10:26:08 2023 +0100 Cycle through arrows with autocorrect The way autocorrect is implemented it is not possible to map --> and ==> to \longleftarrow and \Longleftarr

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
gt; > pavel > > > > - Martin 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. So I cannot check how it

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()

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

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? -

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
; Index: mathed/InsetMathNest.cpp === --- mathed/InsetMathNest.cpp (revision 28149) +++ mathed/InsetMathNest.cpp (working copy) @@ -10,8 +10,6 @@ #include -//#define AUTOCORRECT - #include "InsetMathNest.h"

Autocorrect

2008-12-18 Thread Martin Vermeer
The attached patch optionally enables autocorrect in math, and fixes it so it works again once you define AUTOCORRECT. I propose to check this in, and I'll think about the usability issue reported by André. - Martin Index: mathed/InsetMathNes

Re: LyX +autocorrect

2008-04-11 Thread Pavel Sanda
hi Ed, > Any chance that "autocorrect" spelling will be built into LyX one day? maybe you will be intersted in this page: http://wiki.lyx.org/LyX/FeaturePoll also please read Lists Netiquette section in this page: http://www.lyx.org/MailingLists , especially the hijacking bullet. pavel

Re: LyX +autocorrect

2008-04-11 Thread Jürgen Spitzmüller
Ed Sykes wrote: > Any chance that "autocorrect" spelling will be built into LyX one day? one day? possibly (if someone comes up with a patch). Soon? Low chance. Jürgen

LyX +autocorrect

2008-04-11 Thread Ed Sykes
Any chance that "autocorrect" spelling will be built into LyX one day? Cheers, Ed Sykes