On Tue, Sep 25, 2001 at 11:45:36AM +0200, Andre Poenitz wrote:
> On Tue, Sep 25, 2001 at 11:38:36AM +0200, Dekel Tsur wrote:
> > BTW, you should add a cursor position "after the atom, but before the
> > scripts".
> 
> > When the cursor is in that position and you press delete, the scripts will be
> > deleted (or maybe if there are two scripts, only the superscript will be
> > deleted.)
> 
> 
> And what if somebody enters a 'x' there? Insert the 'x' "really behind the
> inset" and move the current *scripts over to this 'x'?
> 
> And it is non-trivial btw: The base and the scripts are a unit. Cursor

Isn't is possible to implement scripts as before ? (and still compute their
position correctly)

> positions are "unit steps". If you want that this would mean to rewrite a
> larger part of the cursor again... What's actually wrong with the current
> behaviour? What kind of thing is impossible to do?

Suppose I have x+y^{2}, and I want to change the y to x.
If I put the cursor before the y and press delete, the y is deleted but
the cursor is now after the script, namely x+^{2}| (| denotes the cursor
position), so when I type x, the result is x+^{2}x|
(however it is possible to first type x and then press delete:
x+|y^{2} -> x+x|y^{2} -> x+x^{2}|  ).

The desired behavior should be
  x+|y^{2} -> x+|^{2} -> x+x|^{2}

Another problem is that I cannot copy scripts, namely suppose I need to type
x^{123}+y^{123}+z^{123}.
Previously, I could type x^{123}, place the cursor between the x and the
superscript, press shift+right (which would mark the superscript), press
ctrl+c (the superscript is copied to the clipboard) and then do
+ y <ctrl+p> + z <ctrl+p>.

Reply via email to