Chanyon

Results 8 issues of Chanyon

**Describe the bug** When I use Chinese font, the font size is displayed inconsistently.Whether to consider adding a custom font setting feature. **Screenshots** ![appflowybug](https://user-images.githubusercontent.com/40350332/184526697-26b1ef02-6ed0-4778-a2b5-fed5bf5f517e.PNG) **Desktop (please complete the following information):**...

improvements
2025

``` string S = "abcdefx"; string T = "def"; int myIndex(string S,string T,int pos) { int i = pos; int j = 0; byte[] s = toByteArray(S); byte[] t =...

enhancement

```zig // The naturelang code is a modified version of the original Odin code from // https://github.com/odin-lang/Odin/blob/m_aster/core/unicode/utf8/utf8.odin // 0000_0000 0000_0000 0000_0000 0000_0000 var RUNE_ERROR = 0xefbfbd as u32 var RUNE_SELF...

bug

example: ``` arr a = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ] // 允许最后一个`,`存在 ```

- 其中的 builtin_temp.n 进行了全局 import, 所以不需要进行 import 也可以访问其中的符号,入 errort/println/print 等都定义在该 temp 中 - 这里有几个特殊的地方,首先为什么我们不需要通过 libc_temp.sleep() 的方式访问 sleep 呢?在 c 语言中其实没有作用域的概念,所有的符号都是全局符号,所以继承到 anture ->nature 中 (https://nature-lang.org/zh-Hans/docs/digging-deeper/temp)

documentation

## vscode syntax highlight plugin github: https://github.com/Chanyon/vscode-nature (参考vscode-vlang) ![image](https://github.com/nature-lang/nature/assets/40350332/51aa2c08-ed09-4e61-b5fb-5c0fa32d6011)

### TODO - [x] add setting page (#16) - [ ] 完善`模式二`翻译逻辑 - [x] local save key (key.json) (https://github.com/fzdwx/popup-translation/commit/c2b7e3e6fc33a613fdee80d88a7116f8a6fc501a) - [x] get local key (https://github.com/fzdwx/popup-translation/commit/c2b7e3e6fc33a613fdee80d88a7116f8a6fc501a) - [x] 组件优化 (#18) -...

enhancement
good first issue

编译步骤类似xmake.lua 1)编译 lib/ 目录下每个子lib 得到(static libary) 2)编译LCUI得到最终的静态库(依赖子库顺序与xmake.lua一致) 3)编译example/hello demo `C:\Users\dcyno\.zig\0.12.0\zig.exe build-exe D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\examples\hello\src/main.c -llcui -ODebug -I D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\include -L D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\zig-out\lib -Mroot -lc` --- build.zig 代码: ![屏幕截图 2024-05-26 235001](https://github.com/lc-soft/LCUI/assets/40350332/5261d9c9-d9a0-4893-940b-510eda288278) 4)报错: ![image](https://github.com/lc-soft/LCUI/assets/40350332/2857b756-f434-4e3e-95b0-752b8dd2fdfd) --- **请问一下这个`error:...