GithubHelp home page GithubHelp logo

rizonesoft / notepad3 Goto Github PK

View Code? Open in Web Editor NEW
4.8K 64.0 323.0 201.42 MB

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:

Home Page: https://www.rizonesoft.com/downloads/notepad3/

License: Other

C 39.42% HTML 11.15% Batchfile 0.37% Inno Setup 1.04% JavaScript 0.04% C++ 44.28% Python 2.04% Java 0.16% Shell 0.15% Smarty 0.02% NSIS 0.18% PowerShell 0.07% AutoHotkey 0.13% CMake 0.10% Makefile 0.56% Roff 0.01% Rust 0.03% Assembly 0.01% AutoIt 0.24% Awk 0.01%
syntax-highlighting

notepad3's People

Contributors

alexantr avatar dependabot[bot] avatar dzikrl avatar ezforever avatar fcgouveia avatar hpwamr avatar hugepants avatar igorruckert avatar imba-tjd avatar jczanfona avatar jmacasd avatar lhmouse avatar ltguillaume avatar maboroshin avatar marogo2310 avatar matteo-nigro avatar melchiorgaspar avatar pachicodes avatar raffaelebianc0 avatar raikohoff avatar rizonesoft avatar squallatf avatar stdedos avatar stephan-p avatar venusgirl avatar war59312 avatar xsak avatar yanghuanglin avatar yfdyh000 avatar zoziha 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

notepad3's Issues

File "bModified" flag is not updated in every case

Found, that the "file modified" flag is not set correct in every case
and so the toolbar's "Save File Button" is not activated correctly
(and title-bar indicator '*'),
for example: mark line and cut (Ctrl-X).

The file can be save, pressing Ctrl+S anyway,
then the file modified toggle seems to work again ...

Conversion of encoding is broken in 2.17.923.505?

First, Notepad3 always saves a file in UTF-8, no matter what encoding is active (File -> Encoding) or what the default encoding is (File -> Encoding -> Set Default). Most Chinese characters take up 3 bytes in UTF-8 but 2 in GB18030 so that can be observed in the screenshot following:
erroneous-encoding

Second, Notepad3 also opens any file using UTF-8, despite the actual encoding of that file. This makes non-UTF-8 files gibberish, and more obscurely, Notepad3 refuses to reload the file in the correct encoding: No option in File -> Encoding does actually reload the file.

The attached text file contains two Chinese characters, '测试' which means 'test', in GB18030 encoding. This file is unreadable by Notepad3.
test.txt
gibberish

Replacer for Notepad

I'm considering dropping the special Notepad replacer setup build and creating a external utility in AutoIt to replace Notepad using various methods. The issue is, because of the method the setup file is using to replace Notepad, it is seen as Malware by many security scanners. Any idees?

RegExpr Search: "Find previous" is broken.

Consider Text:
03 03 04 05 06 07 08 09
03 03 04 05 06 07 08 09
03 03 04 05 06 07 08 09
03 03 04 05 06 07 08 09
03 03 04 05 06 07 08 09
Search (RegExpr) for "(\d\d)\s\1"

  • meaning: group(()): 2-digits(\d\d), space(\s), same-2-digits (\1)=(1st group) )
    "Find next" is OK ("03 03"...)
    "Find previous" does not (reason "find right-to-left" interpretation of search pattern is used),
    so "\1\s(\d\d)" will work for "Find previous" - but this is not intended.

PR #82 will fix this.

Choose a new Notepad3 Icon.

Hi all. It is time we upgrade the Notepad3 icon. However, I'm having a hard time picking between the following icons. Please choose your favorite. Simply reply with Icon 1, Icon 2, Icon 3 or Icon 4. Thank you for your support.

Notepad3 Icon 1!
notepad3_icon_1

Notepad3 Icon 2!
notepad3_icon_2

Notepad3 Icon 3!
notepad3_icon_3

Notepad3 Icon 4!
notepad3_icon_4

Build 453 & 468: dirty/unsaved file indicator buggy

Build 468... With a newly saved file (e.g. 'Ctrl-S'), the following operations make the "Save" toolbar icon come alive, but the dirty/unsaved asterisk indicator in the title bar does not appear:

  • Clear ('Del', Edit -> Clear)
  • Cut ('Ctrl-X', Edit -> Cut, 'Cut' toolbar icon)
  • Paste ('Ctrl-V', Edit -> Paste, 'Paste' toolbar icon)

The same happened with build 453, with the exception of the Paste command which updated the dirty file indicator correctly. (i.e. the behaviour has regressed with build 468.)

Happily, the software still recognises that the file is indeed dirty, as evidenced when you close said file and Notepad3 displays the save prompt.

I believe that the correct behaviour should be:

Whenever the file is dirty (unsaved):

  • The 'Save' toolbar icon should be coloured
  • The Dirty File asterisk should be present

Whenever the file is clean (saved):

  • The 'Save' toolbar icon should be grey
  • The Dirty File asterisk should be absent

Test environment: Windows 10 Enterprise 1607 x64, Notepad3 x64 builds 453 and 468.

[FEATURE Request] adding 'print file' cmdline flag like the original notepad?

since '/p' is laready taken as set window position...

I would like to recommend/suggest changes as follows..

re-flag "set window position"
from = /p
to = /wp ie w= window p=position
or /w

and use /p for printing the file just like in the original notepad...
that way I can replace the file type associations for that function too! :D :D

please..

GCC

Please add capability to compile with GCC, thank you.

Toolbar icons are HUGE on standard resolution (non hi-res) displays

It appears that in an effort to fix #4 (toolbar is micro-sized on hi-res displays), you may have made the high-resolution icons the only option. As a result of this, some toolbar icons do not get displayed when the window is not maximised.

I have not got any figures but I believe that users with non-high resolution displays outnumber those who use such. It is therefore my suggestion that you detect the user's DPI settings when the program is ran using the GetDpiForMonitor function and then set the toolbar icon size accordingly.
Alternatively, you can include an option in the settings menu to allow users to manually choose whether to display high-resolution toolbar icons or not.

on downloadpage /silent install swiches ?

Hi,

could you add on downloadpage /silent install swiches ?
because to have a possible for add in the installation
and automatic replace the "ms-notepad"

best regards
blacky

Can't type czech characters

I can't type or copy paste some czech letters for example č ě or ů when encoding is set to default ANSI (1250). It was working in notepad2-mod or notepad. Also it works if i change encoding to something else.

Cannot use the Run/Execute Button on existing files

Autohotkey files are executable - when I double-click on them, they are executed by Autohotkey. Notepad2 used to execute these without any problem.

But for notepad3, half the toolbar is grayed out, in fact. If I open a blank/empty file, all those buttons are ready to push. But when I open any existing file, they are grayed out.

Notepad3 (64-bit) Build 440

screenshot_notepad3_001

FILE status becomes [MODIFIED] when doing CONTROL+A ie to select ALL..

Subject line says it all..

This was the case in version (v2.17.905.491) too
and IS also present in the new BUILD 505 TOO....

also happens if I do it from the menu EDIT --> "Select all"

but IF I use the menu entry EDIT --> "Copy all"
it copies fine without changing the status of the file..

toolbar is micro-sized on hi-res displays

Hi. I'm excited to see updates to the Notepad2 base! I just discovered a problem with my new hi-res laptop display (3200x1800). It is best shown in this screenshot:

http://prnt.sc/b75udg

It's probably easier to fix with a big/small icon check box in the "customize toolbar" dialog, but a smart-fix would be awesome.

Thanks!

2nd Default Scheme selected on install

Something very minor... In a fresh install of Notepad3 build 392, the "2nd Default Scheme" setting is turned on, and I'm wondering if it should be. In upstream versions (notepad2-mod, notepad2), this setting is turned off by default.

Should "2nd Default Scheme" be off by default in notepad3?

Replacer for notepad

Hi,
a suggestion,

a replacer for notepad with notepad3, but not as setup,
maybe more as / with an inf-file and and a exefile
who start to install/use the inf-file and rename the inf-launcher as "setup.exe"
for enhanced users who want see what's going on in the routine.
Or maybe a batch-file were replace the notepad and put the 2 /3 files in the systems.

who backup the orginal notepad.exe, rename the notepad3.exe to notepad.exe and
copy the 2-3 files into the right place in the windows-system (32/wow64)

best regards
Blacky

Notepad3 Community

If you are looking for help with Notepad3, please post your question in the Notepad3 community forum. ( https://www.rizonesoft.com/forums/forum/product-support/notepad3/ ) We will also discuss new releases and specific features there. Please help the Notepad3 community grow. This enable us to keep on improving Notepad3. Thank you for your support and remember, no matter how silly a question seems, we want to hear about it.

Paste from clipboard to ANSI code page: unnecessary switching encoding to UTF-8

Pasting text from (Unicode aware) clipboard to an ANSI code page, the encoding detector seems not to be able to convert the text to Scintilla's multi-byte format, requesting the complete text encoding to be changed to UTF-8 Unicode before pasting.
Saving the file (UTF-8 no BOM) and reload proof, that the file can be reloaded in ANSI - no special Unicode character found. So the conversion should not complain about non ANSI chars ?

Undo of Cut Selection (Ctrl-X) doesn't restore Selection

It is a Scintilla problem
(see Feature Request (dated 2011): https://sourceforge.net/p/scintilla/bugs/1224),
which has been rejected by the maintainers of the Scintilla library.
Reason: Cut is implemented on document-level, Selection is on view-level.
To solve this problem, the level connecting implementation (NP3's source code) has to
solve it. This cannot be easily done, cause NPn's undo/redo stack
completely relies on Scintillas document-level implementation ...
Flo (the developer of original NP2) managed to implement it for NP2 v.5.0.26-beta4,
but the sources are not available ... :-/

I put this just as a reminder resp. documentation or as a challenge for a gentle developer ... ;-)

administrator question

I am using windows10 and when I run notepad (all notepad version) as administrator ,I can't drag file into notepad and open it.
Thanks

Last Saved Location Not Accounting for Windows 10 Invisible Window Border

In Windows 10, there is a new invisible window border 7px wide on three sides (left, bottom and right). This is affecting Notpad3 startup position if the last saved location was against the edges of the desktop causing small gaps as per the screenshot below

Window manager applications, such MaxTo, were the most affected by this and I got the information above from this issue. Any chance a similar change can be implemented in Notepad3?

image

DirectWrite settings and ini file

Settings mismatch seems to have been introduced in this commit:
74ec34d

To get DirectWrite settings you call:
iSciDirectWriteTech = IniSectionGetInt(pIniSection,L"SciDirectWriteTech",-1);
which gets DirectWrite settings from ini file setting called "SciDirectWriteTech"

yet, when you save settings, you call:
IniSectionSetInt(pIniSection, L"SciDrawTechnology",iSciDirectWriteTech);
which deletes the SciDirectWriteTech setting in the ini file and sets a new one, called "SciDrawTechnology"

The end result of all this is that DirectWrite settings are not stored and the variable always ends up being set to -1.

[Feature Request] Increasing the MAX-Length of [Customize Schemes] --> (FileName Extensions) text/string box.

Title says it pretty well...

Can use ALSO increase the size File TYPE extension lists in "Customize Scheme" window..??+

back from NP2, this had a hard coded limit in NP2....
I asked Flo some where in the past few years but he didn't want to.. :( X(
I asked because had added so many extensions to the ini config section
that I ran into that hard wall...

could you double, triple, quadruple that limit?
that is if you haven't already done so...

I tried looking through the code to find where this value is stored.. but...
I am not sure what I'm looking for so...

Shortcut ALT+W broken

The functionality to strip trailing blanks is broken since version 386. Trailing tabs are kept and not removed any longer (which happens in Notepad2 and also earlier versions of Notepad3).

In case this is a feature, is it possible to make that an option? I'd like to get rid of unnecessary tab characters at the end of lines.

Issues solved in notepad2-mod (fork master) but not in NP3

I open this issue, cause i like to track (and merge) possible fixes for notepad2-mod, to fix them in NP3 too.
(Merging directly from notepad2-mod via Git isn't that easy, cause NP3 has a lot of PRs integrated,
which are not merged into notepad2-mod).

New release coming soon.

I would like to apologise about the delay in the new Notepad3 release. My day job is keeping me extremely busy these past weeks. However, I should have some time this weekend to create a new release. Thank you all for your hard work and continued support.

[Feature Request] copy/cut lines with ctrl-c/x when no selection

Being a visual studio & sublime text coder I'm incredibly used to the following behavior

Ctrl+c if no text is selected = copy line

ctrl+x -f no text is selected = cut line

I find these extremely useful !

Is there any chance to add them (at least as an option) to Notepad3 ?

Thx !

[Bug] in "Customize Schemes" screen, Editing & 'OK'ing changes in the file ext. list box causes a revert to DEFAULTS

Hi first off I am excited!! to see some one has ported and TAKEN OVER development of
MY 1st and #1 FAVORITE program Notepad 2!!!!! LOL :D :D :D : D OOh YEAH!!

forgot to add system specs:
CPUz Report: https://valid.x86.fr/97evki

I believe I have come across a bug... so... here it is..

This is the extended list of File Type Extensions I have imported from Notepad 2.. lol ;)
XML File:
"xml; xsml; xsl; rss; svg; xul; xsd; xslt; axl; xaml; rdf; vcproj; kml; cbp; manifest; wsdl; xrc; xspf; layout"

Makefiles:
"mak; make; mk; dc; dsp; msvc; ms; in; am; mingw32; gcc; la; ac"

Configuration Files:
"ini; inf; cfg; properties; oem; sif; url; sed; theme; ins; scf; dat; psr; rdx; rdn; rdb; cht; lily; ucon64rc; development"

plus others..


If I import from NP2's export file, BUT as soon as I click OK it reverts to the defaults set below...

OR IF I edit that string into the ini file DIRECTLY and save it seems to take it just fine..
BUT again if I go and into the

NP3 Defaulted back to the original ext. string sets:
XML File: "xml; xsl; rss; svg; xul; xsd; xslt; axl; rdf; xaml; vcproj"
Config File: "ini; inf; cfg; properties; oem; sif; url; sed; theme"

The configuration ext list was surviving the ok/save but as soon as edited out the "reg" ext. because
your version now has its OWN registry section it foobared my custom list and reverted to these defaults..
to which I added 'key' so it = "reg; key" key is a less used ext used by windows for
the same purpose as .reg

YUP I did a quick edit of the Registry extension list added random letter then removed it,
PRESSED OK and came back to check on it, LO AND BEHOLD the 'key' entry was GONE ie it reset to 'reg' only.....
I manually tried to enter the 'key' string.. and... NOPE it keeps resetting!! lol ;_; X(

so yeah I NP3 needs a bit of work lol, ie. I DISCOVERED A BUG!!!! lol ;) ;p

OOh I just noticed that your notepad3.ini is UNICODE 16bit w/ BOM...
all my files default to either UTF-8 or ANSI...
COULD that be the issue???

another note, I created an exported ini from NP3 after importing from NP2 export...
I edited the NP3 to added back in a few of the missing ext. strings.. and re-imported
back into NP3... my full list for XML showed up BUT as soon as I OK'd.. and went back to check it was back to default again!
lol ;) ;p NO wait a sec... it looked back at default in the editor but I saved the ini and opened that directly and checked.. WHOo
my full xml doc. list was there.. this is just too weird...

Missing Notepad2-mod Features

Compared to Notepad2-mod

Missing questions marks on search and replace windows. Questions marks give all the options for both Regular expression search and Transform backslashes.

Wildcard search is missing completely.

Block selection

Please improve block selection (as in Akelpad, for example). I am fan of notepad#, but have to use one sententiously with Akelpad for block selection.

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.