Graham Samuel wrote:
> Well, I am happy to be wrong, so I repeated exactly what you did, of
> course using my own bit of styled text. It didn’t work - partly
> because I can only select the text in the field itself in ‘run’ mode,
> but I can only see the Inspector in ‘edit’ mode. When I switch
Just saw an improvement in my code that *should* make it happy to work with
Unicode characters…
local OkayChars = ""
function CleanASCII3 DerText if OkayChars = "" then -- construct OkayChars
string as needed repeat with K1 = 32 to 126 put numToChar (K1) after
OkayChars end repeat
While Bob Sneidar's function should do the job of scrubbing weird characters
from text, am unsure why he felt the need to construct that massive pCustomList
variable. Seems to me that it would be simpler, and perhaps quicker, to do this
instead:
function cleanASCII2 DerASCII put "" into
Graham,
If you click the lock icon on the property inspector while you’re in edit mode,
the PI for that object will remain open when you switch back to run mode.
Hope this helps.
Devin
> On May 19, 2020, at 3:10 PM, Graham Samuel via use-livecode
> wrote:
>
> Well, I am happy to be wrong,
Well, I am happy to be wrong, so I repeated exactly what you did, of course
using my own bit of styled text. It didn’t work - partly because I can only
select the text in the field itself in ‘run’ mode, but I can only see the
Inspector in ‘edit’ mode. When I switch between the two modes, I
I was trying the same thing in LC 9.6 (dp4) and it works here. It works both
when selecting the text in the text pane in the navigator or selecting text in
the field itself.
Regards
Tore Nilsen
> 19. mai 2020 kl. 19:53 skrev Richard Gaskin via use-livecode
> :
>
> I just tried this recipe:
>
Graham Samuel wrote:
> To an ordinary LC developer, if you can change the properties of the
> initial text (to a different size for example) without overtly
> selecting it, then the same behaviour can be expected from the IDE
> when trying to change text you’ve pasted in. It may or may not be
>
> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>>
>>>
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
>>> Of Graham Sa
I had to write a function that returns only true ASCII printable characters
because when I performed a drag/drop operation from a searchable PDF, I
discovered that Acrobat puts all kinds of hidden characters in the text that
really messes with LC. It’s a simple function:
FUNCTION cleanASCII
;> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>>
>>
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
>> Of Graham Samuel via use-livecode
>> Sent: Monday, M
Of Graham Samuel via use-livecode
> Sent: Monday, May 18, 2020 4:45 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Changing text properties in a field via the IDE
>
> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that
> didn’t work. I
Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
Graham Samuel via use-livecode
Sent: Monday, May 18, 2020 4:45 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Changing text properties in a field via the IDE
I’m using LC 9.6.0 rc1 on a Mac. Just
Graham Samuel wrote:
> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple
> that didn’t work. I created a label field, opened the Property
> Inspector for the field and changed its text - that worked. Then I
> attempted to change the font size - that didn’t work. The
I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that
didn’t work. I created a label field, opened the Property Inspector for the
field and changed its text - that worked. Then I attempted to change the font
size - that didn’t work. The appearance of the label in the stack
14 matches
Mail list logo