On Mon, Jul 23, 2001 at 06:19:47PM +0200, Andre Poenitz wrote:

> // *- When changing the macro definition, all instances are not updated.

Not fixed.

> ?? *- If I have macros \newcommand{\foo}[1]{[#1]} and \newcommand{\foox}{\foo{x}
> ??   then when an instance of \foox is drawn on screen,
> ??   there are two black frames
> ??   While this is "correct", it is annoying.
> ?? I actually have something like \newcommand{\foo}[1]{[#2]_{#2}} and
> ?? \newcommand{\foox}[1]{\foo{#1}{x}} so this change doesn't help.
> 
> :: There is just a single black frame now, which denotes "editable" macros.
> :: Do you think these single frames should go, too?

I still see two frames.

> // *- After insertion of \sum, the cursor is in invalid location

There is still a problem when doing c-m \sum S-C-M

> // *- The height of the frame is often wrong (e.g. x^2)

There are still problems: For example $\sum x$ in an inline formula

I've attached a new buglist.
Array/eqnarray

*- Ctrl+enter doesn't work

*- When creating a matrix/align/eqnarray all columns are centered.

//- Mutation from inline formula to eqnarray generates a numbered eqnarray
//
//- After pressing S-ctrl-M in an eqnarray, the cursor is in invalid position
//
//- The align env. is not read correctly: all contents is lost.
//
//- When converting from eqnarray*/align* to display math, the result is
//   a numbered equation.
//
//- When converting from eqnarray/align with one label to display math,
//   the label is lost.
//
//- No selection of multiple cells in array/eqnarray
//
// - After mutation from eqnarray to align, the cursor goes into a random
// position, and LyX sometimes crashes.
//
// - When pressing ctrl+enter in eqnarray, a row is appended at the end of the
//  array instead of at the cursor position
//
//- Pressing <tab> in an eqnarray, will only move the cursor between the cells
//in the current row, namely when pressing tab at the last cell of the row,
//the cursor isn't moved to the next row
//
//- It is not possible to convert an eqnarray to display math (the message
//"need to delete rows first" is printed to stderr), while it is possible to 
//convert eqnarray to inline.
//
//- C-tab doesn't do anything.
//It should move the contents of current cell (which is to the right of the
//cursor) to the next cell.
//
//- After mutation from eqnarray to align, the alignment of the middle column
//is 'r' instead of 'c'.

Macros:

- When changing the macro definition, all instances are not updated.

- If I have macros \newcommand{\foo}[1]{[#1]} and \newcommand{\foox}{\foo{x}}
   then when an instance of \foox is drawn on screen, there are two black frames.
   While this is "correct", it is annoying.

- LyX crashes when you define a recursive macro

//- When doing a selection with the mouse, a macro instance is opened.
//  The correct behavior is to not open the instance.
//
//- When creating a new macro instance (with one or more arguments),
//  typing a letter in the first argument, and typing backspace, the macro is
//  closed.
//
//- Create a macro \foo with one argument: \newcommand{\foo}[1]{[#1]} 
//  Now type 2^\foo{x} and close the macro instance.
//  The inset frame will be too high:
//+------+
//|      |
//|      |
//|  [x] |
//| 2    |
//+------+
//
//- math-macro-arg n doesn't work for n>1
//
//- When moving the cursor with the mouse into a macro instance, the
//   macro is not opened on screen.
//   Similarly, when moving the cursor with the mouse out of an opened macro,
//   the macro is not closed.
//
//- If the screen font is large, than when you "open" a macro instance, the
//argument number (#1) overlaps with the argument.
//
//- If a macro instance appear inside a subscript, it is not drawn using a
//smaller (subscript) font as it should.
//Moreover, when you 'open' the instance to edit the argument, the argument
//are drawn using the normal font, while it appears that the cursor moves
//according to subscript size font.
//
//Menus:
//
//- The toggle numbering menu is not disabled when not in math inset
//
//- 'Insert->Display formula' inserts an inline formula
//  (the lyxfunc should be changed to math-display)
//
//- You should add add/delete column/row menus to Edit->Math

Misc:

*- If I have x_{1}^{2}, I put the cursor before the 2, and press backspace,
the result is 'x2'. The correct result should be 'x_{1}2'

*- If I mark some text and then press ^, then the marked text is deleted.
  The correct behavior is to put the marked text in the superscript.

*- Pressing <down> when cursor is in subscript will move the cursor up (to the base of
   the subscript) instead of exiting the inset.
   The same problem happen in fractions

*- When you press the mouse just to the left of the middle point of some char,
   the cursor will be positioned to the right of the char.

*- It is possible to put two or more consecutive spaces in math text mode

//- 'ctrl-m x <escape> <left> shift+<left> x' crashes lyx.

- Text in superscript is not smaller than normal text.

//- After insertion of \sum, the cursor is in invalid location
-   There is still a problem when doing c-m \sum S-C-M

//- The height of the frame is often wrong (e.g. x^2)
 -  For example $\sum x$ in an inline formula

- InsetFormula::validate is broken

//- Suppose I have x\sum and the cursor is after the x.
//   When pressing ^, the cursor will go into the superscript of the \sum 

//- Pressing backspace inside \sqrt{a} (when the cursor is after the a) will exit 
//   from the root

//- Pressing backspace while in math text mode exits math text mode.

- Changing math space length by pressing the space-bar key doesn't work

//- After inserting delimiters ,e.g. M-m (, the cursor is to the right of the
//   delimiters, and not between them.

//- After insertion of a matrix, the cursor position is outside the matrix.

//- When Using the math-insert lyxfunc (e.g. math-insert x) when not in math
//   mode, a display math is created instead of an inline formula.

- The drawing of decorations on screen is very different than latex.
   (a low priority bug).

//- Decorations are broken:
//   All over* decorations are not drawn at all.
//   An underline is drawn incorrectly: When there is \underline{x},
//   the line is drawn outside of the inset frame. Furthermore, when adding
//   more chars inside the underline, the height of the inset frame begins to 
//   grow.
//
//- If I enter x^y^z, move the cursor before the y, and press backspace,
//   LyX crashes.
//
//- If I mark some text, e.g. abc, and then press M-m s (square root), then
//   the marked text is deleted, and an empty root appears.
//   The old behavior was to create \sqrt{abc}.
//   The same happens with \frac, \overline and array.
//- When inserting an integral or summation symbol, an empty superscript appear.
//
//- In lyx1.1.6, when I type x^2 <backspace> then the 2 is erased, but the
//cursor remains in superscript mode, namely there is an empty superscript box.
//In CVS, when pressing backspace, the cursor returns to normal level, namely
//the superscript box is erased.

- If I change '\alpha' to bold, the result is \mathbf{a}

- Just moving the cursor in a math inset causes changing the buffer status
to (changed).

//- The size of big operators in display equation is like in inline equation and
//not bigger.
//Also, when you enter super/subscript for big operator in display equation, they
//appear like in inline equation (not above/below the operator).
//
// - When inserting display math (S-C-M), it is numbered. The old behavior was
// to insert unnumbered equation.


Reply via email to