Compare commits

...
23 Commits
Author SHA1 Message Date
Notepad-- (Subtwo) 4510896f71 Add files via upload
提交说明书
2026-06-25 10:07:25 +08:00
Notepad-- (Subtwo) 144c14a9f9 Update README.md
维护主页信息。
2025-08-05 12:17:07 +08:00
Notepad-- (Subtwo) c4ea4f7ba2 Update README.md
维护主页信息
2025-06-12 09:47:43 +08:00
Notepad-- (Subtwo) 3e7e148127 Update README.md 2024-07-23 17:13:29 +08:00
Notepad-- (Subtwo) afb6f5d374 Update README.md 2024-07-01 13:28:24 +08:00
Notepad-- (Subtwo) b054fad57b Update README.md 2024-07-01 13:27:04 +08:00
Notepad-- (Subtwo) 3c62fb941a Update README.md 2024-07-01 12:54:53 +08:00
Notepad-- (Subtwo) ced75acffd Update README.md
更新主页。
2024-07-01 09:37:06 +08:00
Notepad-- (Subtwo) 62f5150429 Update README.md
重申立场,做好软件。
2024-06-25 17:02:47 +08:00
Notepad-- (Subtwo) d1d895e65b Update README.md 2024-05-06 12:13:04 +08:00
爬山虎 4ec858cfc2 增加文件目录 2024-03-12 12:26:50 +08:00
Notepad-- (Subtwo) 6945a69e57 Update README.md
新增用户群
2024-03-11 14:35:28 +08:00
Notepad-- (Subtwo) 3dbd0a97e6 Update README.md
最新版是2.12。之前更新过三次都网络失败了。
2024-01-05 12:15:47 +08:00
Notepad-- (Subtwo) 0f14e9d570 Merge pull request #241 from tangramor/main
fix build failed error and fix gnome shotcut problem
2023-12-01 14:12:02 +08:00
Notepad-- (Subtwo) 7e34bfdb39 Update README.md 2023-09-21 11:29:24 +08:00
tangramor 1df4276bfc fix build failed error and fix gnome shotcut problem 2023-09-10 11:39:03 +08:00
Notepad-- (Subtwo) 9911356fe9 Update README.md 2023-08-09 09:53:47 +08:00
Notepad-- (Subtwo) caa9d6ca77 Update README.md 2023-08-09 09:51:25 +08:00
Notepad-- (Subtwo) 6c3094088c Update README.md
新增群
2023-07-18 09:31:12 +08:00
Notepad-- (Subtwo) d83f2a90aa Update README.md 2023-06-28 13:01:04 +08:00
Notepad-- (Subtwo) d7b7a685ee Update README.md 2023-06-28 12:47:38 +08:00
Notepad-- (Subtwo) fc1f7e8cdd Update README.md
更新到2.6,申明该库与gitee库的关系。
2023-06-28 12:46:30 +08:00
Notepad-- (Subtwo) 73ebe3f85e Update README.md 2023-05-29 16:38:54 +08:00
17 changed files with 20 additions and 80 deletions
+14 -74
View File
@@ -4,13 +4,11 @@
## 项目简介
这是一个使用C++编写的文本编辑器Notepad--,可以支持Win/Linux/Mac平台。
Notepad--是一个轻量级文本编辑器软件,可以支持Win/Linux/Mac平台。
我们的目标是要发展文本编辑类软件的国产可替代,重点在国产Uos系统、Mac 系统上发展。
其开发目标是进行文本编辑类软件的国产可替代,重点在国产信创Uos系统、Mac 系统、各类linux系统上发展。
一个支持windows/linux/mac的文本编辑器,目标是要国产替换同类软件,来自中国。
对比其它竞品Notepad类软件而言,我们的优势是可以跨平台,支持linux mac操作系统。
对比其它竞品Notepad类软件而言,ndd 的优势是可以跨平台,支持linux mac操作系统。
**鉴于某些Notepad竞品作者的不当言论,Notepad--的意义在于:减少一点错误言论,减少一点自以为是。**
@@ -18,84 +16,27 @@
您可以在这个项目提交bug或反馈问题。
最新版本下载地址:https://gitee.com/cxasm/notepad--/releases/tag/v2.4
本仓库与https://gitee.com/cxasm/notepad-- 是同一个软件。
中国内使用https://gitee.com/cxasm/notepad-- 。国外使用本github库,该库会定期同步国内gitee库。
由于作者在中国经常网络无法访问github,所以该库可能不会及时更新,还请见谅。
由于github访问经常断网,几乎没法提交代码。国内用户请访问 https://gitee.com/cxasm/notepad--
NDD已初步推出插件编写功能,希望广大的CPP/QT开发者加入我们,插件功能均可以留上您的大名和捐赠渠道,希望
开发者参与插件功能开发。
最新版本下载地址:https://gitee.com/cxasm/notepad--/releases/tag/v3.5
**鉴于Notepad--遭到反动竞品同类软件的匿名发帖诋毁,ndd项目申明:**
**鉴于Notepad--遭到竞品软件的匿名发帖诋毁,ndd项目申明:**
**Notepad--不涉及任何政治,更不会随意发布政治言论。**
**最后强烈建议全体海内外同胞,务必禁用发表错误言论的敌对软件,您可以选择用其它同类软件进行替代,比如vscode,notepad3,sublime都行。大家用实际行动杜绝敌对反动软件, 不去评论它,不去关注它,不给它带来任何流量,那么挑梁小丑终归要熄火。**
对此Notepad--澄清如下:
**做中国人自己的免费编辑器,离不开您的支持,请通过微信捐赠我们。**
[Ndd 对诋毁者们恶意歪曲事实的说明](https://gitee.com/cxasm/notepad--/wikis/Ndd-%E5%AF%B9%E8%AF%8B%E6%AF%81%E8%80%85%E4%BB%AC%E6%81%B6%E6%84%8F%E6%AD%AA%E6%9B%B2%E4%BA%8B%E5%AE%9E%E7%9A%84%E8%AF%B4%E6%98%8E)
![6688](https://user-images.githubusercontent.com/42246867/202892430-e4738634-4e37-4c4a-9120-a1665af41eb4.png)
## 编译
**CMake工具链编译说明:**
- Ubuntu/Debian
1. 安装编译环境 `sudo apt-get install g++ make cmake`
1. 安装qt工具和库 `sudo apt-get install qtbase5-dev qt5-qmake qtbase5-dev-tools libqt5printsupport5 libqt5xmlpatterns5-dev `
1. 配置 `cmake -B build -DCMAKE_BUILD_TYPE=Release`
1. 编译 `cd build && make -j`
1. 打包 `cpack`
- ArchLinux
1. 安装编译环境 `sudo pacman -S gcc cmake make ninja`
1. 安装 qt 工具和库 `sudo pacman -S qt5-tools qt5-base qt5-xmlpatterns`
1. 配置 `cmake -S . -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -W no-dev`
1. 编译 `ninja -C build && ninja -C build install`
1. 打包: 使用 [AUR/notepad---git](https://aur.archlinux.org/packages/notepad---git) `yay -S notepad---git`
1. 安装:
- 预编译包添加 [ArchLinuxCN/notepad---git](https://github.com/archlinuxcn/repo) 镜像 `yay -S archlinuxcn/notepad---git`
- 预编译包 [Debuginfod/notepad---git-debug](https://wiki.archlinux.org/title/Debuginfod) 包 `yay -S archlinuxcn/notepad---git-debug`
- openSUSE Tumbleweed
1. 安装编译环境和Qt工具库 `sudo zypper in -t pattern devel_C_C++ devel_basis devel_qt5 `
1. 配置 `cmake -B build -DCMAKE_BUILD_TYPE=Release `
1. 编译 `cd build && make -j `
1. 打包使用 OBS (Open Build Service)
最新版本下载地址:https://gitee.com/cxasm/notepad--/releases/tag/v2.3
**Qt工程编译说明:**
1)使用qtcreator 或 vs 先打开qscint/src/qscintilla.pro 。先编译出这个qscintlla的依赖库。
2)再打开RealCompare.pro 加载后编译。
3)由于编译的平台较多,涉及windows/linux/mac,有任何编译问题,还请加qq群 959439826 。欢迎广大网友实现新功能后提交代码给我们。
代码上线不久,删除了商业的对比功能和注册功能(这部分有商业原因,请理解),除此以外,所有功能全部保留。
4)Arch Linux 及其衍生版可以通过 AUR 仓库安装:[notepad---git](https://aur.archlinux.org/packages/notepad---git)
```
yay -S notepad---git
```
## 联络方式
QQ群:372613546 959439826(已满) 用户群,做NDD的问题反馈、功能建议等。
QQ群 616606091 开发群,建议懂CPP/QT、愿意参与NDD项目代码贡献的开发人士加入。
**建议全体海内外同胞,务必禁用发表错误言论的软件,您可以选择用其它同类软件进行替代,比如vscode,notepad3,sublime都行。大家用实际行动拒绝错误言论软件, 不去评论它,不去关注它,不给它带来任何流量,则发布错误言论的人,终将自讨没趣而闭嘴。**
ndd在深度国产uos运行效果:
![ntscreenshot_20230425_160046](https://user-images.githubusercontent.com/42246867/235033790-fcf46635-c1e7-4e36-bbb3-fb31efff812e.png)
![ntscreenshot_20230805_134025](https://github.com/cxasm/notepad--/assets/42246867/ec0b5243-3c9d-46d0-bba6-348617236829)
ndd在windows运行效果:
![ntscreenshot_20230425_133253](https://user-images.githubusercontent.com/42246867/235033753-058ef39a-f815-4404-b5d1-de4a834dec1d.png)
![ndd在windows](https://user-images.githubusercontent.com/42246867/235033753-058ef39a-f815-4404-b5d1-de4a834dec1d.png)
![ndd 在windows](https://user-images.githubusercontent.com/42246867/218263319-3e78b0a9-9fb1-45d1-8f1c-2e850e073425.png)
@@ -103,8 +44,7 @@ ndd 在macOs运行效果:
![ndd 在 mac Os](https://user-images.githubusercontent.com/42246867/221394341-743f71a9-11bd-4dc8-aa0d-c24316493dcf.png)
![ndd 在mac OS 代码对比](https://user-images.githubusercontent.com/42246867/221394356-89cf463c-8dcf-4697-aedd-33700b947653.png)
subtwo在redhat运行效果:
![subtwo 在redhat 运行效果](https://user-images.githubusercontent.com/42246867/235033326-b2fffca5-625c-4c96-a661-1072f8a8b3ee.png)
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 524 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 541 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

+1 -1
View File
@@ -5347,7 +5347,7 @@ void hide_file(const QString& szFile)
//isBakWrite 是否写保护swp文件,默认true。只有新文件时不需要,因为新文件不存在覆盖写的问题
//isStatic 是否静默:不弹出对话框,在外部批量查找替换文件夹时使用,避免弹窗中断。默认false
//isClearSwpFile:是否回收swp交换文件,在外部批量查找替换文件夹时使用,替换后直接删除swp文件。默认false
bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic,bool /*isClearSwpFile*/)
bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic, bool isClearSwpFile)
{
QFile srcfile(fileName);
@@ -1,11 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Notepad--
Name[zh_CN]=Notepad--
Comment=Notepad-- 是一个国产跨平台、简单的文本编辑器。
Name=NotePad--
Name[zh_CN]=NotePad--
Comment=NotePad-- 是一个国产跨平台、简单的文本编辑器。
Type=Application
Exec=notepad-- %F
Icon=notepad--
Exec=NotePad-- %F
Icon=/usr/share/icons/hicolor/128x128/apps/notepad--.png
Categories=Development;Office;
Terminal=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-patch;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-patch;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;application/x-perl;application/x-php;text/vnd.wap.wml;text/x-python;application/x-ruby;text/sgml;application/xml;model/vrml;image/svg+xml;application/json;