freenode/#clim - IRC Chatlog
Search
5:57:00
jackdaniel
let's imagine for a moment, that draw-text* is capable of drawing multiline-text. alignment is then taken as of first line, or a whole block?
6:18:58
jackdaniel
given they are treated for all text lines, bottom alignment against blue line (with 10dp offset) looks like this: https://files.mastodon.social/media_attachments/files/005/356/869/original/6240cae36c535e5c.png
6:20:19
scymtym
i don't think there is a universal answer. you would probably need combinations like '({:first-line,:last-line} {:top,:bottom,:baseline})
6:26:39
jackdaniel
given interpretation, that :baseline always goes after first line to start and all others take whole block (nb :top wouldn't differ from one-line), are there practical situations, which wouldn't be covered by that? I can only think of situation, when you'd want :baseline-last-line (for example to make text growing upwards in editor-pane)
6:31:50
jackdaniel
also, taking whole block for top/bottom/center would be consistent with what :align-x does
7:00:02
scymtym
i agree that :center, :top, :bottom, :first-line-baseline and :last-line-baseline seem like the most useful combinations
8:56:16
loke
jackdaniel: DRAW-TEXT* does support multiline text, doesn't it? There certainly is code in there splitting a string by newlines.
8:58:10
jackdaniel
format works only on extended-output-streams and misses some things I've mentioned here
8:58:41
jackdaniel
*if* we replace and improve draw-text*, seos will use that changes and implementation will (hopefully) be improved and simplified
9:09:19
loke
jackdaniel: By the way, thnaks for noticing that the comment wasn't removed. I fixed that in th emost recent commit.
9:24:36
jackdaniel
one bug less, 7 more to go (before moving forward with pattern transformations for next tests)
9:28:24
loke
jackdaniel: I have noticed that when you have more than one pane in a bboard (one of them being an interactor), and I type a command in the interactor, then *STANDARD-OUTPUT* when the command is run is bound to the other pane, _not_ the interactor from where the command was typed.
9:28:56
loke
Is this expected behaviour? Is the value of *STANDARD-OUTPUT* defined in the documentation at all?