diff options
Diffstat (limited to 'source/blender/python/api2_2x/doc/testtext.py')
-rw-r--r-- | source/blender/python/api2_2x/doc/testtext.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source/blender/python/api2_2x/doc/testtext.py b/source/blender/python/api2_2x/doc/testtext.py deleted file mode 100644 index 3e3fd1a5b01..00000000000 --- a/source/blender/python/api2_2x/doc/testtext.py +++ /dev/null @@ -1,29 +0,0 @@ -# Test Blender.Text - -import Blender -from Blender import Text - -txt = Text.New("MyText") -all_texts = Text.Get() - -for i in [1,4,7]: - txt.write("%d\n%d\n%d little indians\n" % (i, i+1, i+2)) - -x = txt.getNLines() - -txt.write("%d little indian boys!" % x) - -lines = txt.asLines() - -txt.clear() -txt.write("... Yo-ho-ho! And a bottle of rum!") - -for s in lines: - print s - -print all_texts -print txt.asLines() - -Text.unlink(txt) - -print all_texts |