Comments (10)
Uhm... estimated time? 3 years have passed and this should have top priority IMHO
Microsoft still doesn't support this scenario.
from notepads.
I do agree it is better to support large files but considering the work that I need to at this moment, I have to put it into my backlog for now. I would say, give me sometime and I will get back to this.
My plan on this would be:
Plan A:
-
Phase 1: For large files, Notepads read first 1MB or so and render that part in read-only mode.
-
Phase 2: For large files that opened with Notepads, Notepads use another implementation of the text editor control (potentially Monaco Editor: https://microsoft.github.io/monaco-editor/). So it should have the same performance for small files but can open/edit large files.
-
Phase 3: Check WinUI 3.0 status to see if any solution can be found to tackle this issue natively.
Plan B:
- Implement pagination myself.
Plan C (Highly unlikely):
- Implement my own eidt box using Win2D.
Sounds good?
More to read:
CommunityToolkit/WindowsCommunityToolkit#2858
microsoft/microsoft-ui-xaml#108
from notepads.
Maybe this is naive, but is it possible to (relatively) simply implement pagination by moving forward and backward through a FileStream in correlation to the scroll position?
edit: I just saw your reference to #6, which helps me understand why it's not such a simple problem.
from notepads.
@x3haloed The blocking issue is around ScrollViewer instead of RichEditBox. Actually RichEditBox can work with fairly large file but the ScrollViewer just cannot handle the size of the rendering. Believe it or not, if you set Font size to be 1-2, you can actually paste whole more content into Notepads.
from notepads.
There is an issue in the WinUI repository for this microsoft/microsoft-ui-xaml#1842.
from notepads.
F ... I love this app but ... srsly this nneed to be solved, 3 yrs passed!
from notepads.
you might want to take a look at this microsoft/microsoft-ui-xaml#1842 (comment) https://github.com/WelterDevelopment/CodeEditorContol-WinUI
from notepads.
Uhm... estimated time? 3 years have passed and this should have top priority IMHO
from notepads.
Great. Finally a really beautiful, dark mode supporting (basically perfect) notepad for Win 10. But with this 1 MB file size limitation, it's simply not usable. Unfortunately had to remove Notepads again because of this, too bad.
from notepads.
I upgraded to Win 11 and use the native editor (Notepad) again (my primary use-case for Notepads was the dark mode which the native one provides too on Win 11). Upgrade took me less then 3 years. Goodbye.
from notepads.
Related Issues (20)
- [Bug] Position of the scroll bar
- [Feature request] More personalization options in settings
- [Bug] HOT 1
- Be able to drag and drop a file into the editor to open it
- [Feature request] : - Calling NotePads from the comandline
- [Bug] Copy and past not working.... tried everything HOT 1
- [Bug] It doesn't move towards the words found. HOT 2
- is the developer(0x7c13) alive? HOT 2
- [Feature request] Option to enable preview by default HOT 1
- [Bug] Not every file type can be opened in Notepads.
- RTL Markdown Preview
- [Feature request] Full Pane Preview
- [Feature request]希望和ANSI有关的编码有ANSI的字样。 HOT 2
- [Feature request]希望可以在txt格式下支持md格式的右键菜单。
- [Feature request]内置所有快捷键的查看和自定义。
- [Question&Feature]更新方式的疑问、自动检查更新后手动更新的需求 HOT 1
- [Feature request]打开空txt是否可以当做默认写入而非默认读取(或者默认utf-8)? HOT 3
- [Bug] Why is there always an additional character?
- [Bug] Can't edit and save files inside a compressed file HOT 2
- Seemingly Unable to Launch from Hidden Directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepads.