while. That is the information I was missing. I thought of a "matching loop" as the parsing itself. It is a matching loop after all. Hence my surprise when a parse with
layout [tb: box wrap 10x1000 ". . . . . . . . ."]
ifkeyword, for example. I got examples for that today here at gitter, btw.
What is the right way to refresh text-list face?
mylist: ["one" "two" "three"] view [text-list data mylist [ change at face/data face/selected "hi there" ]] ; text-list is not updated when clicked print mylist ; though underlying list is
It does not work better if I add
But strangely it works with
mylist: ["one" "two" "three"] view [text-list data mylist [ change at face/data face/selected "hi there" face/data: face/data ]] ; now text-list is updated when clicked
maliste: ["un" "deux" "trois"] view lay: layout [text-list data maliste [n: face/selected request-text/default face/data/:n print face/data show face ]]
I have those packages installed on archlinux
core/lzo 2.10-1 [installed] core/openssl 1.1.1-1 [installed] core/openssl-1.0 1.0.2.p-1 [installed] extra/flac 1.3.2-1 [installed] extra/wavpack 5.1.0-2 [installed] community/mbedtls 2.13.0-1 [installed] multilib/lib32-openssl 1:1.1.1-1 [installed] core/curl 7.61.1-1 [installed] community/gambas3-gb-net-curl 3.11.3-3 (gambas3) [installed] community/libcurl-compat 7.61.1-1 [installed] community/libcurl-gnutls 7.61.1-1 [installed] multilib/lib32-curl 7.61.1-1 [installed] multilib/lib32-libcurl-gnutls 7.61.1-1 [installed]
However, i keep getting segfaults whenever i try reading a webpage from red repl?
reverse face/data). They will propagate a change only if you modify one of its facets directly, like
mytextinto a file when I'm changing into another tab in
Red [needs: view] words-as-string: read %words.txt view [ Title "Tab-panels" tab-panel 200x100 [ "Tab 1 " [text "First panel"] "Tab 2 " [mytext: area 440x215 words-as-string] ] ]
on-selectevent also fires on every character typed inside text area but in addition to that also on each mouse click inside text area.
mytextinto a file when user will swap to another tab but I want to avoid saving on each keystroke.
Red [needs: view] words-as-string: read %words.txt view [ Title "Tab-panels" tab-panel 200x100 on-select [print ["swapped to tab " event/picked]] [ "Tab 1 " [text "First panel"] "Tab 2 " [mytext: area 440x215 words-as-string] ] ]