Giter VIP home page Giter VIP logo

notepads's People

Contributors

0x7c13 avatar amionsky avatar chenghanzou avatar daxxxis avatar dazou avatar dependabot-preview[bot] avatar dependabot[bot] avatar fjdufou avatar frousselet avatar gmaza avatar guari avatar imgbot[bot] avatar janrajnoha avatar joseppinilla avatar kristofkekesi avatar krlvm avatar lindexi avatar mah-qurashy avatar mairwunnx avatar milotype avatar pinholucas avatar pnp0a03 avatar sergio0694 avatar soumyamahunt avatar tarik02 avatar tdh8316 avatar united600 avatar validatedev avatar walterwolf49 avatar xamdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notepads's Issues

[Feature request] Add a hotkey for "Word Wrap"

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".

[Feature request] Ask to save instead of discard changes

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.

[Bug] Copy Paste Formatting

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.

Doesn't work with Polish characters

Changed the encoding to UTF-16 BE and LE, without any success.
Not able to write characters such ą, ę, ć, ś, ż, ź or ó (ALT+o opens the document).

Presentation of the umlauts

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.

Test

Would be nice if you could find a solution there.

Greetings Zig

[Feature request] Use format string for the resource that have word order

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.

  1. "Ln Col" at the status bar. In English, the order is "Ln 2" but some language is "2 行", etc.

Screencapture - The black is a Notepads. The white one is a Notepad.exe, in Japanese. You can see "2行 4列".
image

  1. FileOpenErrorDialog and FileSaveErrorDialog: It contain the sentence that was divided to the part1 and part2. This order vary with languages. If the resource is defined as "File {0} couldn't be saved.", translators can modify it to suitable for the languages.

[Feature request] Settings localization

Is your feature request related to a problem? Please describe.
Localization in settings is missing.

Describe the solution you'd like
Translate settings as it is done with other parts of application.

Additional context
image

[Feature request] Reload editor when file has been modified elsewhere

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).

[Bug] Can't save file in Dropbox folder

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.

  1. Install Dropbox (possibly on a non-system drive)
  2. Create empty text file
  3. Open with Notepads
  4. Save
  5. File is not saved

Expected behavior
The file should be saved. Neither Notepad, nor VS Code have trouble saving files in the same location.

Desktop

  • Windows 10 Pro 1903 (Version 10.0.18362)
  • Notepads v0.9.4.0

[Bug] Copying text from dark mode to clipboard marks the font color as white

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):

  • OS: Windows 10 1903
  • Version v0.9.5.0

Additional context
Add any other context about the problem here.

[Bug] Replace starts from the end of the currently selected text

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.

[Bug] Searching stops on the first occurrence

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

[Internationalization and localization] Contributors megathread

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: <...>

Accent Color toggle text inconsistent

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.

Custom accent color lost when toggle switched

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.

Problems with cyrillic

I like your work very much. Please teach her how to work with Russian characters. Thank!

image

[Feature request] Make the Exit dialog more consistent with Notepad's.

image

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).

[Bug] "Save As" action hotkey

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:
image

VS Code:
image

Notepads:
image

Desktop (please complete the following information):

  • OS: Windows 10 1903 18362.116
  • Version: d160ad

Additional context
Also, other editors (including vscode, jetbrains IDEs) also use Ctrl+Shift+S for "Save As" action.

[Feature request] "Open with" context menu entry

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.

[Bug] Scrolling speed when selecting is dependent on mouse movement

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.

notepadsscrollingbug

Desktop (please complete the following information):

  • OS: 1809 17763.557
  • Version v0.9.3.0

Find and replace with mismatched case doesn't work

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"

Needs to support large files (>1MB)

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.

Respect exact file encoding

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.

Opening same file multiple times creating multiple tab instances in the app

Repro:

  1. Open any text file using the app.
  2. Repeat the step-1 for multiple times.
  3. Add some different text/data in each tab instance.
  4. Save each instance.
  5. Close all instances, and open the file afresh.
  6. Hurray, you find only last saved data. Other savings have gone :(

Expected:
Opening the same file multiple times should redirect to the same instance in the app.

[Feature request] Make editing options more accessible

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.

[Bug] Saving LF on Windows converts to CRLF.

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):

  • OS: Windows 10 1809 17763.557
  • Version v0.9.4.0

[Feature Request] Autosave + restore unsaved text

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.

Issues and Suggestions

Hi, just downloaded the app and I loved it. Here are some suggestions and issues I had while using it:

Issues:

  1. 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.

  2. 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.
    ini
    Here is when I change the "=" to an s
    ini2

Suggestions:

  1. Allow me to choose the color of the active tab and the color of the floppy disk.
    color

  2. Allow me to change the default font and its color.

  3. Allow me to change the background transparency opacity.

  4. 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

Poor performance when handling long lines

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.

[Bug] Tab does not close if the user was asked to save the file

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.