Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] #378

Open
Jzh1004 opened this issue Mar 22, 2020 · 2 comments
Open

[Feature request] #378

Jzh1004 opened this issue Mar 22, 2020 · 2 comments

Comments

@Jzh1004
Copy link

Jzh1004 commented Mar 22, 2020

希望可以尽快支持10MB以内的文件大小,否则使用范围太局限了,谢谢开发者

@0x7c13
Copy link
Owner

0x7c13 commented Mar 22, 2020

什么时候微软把下面两个问题解决,什么时候就能支持:
microsoft/microsoft-ui-xaml#108
microsoft/microsoft-ui-xaml#1842

@centixkadon
Copy link

centixkadon commented Jul 4, 2020

额,看了一下,这些链接应该是希望微软开发支持大文本量且能顺畅使用的控件。但是微软应该没有哪个控件能直接放大量文本的,不然自带的记事本也可以打开大文件了。直接支持大量文本要求把这些文本直接读到内存并渲染好,个人觉得不太现实,除非微软做一个和文件名/文件节点直接联系的控件(提供哪些接口也是问题,感觉不太现实)。目前要想打开大文件只能用别的方法解决,比如分块。

举一个简单的例子,先遍历文本建立索引,然后只加载当前页面下能显示的文本(打开大文件的情况下可以考虑关闭自动换行的功能,以 行 为单位,毕竟能打开就不错了)。就是我没有 uwp 开发经验,不知道微软对这些操作有没有什么限制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants