Textedit changes.
#1
Recent changes to TextEdit:

Added a small ( 2 pixel ) gutter around the text. This makes it much easier to read the text. This will not change the code, but may change where the words wrap or scroll in a TextEdit.

As TextEdit GET "CountLines" returns the number of lines ending in "/n", I added:

TextEdit GET "CountPhysicalLines" counts the number of lines displayed, even if wordwrap is used.

And as a counterpoint to TextEdit GET "curser-position", I added:

TextEdit SET "curser" ofset
This moves the curser to the ofset ( bytes from the beginning )indicated. Remember textcontrol counts bytes, if one uses two byte characters one must account for this.
Reply


Messages In This Thread
Textedit changes. - by bbjimmy - 11-03-2015, 10:08 AM
RE: Textedit changes. - by clasqm - 11-03-2015, 02:49 PM
RE: Textedit changes. - by bbjimmy - 11-04-2015, 12:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting