[Scribus] Yet ANOTHER scripting bug

Chris Bergstresser chris
Sat Dec 1 05:19:58 CET 2007


Hi --

   I'm really getting frustrated with the quality of Scribus.  The
latest bug (I assume bug) is the following:

    scribus.selectText(0, 0, selected_frame)
    scribus.insertText("Hello", -1, selected_frame)
    scribus.selectText(0, 5), selected_frame)
    scribus.setStyle("Section Head", selected_frame)

This code works.  However, neither of the following do:

    scribus.selectText(0, 0, selected_frame)
    scribus.insertText("Hello\n", -1, selected_frame)
    scribus.selectText(0, 5), selected_frame)
    scribus.setStyle("Section Head", selected_frame)

... and ...

    scribus.selectText(0, 0, selected_frame)
    scribus.insertText("Hello", -1, selected_frame)
    scribus.selectText(0, 6), selected_frame)
    scribus.setStyle("Section Head", selected_frame)

... both do nothing at all.  Why?

-- Chris



More information about the scribus mailing list