is it a problem that an inserted dynamic expression is returns a length:1 
placeholder as "plain text"?

it has been that way since the feature was introduced,
same with old 4D Write plugin.

a URL, when highlighted would be

$highlightedText:=ST Get plain text(ST Get text(...;ST Start highlight;ST End 
highlight))
ST GET URL(...;$label;$url;ST Start highlight;ST End highlight)

(Length($label)#0)
(Length($url)#0)
(Length($highlightedText)=1)

the only difference since v14 is that the character is now character code 32;
before, it was character code 160.

think of it this way;

the expression could evaluate as "".
the user could select a range with or without the expression.
for practical purposes (range selection) you need a placeholder for the 
expression.
whether that character should be a space or some control character is probably 
a design choice.

2017/02/17 8:30、Jeremy French via 4D_Tech 
<[email protected]<mailto:[email protected]>> のメール:
What am I missing?


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to