Oberon Community Platform Forum

Development => UnixAOS => Topic started by: dharmatech on October 11, 2010, 02:08:37 PM



Title: EditTools.ChangeSize on large documents
Post by: dharmatech on October 11, 2010, 02:08:37 PM
Hello!

This applies to Oberon Fullscreen under UnixAos.

Take a large document; for example Chapter5.Text of "The Oberon Companion". If I apply this operation:

    EditTools.ChangeSize ? => 14 ~

to the entire text (copy viewer, select all in first window, select all in second...) it takes a very long time. This operation was quite fast under the old Unix Oberon, also by Gunter.

Any suggestions?

Thanks!

Ed


Title: Re: EditTools.ChangeSize on large documents
Post by: dharmatech on October 12, 2010, 03:11:06 PM
I found a workaround for now.

If I open the document with Script.Open, select the text, and run the EditTools.ChangeSize command, it completes much faster.

Ed