For what it's worth, there's also a terminal emulator with similar goals (GPU acceleration included): https://github.com/jwilm/alacritty
(¶) Then again, drawing the text is rarely the bottleneck of a text editor (as the sibling post's author correctly points out). It's usually the data structure to represent the text internally and syntax highlighting that have the greatest influence. (Advanced IDE features like syntax checks, linter and indexing aside.)
DirectWrite rasterises glyphs on the GPU when used with Direct2D. GPU path rasterisation was Direct2D's killer feature when it was initially released with Windows 7.
For me, a large file is bigger than available RAM.
You only flatten the string when it's time to write to disk.
For autosave files make sure to store the changes to the rope, not the full text.
OpenGL is not used on Linux or Windows. Jon explained to me that Sublime Text 1.x (Windows only) was OpenGL, but he ran into so many bugs related to poor drivers that he backed away from OpenGL for ST2 and 3.
:nmap + :let &guifont=substitute(&guifont, '\d\+$', '\=submatch(0) + 1', '')<cr>
:nmap - :let &guifont=substitute(&guifont, '\d\+$', '\=submatch(0) - 1', '')<cr>
:nmap _ -
EDIT: By the way, what are you doing that requires handling text files with thousands of columns and gigabytes of text? That sounds very unusual.
However, it's surprising to see people want more rendering speed on their text editors, especially to the point that it would excite them. It's something I've never considered them lacking for their purpose. However, that's probably because I've (nearly) never had the need to handle text files with such characteristics (I usually use it for code and configuration files; none get even close to 1MB), and so to me the text editor is among the fastest, lightest programs I typically run.
rch mentioned scientific data. I guess it's a valid point that there are people working with huge datasets in a practical text file format, and if there are people that can work with huge images or videos on their editors, then why can't text editors do the same.
Edit: Benchmarks appear to back this up: https://github.com/jhallen/joes-sandbox/tree/master/editor-p...
I'm not sure if that's more due to a "don't fix what isn't broke" attitude, that Microsoft is obsessed with features rather than fixing things, or simply the sheer size of Windows.
At some point management had the inclination to essentially wipe the board and start over, and they did that by effectively overlaying a new interface on an old OS. No matter how much of a Msoft fanboy you are, the "some settings are in metro and others are in 7" thing has been clunky and dumb since Vista. They've fixed very little of that.
Since they are redesigning Notepad it seems like they are taking on these legacy things piece by piece.
<trys> [WinKey] "con" [Enter]
Nope, still just as easy.
If I do it too quickly, it can't find the update control panel and I end up with an Edge window searching Bing for "Windows update"
Windows 10's 'Settings > System > About > System Info > Change Settings'.
Is Windows Vista's 'Control Panel > System > Change Settings'.
Is Windows 98's 'Control Panel > System'.
The dialog in 3.1: http://notebooks.wpengine.netdna-cdn.com/wp-content/uploads/...
Backwards compatibility doesn’t only apply to APIs.
The addition of the Linux console pushed it over the edge for me in terms of which OS I boot by default when I boot my laptop.
It's really hard to fix old broken things when mission critical applications rely on them being broken. But relatively easy to add new features without breaking changes.
That's what the world waited for... I am curious about the politics involved in the prioritization of this feature...
So gotta put that bing touch points everywhere.
Deciding whether a line-end terminated when reading from a network is kinda hard...
I think the ship on built in apps has sailed. Everybody expects to open a web browser or app store to get anything of any use now. Heck, they even stuck ads in Minesweeper.
It made more sense when downloading software was slow or you might not even have an internet connection. I'm sure many Mac owners enjoyed playing Chess before going out and buying some software.
It is a bit overblown for editing your /etc/hosts file and a bit underweight as an IDE.
People get stuck using Notepad++ and never give themselves the opportunity to invest that time in a tool that best suits development. This could be a grown up IDE, vi(m) or Wordpress's admin editor.
Being lightweight is all well and good if you have a 486/DX33 running Windows 3.11 but most computers have Pentium chips inside them now.
One thing that will probably remain just as useless with Windows Notepad 2018 is use case number one - editing your /etc/hosts file. What else is Notepad really for?
In the rebooted edition of the classic text editor they will still make /etc/hosts only save if you are an administrator, or 'root' user as it is on more conventional operating systems. This is fine and good for security but it does not let you just type in the 'admin' password after you have opened the file and made your changes. With Vista they got the UAC mostly right but not for Notepad and /etc/hosts.
They also hide the /etc/hosts file in some subdirectory that only a young person could possibly remember the file path for. It is not in the conventional place that is expected. c:\wwindows\system32 is as far as I can remember. Then, when you have found the magic folder, it requires a change of the file type in the file dialog window before you can see it, and that is presuming you have file extensions enabled. There is a confusing hosts.isam file in the same folder. Who knows how you explain to your grandma over the phone how to add some IP address to her hosts file so she can see your development site.
Really the line endings problem should have been fixed a long time ago, actually with Windows 95 as it was apparent even that far back that users might want to open files created on systems that were not 'Wintel' (as it was known then as everything else used different processors).
With Windows 2000 - no winsock.dll needed - they should have made efforts to make /etc/hosts editable that bit more easily. That would have sorted out 90% of real world use of Notepad.
Unix philosophy should apply to Notepad - do just one thing - and the Windows Write product should have been where to go for fancy line numbers and such like. That could have made a neat and basic Notepad++ style product with a print view and raw text mode like what early versions of Word had.
If you map Notepad, Vim, Emacs, and heavyweight IDE's on a spectrum, I use Notepad++ as a replacement for Notepad and the simpler half of Vim/Emacs, and I use VSCode for the heavier half of Vim/Emacs and typical web dev, and I use heavyweight IDE's for heavyweight dev work (C#/Java/C++ mostly).
> Who knows how you explain to your grandma over the phone how to add some IP address to her hosts file so she can see your development site.
These days with how easy it is to load a container into a publicly accessible site, I feel like that's a solved problem in most cases?
If I need anything more then I'll use VS Code, but for single file viewing and editing it's perfect for me.
If you need your gradma to edit her host file, you are doing something wrong.
Get a $3.99 domain during development, and point it to the IP you need. Problem solved.
The #1 useful feature is just multiple tabs. Sure, syntax highlighting is also great for reading files and simple edits, but need not be part of windows.
Everytime you read about some sysadmin person that still uses plain old vi because "it's everywhere" or who actually prefers more unreadable syntax in shell scripts because the nice(r) alternative wouldn't be POSIX compliant, it's basically the same effect. Except that on Windows, you're usually screwed, because there's absolutely no useful tool that does the job you want and ships with the OS (as opposed to some no-pixie-dust tool that's been around for decades and has a bit of a steeper learning curve).
I realize this isn't ideal...ever...but sometimes the needs of our department--our immediate needs--didn't align with the time require to navigate the massive corporate and IT bureaucracy.
I battle this every day. Our systems are so locked down for "security" that we in R&D can't do our job without hacking around IT. Thank God they are not very good so there are plenty of loopholes for circumventing the "security" measures.
you either pay a monthly subscription or you get ads
I use Notepad many times a day, frequently on end-user machines as a quicky binary file viewer.
Enter shell:sendto in the address bar or run dialog, then add a new shortcut in there for Notepad. Then right-click a mysterious misbehaving file (like a PDF with a DOCX extension) and Send To, Notepad.
Today though I was doing a bunch of RegEdit work with several remote registries and was really wishing for a multi-tab Registry editor. Hope that app gets an update some day.
For some reason I just like having something different open for that "scratch data" that also is visibly differentiated in my taskbar.
then I run M-x doctor to talk about it because I'm conflicted
But it really stinks they still don't have a basic "auto-recover" connected to it. When your computer crashes or loses power, an unsaved notepad will NOT be recovered like a Windows document, or Sublime, or Notepad++ file would.
That's great I suppose, for people who will use it. My bet is that this is the biggest driver of the update to notepad.
If you want to talk about them adding a bunch of user tracking features to it, you may have a proper complaint.
I really don’t know how windows works. Their cmd can’t still resize fluently like the Mac one does.
I can see Mac was the OS liked by devs. Somethings are really well done. It’s the small things that matter some times.
Is there any possible reason in 2018 to keep CRLFs? Even bat files work with LFs
#1 feature right there.
I imagine the latter would have pretty strict backwards compatibility requirements.
I'm sure that will now change with the latest updates. I mean why shouldn't a basic text editor send user data to the internet.