Re: Changing text properties in a field via the IDE

2020-05-19 Thread Richard Gaskin via use-livecode
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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Quentin Long via use-livecode
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 

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Quentin Long via use-livecode
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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Devin Asay via use-livecode
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,

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
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: >

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Richard Gaskin via use-livecode
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 >

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
> 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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Bob Sneidar via use-livecode
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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
;> 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

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
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

RE: Changing text properties in a field via the IDE

2020-05-18 Thread Ralph DiMola via use-livecode
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

Re: Changing text properties in a field via the IDE

2020-05-18 Thread Richard Gaskin via use-livecode
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

Changing text properties in a field via the IDE

2020-05-18 Thread Graham Samuel via use-livecode
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