View Issue Details

IDProjectCategoryView StatusLast Update
0000669ScribusScripterpublic2008-02-08 20:08
Reportersjc Assigned Tofschmid  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0000669: cannot insert a tab into text frame using scripter
DescriptionCreate a text file containing a line of tabbed text. Select Get Text and load the text file into a text frame. Correctly tabbed text appears.
Now using a script attempt to use SetText or InsertText to insert the same line of text from the same file into a text frame and the tabs are not appearing in the text frame. The tabs appear to have become spaces.
Try attached script to see the problem too.
Additional InformationAlso tried these two lines in scripter:
oneLine = "Hello" + '\x09' + "hello" '\t' + "More Text" + '\n'
SetText(oneLine,"")
TagsNo tags attached.
Patch

Relationships

child of 0003813 acknowledged Metabug: Scripter 

Activities

2004-05-16 18:55

 

tab_example.py (106 bytes)

sjc

2004-05-16 18:57

developer   ~0001489

I have marked this bug as major because I cannot find a viable work around.
Anyone got any suggestions please?

sjc

2004-05-17 22:16

developer   ~0001503

add note

sjc

2004-05-17 22:17

developer   ~0001504

Tested. Fixed.

Issue History

Date Modified Username Field Change
2004-05-16 18:55 sjc New Issue
2004-05-16 18:55 sjc File Added: tab_example.py
2004-05-16 18:57 sjc Note Added: 0001489
2004-05-17 21:33 fschmid Status new => resolved
2004-05-17 21:33 fschmid Resolution open => fixed
2004-05-17 21:33 fschmid Assigned To => fschmid
2004-05-17 22:11 sjc Status resolved => closed
2004-05-17 22:16 sjc Status closed => feedback
2004-05-17 22:16 sjc Resolution fixed => reopened
2004-05-17 22:16 sjc Note Added: 0001503
2004-05-17 22:17 sjc Status feedback => closed
2004-05-17 22:17 sjc Note Added: 0001504
2006-05-13 21:57 christoph_s Relationship added child of 0003813
2008-02-08 20:07 christoph_s Status closed => resolved
2008-02-08 20:07 christoph_s Resolution reopened => fixed
2008-02-08 20:08 christoph_s Status resolved => closed