Enable Notepad++ 666 support both SCLEX_FORTRAN and SCLEX_F77

本文介绍如何使Notepad++666版本支持SCLEX_FORTRAN和SCLEX_F77语法高亮及折叠功能。作者提供了源代码,并分享了编译过程中的注意事项。此外,还解决了与CustomizeToolbarPlugin的兼容性问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Enable Notepad++ 666 support both SCLEX_FORTRAN and SCLEX_F77

http://blog.youkuaiyun.com/gocad/article/details/32943395

You can DIY.

I have put the source code on https://github.com/ywx/npp

Get a local copy of the source code repository with this command:
git clone git://github.com/ywx/npp.git npp666-ReadOnly

For information on Git,please see http://git-scm.com/ or https://github.com/git/git
For information on Git for Windows,please see http://code.google.com/p/msysgit/
For information on TortoiseGit,please see http://code.google.com/p/tortoisegit/

You can replace the files in Notepad++ 666 with the following file in source code repository.
PowerEditor\bin\notepad++.exe
PowerEditor\src\langs.model.xml

PowerEditor\src\stylers.model.xml

在进行替换操作之前,请务必进行备份。


Or Build the source code by yourself.

现已发现与 Customize Toolbar Plugin 有冲突。Customize Toolbar Plugin 会使增加新功能的 Notepad++ 的 Toolbar 按钮变得很宽。


由于 Customize Toolbar Plugin 好像是闭源的,所以目前还不知道是为什么。

你可以选择 卸载 Customize Toolbar Plugin,Toolbar 就会恢复正常;或者 继续使用官方版本。

除此之外,未发现与其它 Plugin 有冲突。


运行效果如下



You can see the bug from " There is an obvious Error in npp src. ( About FORTRAN Syntax Highlighting And Fold ) "

http://blog.youkuaiyun.com/gocad/article/details/8835336


今天77,重新的编译了一下,dpiAware.manifest 和 notepad++.exe.manifest 很重要。好了恢复正常,能与 Customize Toolbar Plugin 正常协作。



转载请注明,转自 http://blog.youkuaiyun.com/gocad/article/details/32943395 或 https://sourceforge.net/p/notepad-plus/discussion/331753/thread/7db30c0d/

谢谢!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值