Giter Club home page Giter Club logo

zhongyang219 / simplenotepad Goto Github PK

View Code? Open in Web Editor NEW
397.0 9.0 50.0 9.1 MB

这是一个可以代替Windows记事本的软件,除了包含记事本原有的功能外,还有编码格式转换、十六进制查看编辑、文件二进制比较、编码批量转换的功能。

License: GNU General Public License v3.0

C++ 69.35% C 2.00% Objective-C 0.33% Objective-C++ 3.88% Shell 0.03% Batchfile 0.02% HTML 16.30% Python 3.45% Makefile 4.09% PHP 0.01% Classic ASP 0.01% TeX 0.01% Lua 0.01% Module Management System 0.02% Nim 0.02% Perl 0.46% Raku 0.02% Ruby 0.01% Tcl 0.01% Visual Basic .NET 0.01%

simplenotepad's Introduction

SimpleNotePad

Logo

简介

这是一个可以代替Windows记事本的软件,除了包含记事本原有的功能外,还支持各种编程语言的语法高亮,还有编码格式转换、十六进制查看编辑、文件二进制比较、编码批量转换的功能。

主界面

主要特性

  • 支持各种编程语言的语法高亮
  • 支持ANSI、UTF8、UTF16及多种编码字符集之间的自由切换和转换
  • 编码格式自动识别
  • 代码折叠
  • 剪贴板历史记录
  • 增强的查找和替换
  • 标记所有匹配
  • 自动标记所有选中标识符
  • 添加/删除注释
  • 大小写转换
  • 十六进制查看功能
  • 文件二进制比较功能
  • 文本编码转换和文件编码批量转换功能

下载链接

点击此处下载SimpleNotePad的最新版本。

simplenotepad's People

Contributors

zhongyang219 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

simplenotepad's Issues

Add dark mode

Almost developers love dark mode. I think you should add "dark mode" to the app :D.

建议增加列编辑功能

1、是不是Scintilla版本低,没有列编辑功能
2、自定义语言格式,是不是修改软件目录下 的配置文件就可以呢

完全不懂代码,询问简单记事本的问题

作者你好,打扰了:
看到你的简单记事本项目了,看着百度下载以后发现不是exe文件,请问这个项目是没有打包吗?这个记事本项目现在可以用吗?
谢谢

Portable Mode

@zhongyang219

I discovered that SimpleNotePad was available in English (since version 1.42), thanks.

I did a brief testing and found out that the program saves settings to Windows registry:

HKEY_CURRENT_USER\Software\Apps By ZhongYang\SimpleNotePad

I would like to ask- is there a way to run SimpleNotePad in portable mode, I mean settings saved in configuration file inside program folder (next to the executable- SimpleNotePad.exe) in stead in Windows registry?

If portable mode is currently not supported (as of version 1.43) I would like to suggest an option to use SimpleNotePad in portable mode, I will suggest several common methods for triggering portable mode, examples:

  • Configuration file in program folder triggers portable mode- when SimpleNotePad starts it checks its program folder whether it contains configuration file (for example- config.ini) and if it exists the settings are saved in the configuration file inside program folder, not in Windows registry;
  • Special file in program folder triggers portable mode- when SimpleNotePad starts it checks its program folder whether it contains special file (for example- portable.txt) and if it exists the settings are saved in configuration file inside program folder, not in Windows registry;
  • Command-line argument- if SimpleNotePad is started with a special parameter, for example SimpleNotePad --portable the settings are saved in configuration file inside program folder, not in Windows registry;

Any of these options would be fine for me yet I prefer the first and the second because they are simpler to use.

Regards

大文件模式

目前对大文件只能打开前10m。
可不可以增加个选项,可以打开更大的文件,毕竟内存已经够了

能否进行代码比较?

非常好的小软件,希望加入代码对比,类似Beyond Compare 4或sublime的对比插件sublimerge一样。

没有遍历文件夹的功能吗?选择添加文件夹只能是根文件夹

在对话框类->FormatConvertDlg->FormatConvertDlg.cpp中添加一个函数
std::setstd::wstring TraverseFolder(wstring path)
{
std::setstd::wstring filePaths;
// 定义文件句柄
HANDLE hFile = INVALID_HANDLE_VALUE;
// 定义文件信息
WIN32_FIND_DATA fd;
// 定义文件路径
wstring strFind = path + L"\.";
// 查找第一个文件
hFile = FindFirstFile(strFind.c_str(), &fd);
if (INVALID_HANDLE_VALUE == hFile)
{
return;
}
// 遍历查找到的文件
while (FindNextFile(hFile, &fd))
{
// 如果是文件夹,则递归
if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
{
// 忽略当前文件夹和上一级文件夹
if (wcscmp(fd.cFileName, L".") != 0 && wcscmp(fd.cFileName, L"..") != 0)
{
wstring str = path + L"\" + fd.cFileName;
TraverseFolder(str);
}
}
// 如果是.h或.cpp文件,则添加到vector中
else
{
wstring str = path + L"\" + fd.cFileName;
if (str.find(L".h") != wstring::npos || str.find(L".cpp") != wstring::npos)
{
filePaths.insert(str);
}
}
}
// 关闭文件句柄
FindClose(hFile);
return filePaths;
}

多标签页

这是确实很好用,建议增加一下多标签页的功能,就能很大程度上代替notepad++了

打开闪退

打开闪退,SimpleNotePad,不支持WIN10吗

_20221001191305

无法通过编译

IDE:vs2017
错误信息:simplenotepad-1.25\simplenotepad\simplenotepaddlg.cpp(388): error C2440: “static_cast”: 无法从“LONG (__cdecl CSimpleNotePadDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)”

希望能可以设置打开空文件默认编码

win10 新建空txt文件文件后打开默认编码为gbk。这样每次新建并编辑的时候不改编码就保存为gbk了,而希望的是utf8。希望可以设置默认打开编码。

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.