[ALLY] more weird behavior..
From: peoyli:algonet:se at: 15-Nov-2000 19:24
It's me again.. :)
Anyone noticed this in View 0.10.38 ?
>From console:
>> text_1: "Line 1^/Line 2^/Line 3"
== "Line 1^/Line 2^/Line 3"
>> print text_1
Line 1
Line 2
Line 3
>>
everything ok, so far..
>> view layout [t1: text 100x200 with [text: text_1]
All the lines are shown on the same line.... Close the window and
print text_1:
>> print text_1
Line 1 Line 2 Line 3
Where did the newlines go ?
>> text_1: "Line 1^/Line 2^/Line 3"
>> i: 4 view layout [t1: text 100x200 with [text: text_1] [
[ insert tail t1/text join "Line" [i #"^/"] i: i + 1
[ ]
[ ]
The three predefined lines are shown on one line...
Clicking the text appends "Line 4" at the same line..
And clicking more appends "Line 5" etc. below the "Line 1 Line 2 Line 3Line 4"
line... (as expected)
>> print text_1
Line 1 Line 2 Line 3Line4
Line5
Line6
Line7
Line8
Line9
Line10
Line11
Line12
Line13
Line14
Line15
Line16
Line17
Line18
>> view layout [t1: text 100x200 with [text: text_1]]
..everything is a mess... close the window...
>> print text_1
Line 1 Line 2 Line 3Line4 Line5 Line6 Line7 Line8 Line9 Line10 Line11 Line12 Line13 Line14
Line15 Line16 Line17 Line18
and this explains it, but the reason for that this happens still is
missing...
/PeO