I don’t think it is the tab character but rather the tab stops that are the problem.
Brian On Apr 8, 2019, 9:26 AM -0400, dunbarxx via use-livecode <use-livecode@lists.runrev.com>, wrote: > Hi. > > I am always missing something. Why is there an issue retaining tabs in a > body of ordinary text? > > I have a table field with "A" & tab & "B" & tab & "C" in it. If I write that > text into a file on my desktop and then load it back into the second line of > that field: > > on mouseUp > get fld 1 > > open file "/users/craignewman/desktop/xxx" for text write > write it to file "/users/craignewman/desktop/xxx" > close file "/users/craignewman/desktop/xxx" > > open file "/users/craignewman/desktop/xxx" for read > read from file "/users/craignewman/desktop/xxx" until EOF > close file "/users/craignewman/desktop/xxx" > > put it into line 2 of fld 1 > end mouseUp > > The identical text is now in line 2, all tabs intact. No rtf stuff needed. > > I am always missing something. > > Craig Newman > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode