BLUELOVETH
BLUELOVETH
+1
> 等官方重构之后,我会重新也重构新的,暂时不做处理了。 啊....那要啥时候更新呀> < 现在有什么workaround吗
> 官方的会吗 官方是指啥,我的项目用了ExtendedTextField和SpecialSpanBuilder,有办法兼容这些吗。 是在做一个类似论坛的显示,不可避免有长文本,所以挺着急的。错位之后,图片的显示也都不正常。
亲测把ExtendedRichText换成官方的Text.rich没有这个问题。 ``` // extended_text.dart // ... Widget result; if (selectionEnabled) { /* result = ExtendedTextSelection( textAlign: textAlign ?? defaultTextStyle.textAlign ?? TextAlign.start, textDirection: textDirection ?? Directionality.of( context), // RichText uses Directionality.of...
You may want to try this: https://github.com/nesbox/TIC-80/issues/2445#issuecomment-1910489817 ``` cmake -DBUILD_WITH_LUA=ON -DBUILD_WITH_FENNEL=OFF -DBUILD_WITH_JANET=OFF -DBUILD_WITH_JS=OFF -DBUILD_WITH_MOON=OFF -DBUILD_WITH_MRUBY=OFF -DBUILD_WITH_PYTHON=OFF -DBUILD_WITH_SCHEME=OFF -DBUILD_WITH_SQUIRREL=OFF -DBUILD_WITH_WASM=OFF -DBUILD_WITH_WREN=OFF .. --fresh ```
I agree with this. If tic-80 supports virtual files, `import` can be used in python, too!
I think versions are in each language's header files. But tic-80 may not want to touch them directly. An idea is to provide a callback and let each language report...
另外字典某些操作(例如删除)的时间复杂度似乎是O(n),而不是O(1)
还有 ``` a = {} b = ["1"] a[b[0]] = 2 ``` 没记错的话这个会报一个setitem not defined的错误
I see there is no special setting for this in python.c. Can not be done :/