On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote:
> Matej Cepl <[EMAIL PROTECTED]> writes:
> | YES! Than I would be able to get my beloved
> | transpose-characters function, which nobody cares to
> | implement in LyX.
>
> You only have to provide a patch...
>
> (same as you would have to do with python, unless you don't
> want to share of course.)

OK, I have no clue how to do it in C++ and I cannot programm 
well, but I was able to do it in my Word (a long time ago, when 
have been working with it) like this:

Sub Prohodit()
Dim Pom As String
    With Selection
        .MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
        Pom = .Text
        .Delete
        .MoveLeft Unit:=wdCharacter, Count:=1
        .InsertAfter Pom$
        .MoveStart Unit:=wdCharacter, Count:=2
    End With
End Sub

Tell me, how to write it in C++ and where does it go, and five 
minutes later I will have it there (and you will get a patch). 
Promise!

I do not want quarrel with you about such a triviality, but what 
I mean is, that by embedding Python you would allow us, 
non-programmers, to help you a send you beautiful :-) programmes 
for everything WE need (not what you think we need, which may be 
sometimes different).

                Have a nice day

                        Matej Cepl

Reply via email to