0x7c13 / notepads Goto Github PK
View Code? Open in Web Editor NEWA modern, lightweight text editor with a minimalist design.
Home Page: https://www.NotepadsApp.com
License: MIT License
A modern, lightweight text editor with a minimalist design.
Home Page: https://www.NotepadsApp.com
License: MIT License
Is your feature request related to a problem?
I'd like to turn on and turn off word wrapping for a current document via a hotkey (e.g., "Alt+Z" in Visual Studio Code).
Describe the solution you'd like
Add a hotkey for existing feature "Word Wrap".
Is your feature request related to a problem? Please describe.
When you're about to close the editor and made some changes in the file. The editor will ask you if you want discard these changes. I think it might be confusing as usually are application asking you if you want to save the changes.
Describe the solution you'd like
Thus I propose, it would be much better if there would be a question to save and close instead of discard and close.
What title says.
Expected behavior is to save scroll position after window resizing.
OS: Windows 10 1809 17763.557
Version: v0.9.4.0
So, this is technically speaking not a bug, but I'm going to classify it as such anyway.
When you Copy text form Notepads you grab formatting too.
Specifically text color.
The issue is in this case that if you use Dark Theme you'll have white text, so if you copy paste something into Word or Outlook or any other app that supports text coloring you'll get white-on-white, and that is unreadable.
You can of course change back manually, or paste without formatting, but it's an extra step.
Suggested solution would be to treat the default text color when writing in the Notepads app as black (or unformatted) for copy+paste purposes, and let manually set colors remain.
And possibly add a setting for different copy+paste settings in the app.
Probably related to my system version which is Windows 10 1809 17763.557.
Changed the encoding to UTF-16 BE and LE, without any success.
Not able to write characters such ą, ę, ć, ś, ż, ź or ó (ALT+o opens the document).
Hello Jason,
I liked the text editor. Thanks for that. Would like to use it permanently, but he does not accept the umlauts (ä, ö, ü, ß) for existing (old) text documents. Text documents created with notepads (New) are displayed correctly when reopened.
Would be nice if you could find a solution there.
Greetings Zig
Expected behavior
Ctrl+Numpad-0 should work as well
In sentence, order of the words are vary with each languages.
If the resource have some of word order, best practice is using the format string like as "Ln {0} Col {1}".
I've noticed that 2 cases.
Screencapture - The black is a Notepads. The white one is a Notepad.exe, in Japanese. You can see "2行 4列".
Is your feature request related to a problem? Please describe.
When a file has been modified with another editor (or a program output), reload the text editor. It is very useful for log files.
Describe the solution you'd like
Add real time text editor refresh.
Describe alternatives you've considered
Add a prompt to reload the text editor as soon as it has been modified (Reload: Yes/No).
Describe the bug
Notepads doesn't save files inside my Dropbox folder. It opens and displays the content just fine, but pressing Save or CTRL+S doesn't remove the modified file icon, and the content isn't written to disk.
Save as actually creates the file, but it ends up empty.
To Reproduce
Not exactly tested. I have another laptop I'd love to test on but the Win 10 version is too old to install Notepads.
Expected behavior
The file should be saved. Neither Notepad, nor VS Code have trouble saving files in the same location.
Desktop
Describe the bug
Tried to Ctrl + C copy some text from Notepads in dark mode and Ctrl + V pasted to Outlook email editor and the text ended up in white color.
To Reproduce
See above description.
Expected behavior
The text color was expected to be the default color (e.g. black) in the target editor.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
When you use 'Find' it selects the text that matches.
When you use 'Replace' it seems to start from the end of the currently selected text.
But it does not allow to use search to quicly find the exact place you were looking for and then just press replace, since it will try to find the next match to replace.
Notepad replaces the currently selected text.
When you try to search in text, once it finds the first occurrence, it switches focus to the editor.
To reproduce the issue you need to just try to find some text, hit Enter to find the first occurrence, then hit Enter again, and then it will "replace" the found selected text with next line.
The expected behavior is try to search some text, hit Enter to find first occurrence, hit Enter again to find the next occurrence and so on with highlighting text in the editor with selection but without switching the focus to the editor. Once searching reaches the last element, it could either stop searching and notify that it reached the end, or cycle searching and start from the beginning. I am behind the 2nd way where it cycles searching.
OS: Windows 10 1809 17763.557
Version: v0.9.4.0
Hey guys,
I am creating this thread to keep track of translators, so people know who is working on what language and for me to keep an record so I can give you guys credits. Whenever I add/update text in Notepads, I will notify you for the updates.
Click here for more info.
Example:
Language: [zh-CN][Simplified Chinese]
Preferred contributor name: Jackie Liu (You can use your Github name as well)
PR Link: <...>
Tabs are great, but I think multiple windows/instances should still be a possibility.
This would work with a "New Window" button in the main menu, ctrl+N (ctrl+T for tab), as well as shift-click on the taskbar icon; that's default behaviour.
I'm looking at the Multi-Instance App Project Templates.VSIX
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/multi-instance-uwp
By default, the "accent color" toggle says "Use my Windows accent color" and is in the "off" position. That suggests the app is not using the system accent color, but it also does not allow the user to create a custom color, which is confusing.
When the toggle is moved to the "on" position, it then reads "Use a custom accent color," which makes sense but is inconsistent with user expectations for the behavior of a toggle in Windows apps.
A clearer alternative would be to just have the toggle always read "Use my Windows accent color" and simply have it be "on" by default.
When the user switches the accent color option to the "Use my Windows accent color," the app changes the color picker value to the Windows accent color. But when the user switches the toggle back to a custom color, the app does not restore the custom color they had selected.
Saving / restoring the value of the custom color would allow the user to, for example, compare how a custom color looks vs. the Windows accent color.
as per title
i have tried to save a file without extension but it saved with .txt extension
Hello.
When I set region to Persian (Iran), Everything in the app is set RTL even English files. Is it possible to make it optional?
It's a little bit hard to read english files in RTL mode.
Thanks
Notepads exits without even showing a warning option whether to save or not. This may lead to losing important data
as per title
when closing/saving the file
for example:
Y for Yes
N for No
C for Cancel
I find it weird that the negative option (right one) causes Notepads to cancel the exit request while in Windows' Notepad it's the one you choose to exit and discard.
I don't know if this was intentional or not, I've just been using this app for a week or so, but I find it mechanically awkward (luckily enough, it hasn't resulted in any data loss in either app, yet).
Describe the bug
Windows notepad uses Ctrl+Shift+S
for "Save As" action. While Notepads uses Ctrl+Alt+S
. This is strange for me.
To Reproduce
Open an editor and check main menu.
Expected behavior
Click Ctrl+Shift+S
to open "Save As" dialog.
Screenshots
Default Windows notepad:
Desktop (please complete the following information):
Additional context
Also, other editors (including vscode, jetbrains IDEs) also use Ctrl+Shift+S
for "Save As" action.
It would be good if syntax highlighting was supported.
My current go-to notepad replacement is http://www.flos-freeware.ch/notepad2.html which is blazingly fast, has syntax highlighting, but is not maintained anymore.
It would be nice if Notepads had a context menu entry like Open with Notepads (like VSCode or Notepad++).
This would allow us to easily open files with "unsupported" file extensions (e.g no file extension at all) as right now, Notepads does not appear in the Open with... dialog nor does it have an Open with Notepads context menu entry.
as per title
Description
Speed when selecting text via mouse selection when a window is scrolling is depending on mouse movement
To Reproduce
Open a large text file, enough lines to populate at least 10x the height of your window.
Expected behavior
Use click and drag to select text beyond the "visible" scope.
Desktop (please complete the following information):
If I type "TEST" into Notepads and try to do a find and replace of "test" with "testing" with Match-Case disabled, it will fail if I hit the "replace" button.
However, it will succeed if I hit "Replace All"
If you edit an existing file then it displays the unsaved icon in a tab. But if you undo changes to the original state of the file then the unsaved icon is still displayed.
My first attempt to open a file failed and the error shown reports that the app does not support a file greater than 1MB.
IMO This is an 'essential' feature for a notepad alternative.
Keep up the good work though. Thanks.
Today I had a problem where I edited a config file of an application but after saving, that application failed to load the config file. After some investigation it turns out the problem was with encoding.
Originally the config file was in UTF-8 encoding but after editing it with Notepads it saved it in UTF-8-BOM.
It would be nice if Notepads would not change the encoding of an existing file.
Repro:
Expected:
Opening the same file multiple times should redirect to the same instance in the app.
Opening a text file and then using Ctrl + Z erases all the content inside and can't be recovered unless you exit without saving.
Editing is such operations as Copy, Paste, Undo, Redo, Delete, Cut etc.
Editing with touch/pen input and/or software keyboard is hard, because all those options are only available either through context menu or through shortcuts.
I'd like to see Editing options accessible for touch/pen or similar input as always visible options.
I'd suggest using Command Bar for this: https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/app-bars
Additionally that feature could be optional or even better automatically detect the input type and switch context.
Describe the bug
Saving a new document in LF the opening the same document back up will open it in CRLF and not the intended LF.
To Reproduce
Open Notepads
Select Unix LF
Type some example out...
Save
Open the newly saved document, in bottom right it'll read CRLF.
Expected behavior
Documents using a specific line ending format to be saved. If I save LF it should open in LF, if I save in CRLF it should open in CRLF.
Desktop (please complete the following information):
Autosaving and restoring unsaved text (even if not it's not in a file yet) would be great.
This would be a nice improvement over Notepad where the app is used as a scratchpad for text that is temporary (and thus not saved to a file) but would still be good not to lose.
Please add highlight current line. Maybe some grey color of the line.
Hi, just downloaded the app and I loved it. Here are some suggestions and issues I had while using it:
Issues:
Word Wrapping not retaining: If the user select the option it will only be active on that file, so you need to select the option again if you open another.
Word Wrapping is working differently compared to notepad on .ini: When you use word wrapping on .ini files, everything after the "=" is pushed to another line instead of only pushing the last character.
Here is when I change the "=" to an s
Suggestions:
Allow me to choose the color of the active tab and the color of the floppy disk.
Allow me to change the default font and its color.
Allow me to change the background transparency opacity.
Support for .ini, .cfg, .log
Overall great work on the app,I'm very pleased with it, very fast and simple like it should be imho
I tried the program, and one of the first issues I found was that when there are many long lines, the program becomes very sluggish and slow.
After copying and pasting the same text for a while, a part of the text suddenly disappears. It seems like a rendering issue.
Typing # or @ doesn't work on my Azerty keyboard since you need to use the Alt Gr key to type those characters. (https://images.app.goo.gl/KNSX2AvUCjpGCAwKA => layout of Azerty keyboard)
Describe the bug
When we close a tab with unsaved content it pops up the save dialog. If we chose to save the file it does not close the tab afterwards.
To Reproduce
Open notepads.
Type some text.
Press the "X" on tab.
Save the file.
Notepads is still open with the file.
Expected behavior
It should close the tab if the save was successful.
Sometimes user type in something and then they change their mind, they delete everything (the text), but when they wanna close the app, they still got the prompt when there's nothing actually to be saved
I really don't think it should modify existing files in such a way.
The problem is that this runs on file open:
https://github.com/JasonStein/Notepads/blob/49b56d68bcce79d844f0d8cddb9c6ad11a609717/src/Notepads/Controls/TextEditor/TextEditor.cs#L115-L121
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.