You can set the imageSource of the non-printing characters. They will remain spaces, tabs, and returns, but can have a small image (you will have to make or find) displayed in their place. See imageSource in the Dictionary.

set the imageSource of character to {imageID |imageName |imageURL |empty}


On 12/7/2018 8:12 PM, Kaveh Bazargan via use-livecode wrote:
Thanks Bob. I did mean non-printing characters. I think just space, tab and
return.

The problem with replacing with with a character is that of course it is
not a space any more, so text would not wrap as normal. I need the user to
edit as normal and with normal functionality but see the normally invisible
characters. So seems I would need a native solution. :-(

On Sat, 8 Dec 2018 at 00:22, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

Not natively. You would have to replace every non-printing character
(that's what you mean by invisible I suppose) with a square digbat or
something. If you want to filter for only printable characters, I have a
function that dies that, and also there are regex strings for that sort of
thing.

Bob S


On Dec 7, 2018, at 15:44 , Kaveh Bazargan via use-livecode <
use-livecode@lists.runrev.com> wrote:
Is there any way of seeing invisible characters in a text field, similar
to
the view in text editors and word processors?

--
Kaveh Bazargan

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to