On Wed, Apr 07, 2004 at 01:38:45PM +0100, Angus Leeming wrote:
> > No, notifyCursorLeaves should be the place. However, I am pretty
> > sure this is almost never called when necessary. So every place
> > modifying the 'real' cursor (there aren't too many of them, the
> > MOUSE lfuns and Cursor/Buff
Andre Poenitz wrote:
> On Tue, Apr 06, 2004 at 10:49:43PM +0100, Angus Leeming wrote:
>> Andre,
>>
>> the trigger used to generate a preview of a math inset is the
>> cursor leaving the inset. In the old world I used this:
>>
>> void InsetFormulaBase::insetUnlock(BufferView * bv)
>> {
>>
On Tue, Apr 06, 2004 at 10:49:43PM +0100, Angus Leeming wrote:
> Andre,
>
> the trigger used to generate a preview of a math inset is the cursor
> leaving the inset. In the old world I used this:
>
> void InsetFormulaBase::insetUnlock(BufferView * bv)
> {
> if (mathcursor) {
>
On Fri, Oct 10, 2003 at 12:10:29AM +, Angus Leeming wrote:
> Angus Leeming wrote:
>
> > André, how does InsetFormula know when it is being edited?
> > Is the test below correct?
> >
> > void InsetFormula::draw(PainterInfo & pi, int x, int y) const
> > {
> > // The previews are updated/drawn o
On Thu, Oct 09, 2003 at 10:53:51PM +, Angus Leeming wrote:
> André, how does InsetFormula know when it is being edited?
The current idiom is to test for
mathcursor && mathcursor->formula() == SomeInsetFormulaBasePointer
Far from nice, though.
> Is the test below correct?
>
> void InsetF
Angus Leeming wrote:
> André, how does InsetFormula know when it is being edited?
> Is the test below correct?
>
> void InsetFormula::draw(PainterInfo & pi, int x, int y) const
> {
> // The previews are updated/drawn only when we're not editing the
> inset. bool const editing_inset = mathcursor &
On Thursday 21 March 2002 4:47 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
> > ps. I do this because I redefine \bmath in the latex preamble as a bit of
> > \mbox{\boldmath $#1$ \unboldmath} magic to get bold lowercase greek
> > letters.
>
> I thought
On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
> Ok. I see this too. (And thanks for this instant replies. I have just
> upgraded to use the fix to math_cursor.C). However, if I have a new command
>
> \begin_inset FormulaMacro
> \newcommand{\Vector}[1]{\bmath{#1}}
>
> \end_inset
On Thursday 21 March 2002 4:08 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
> > > \newcommand{\bmath}[1]{\mathbf{#1}}
> > >
> > > select it, and press
> >
> > Ok. So there's no way of doing this within mathed. Fair enough.
>
> That is - none that I a
On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
> Ok. So there's no way of doing this within mathed. Fair enough.
Do a cvs update & type '\mathbf #1'
Andre'
--
André Pönitz .. [EMAIL PROTECTED]
On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
> >
> > \newcommand{\bmath}[1]{\mathbf{#1}}
> >
> > select it, and press
>
> Ok. So there's no way of doing this within mathed. Fair enough.
That is - none that I am aware of...
> Ie, wrapping the font change inside the macro mea
On Thursday 21 March 2002 3:43 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
> > André, how do I create a macro, so, within mathed?
> >
> > \begin_inset FormulaMacro
> > \newcommand{\bmath}[1]{\mathbf{#1}}
>
> Type
>
> \newcommand{\bmath}[1]{\mathbf{#1
On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
> André, how do I create a macro, so, within mathed?
>
> \begin_inset FormulaMacro
> \newcommand{\bmath}[1]{\mathbf{#1}}
Type
\newcommand{\bmath}[1]{\mathbf{#1}}
select it, and press
> I can also edit the lyx file to create th
On Thursday 21 March 2002 3:18 pm, Angus Leeming wrote:
> André, how do I create a macro, so, within mathed?
>
> \begin_inset FormulaMacro
> \newcommand{\bmath}[1]{\mathbf{#1}}
>
> \end_inset
>
> I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space,
> but this doesn't work with
On Fri, Jan 11, 2002 at 02:02:49PM +, Angus Leeming wrote:
> > > enum Code or equivalent in math_inset.h. Perhaps you have another way?
>
> Well, I found the appropriate identifier, but unfortuately you haven't
> overloaded!
>
> mathed/math_charinset.h:50: MathTextCodes code() const { r
On Friday 11 January 2002 1:33 pm, Andre Poenitz wrote:
> On Fri, Jan 11, 2002 at 01:24:11PM +, Angus Leeming wrote:
> > My question is this. Is there an easy way to ascertain the type of the
inset
> > from within write(MathArray const & dat, WriteStream & wi)? I can't see
any
> > enum Cod
On Fri, Jan 11, 2002 at 01:24:11PM +, Angus Leeming wrote:
> My question is this. Is there an easy way to ascertain the type of the inset
> from within write(MathArray const & dat, WriteStream & wi)? I can't see any
> enum Code or equivalent in math_inset.h. Perhaps you have another way?
Yo
On Wed, Sep 05, 2001 at 11:57:43AM +0200, Andre Poenitz wrote:
> On Wed, Sep 05, 2001 at 10:45:35AM +0100, Angus Leeming wrote:
> > André, this may well be a dumn question, but WHY do we "swallow" the "\" when
> > displaying math commands, eg \Diamond. Would it not make your life easier as
> > w
On Wed, Sep 05, 2001 at 11:17:17AM +0100, Angus Leeming wrote:
> _I_ think so yes. It seems arbitrary to remove a character for no good
> reason.
Well, the backslash is not part of the token. So it is not explicitly removed
at any place.
> If LyX "recognises" the symbol, as it appears to do for
On Wednesday 05 September 2001 10:57, Andre Poenitz wrote:
> On Wed, Sep 05, 2001 at 10:45:35AM +0100, Angus Leeming wrote:
> > André, this may well be a dumn question, but WHY do we "swallow" the "\"
when
> > displaying math commands, eg \Diamond. Would it not make your life easier
as
> > wel
On Wed, Sep 05, 2001 at 10:45:35AM +0100, Angus Leeming wrote:
> André, this may well be a dumn question, but WHY do we "swallow" the "\" when
> displaying math commands, eg \Diamond. Would it not make your life easier as
> well if the "\" was displayed also.
They names are stored internally wi
21 matches
Mail list logo