Qingtian

Results 166 comments of Qingtian

My guess: For trimming multiline text. E.g. Trimming an article. Using `trim/head/tail` will turn it into a single line of text.

`pango_cairo_*` related functions are quite slow. If I comment those functions in `draw-text-at`, the speed is on par with Windows. `cairo_show_text` is fast, we should use it.

> The changes in %VID.red are not good, they affect all platforms with any View backend... Should the `/tight` flag be propagated to the child containers?

`on-change` event is triggered only when user typing in the area face.

> I have found that using this feature on fields is an excellent way to provide a simple external interface to the GUI being developed. Would you give more details...

@mikeyaunish So you use `field/text` to trigger the `on-change` function. Why not call the `on-change` function directly?

I think it's bug to trigger it for fields. I don't see a good reason to do it. It prevents one to do preprocess for the user's input. For example:...

> If it triggers for fields, it should trigger for areas too. > > Besides, there's an issue with `a1/text: "hi"` evaluated by the button: if it used once, then...

For the overshot by one issue, seems it's intended. Here is a test from the unit tests. ``` list: [a b c d e] move list at list 3 --assert...

@hiiamboris We don't have document for `move` action yet. No matter how it behaviors now. It works as the author expected. If you're going to rewrite it, please make a...