brian at westwoodsvcs.com
Wed Nov 11 20:20:34 CET 2020
Here is a simple text wrap, I had.
----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Wednesday, November 11, 2020 11:13:31 AM
Subject: Re: [Gambas-user] Text-Wrapping
Le 11/11/2020 à 19:32, Bruce a écrit :
> Unfortunately, my "perfext code is in python and consists of a single
> call to textwrap.wrap() See here for more info
> I was merely trying to point out that it isn't as simple as it looks.
>>> I had understood, obviously badly as I usually do, that each line of
>>> should contain the maximum possible number of characters indicated (with
> That is a fair and alternate interpretation of the question and one I
> should have put in my original post!
> Perhaps having a look at how the IDE wraps code might be an idea? It
> seems to do quite well with (silly) things like:
> Dim MyName As String = "Mr. Michael Sean O'Reilly-Dogherty III (Jnr)"
The text editor wrapping algorithm is for proportional fonts and is
based on pixels, not on characters.
----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12950 bytes
Desc: not available
More information about the User