Line wraps and rendering performance

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

Post Reply
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7719
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles

Line wraps and rendering performance

Post by FourthWorld » Sat Mar 07, 2015 4:21 pm

While helping a user diagnose an issue with slow performance of field rendering with large amounts of data (see one post in that thread here: ... 12246.html ), I wanted to compare LC's performance with Apple's TextEdit and made an interesting discovery:

TextEdit doesn't even attempt to calculate line wraps during resize, instead deferring that until the end of resize after the mouse is released.

Could there be benefit to considering a new field property for deferred line wrap?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems:
LiveCode User Group on Facebook :

Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

Re: Line wraps and rendering performance

Post by WaltBrown » Tue Mar 10, 2015 2:02 am

Has anyone done that in a tablet or phone? I imaging going from landscape to portrait would incur a similar penalty, if you are resizing fields.
Walt Brown
Omnis traductor traditor

Post Reply

Return to “Engine Contributors”