There is an obvious Error in npp src. ( About FORTRAN Syntax Highlighting And Fold )
来源:互联网 发布:淘宝物流助手在哪里 编辑:程序博客网 时间:2024/05/29 03:50
There is an obvious in Error npp src.
You can see that in PowerEditor\src\ScitillaComponent\ScintillaEditView.cpp.{TEXT("fortran"), TEXT("Fortran"), TEXT("Fortran source file"), L_FORTRAN, SCLEX_FORTRAN},
But you find Error in PowerEditor\src\ScitillaComponent\ScintillaEditView.h
void setFortranLexer() {
setLexer(SCLEX_F77, L_FORTRAN, LIST_0 | LIST_1 | LIST_2);
};
in SciLexer.h
SCLEX_FORTRAN( 36 ) != SCLEX_F77( 37 )
SCLEX_FORTRAN Fortran Free Format source code
SCLEX_F77 Fortran Fixed Format source code
以下是可以从 http://sourceforge.net/p/notepad-plus/bugs/ 搜索到的,之前关于 NotePad++ 在Fortran 语法设置的 bug 报告;
4223Notepad++ 6.3 could not identify the adjacent keywords of Fortran.Allopen 2013-03-06 5 days ago 3850FORTRAN code folding fails for certain IF blocksNoneopen 2012-06-27 2012-11-13 681Free fortran HighlightingNoneclosed 2007-02-01 2009-06-10 352Fortran block commentNoneclosed 2006-03-14 2010-10-02对于Notepad++ 6.3.2 之前版本( 含 6.3.2)可重新编译 Scintilla (修改SciLexer.h,将SCLEX_FORTRAN 和 SCLEX_F77定义值对掉)
#define SCLEX_FORTRAN 37#define SCLEX_F77 36得到的 SciLexer.dll 替换Notepad++自带的,即可使 Fortran Free Format source code 得到正确的 FORTRAN Syntax Highlighting And Fold.
大家也可从 SciLexerForNotepad++632Fortran.7z 下载已经重新编译的SciLexer.dll
https://sourceforge.net/p/notepad-plus/discussion/331753/thread/83962ff2/1561/attachment/SciLexerForNotepad%2B%2B632Fortran.7z
替换后效果:
- There is an obvious Error in npp src. ( About FORTRAN Syntax Highlighting And Fold )
- PWC6345: There is an error in invoking javac
- How to enable syntax highlighting and other options in VIM
- There is an error in invoking javac. A full JDK (not just JRE) is required...
- There is an error in invoking javac. A full JDK (not just JRE) is required
- There is an error in invoking javac. A full JDK (not just JRE) is required问题解决
- There is an error in invoking javac. A full JDK (not just JRE) is required问题解决
- PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
- config the gitweb there is an error
- Framework XML 反序列化->There is an error in doucment (,) 错误解析
- jetty访问jsp页面出现( PWC6345: There is an error in invoking
- Jetty 500 错误 Jetty7(java.err.nojd) Jetty8(There is an error in invoking javac)解决方法
- jetty访问jsp页面出现( PWC6345: There is an error in invoking javac)
- jetty访问jsp页面出现(PWC6345: There is an error in invoking javac)
- [Java开发] jetty访问jsp页面出现( PWC6345: There is an error in invoking javac)
- jetty部署异常:rg.apache.jasper.JasperException: PWC6345: There is an error in invoking ja
- Liferay7启动报错There is an error in invoking javac.
- There was an internal error, and Internet Explorer is unable to print this document
- (转)Android 游戏开发之主角的移动与地图的平滑滚动(十五)
- linux mysql 免安装版
- 用jsp写的网页 怎么在传递参数时包含中文?
- ubuntu12.04突然不能快速定位文件了?
- 寻找数组中出现次数最多的值
- There is an obvious Error in npp src. ( About FORTRAN Syntax Highlighting And Fold )
- 汇编代码出错,检查方法
- 跳表Skiplist学习笔记
- IBM p570更换硬盘
- ubuntu12.04 64bit 编译android源码时遇到的问题
- tomcate不能启动
- iOS杂谈13—iOS面试题汇总(二)
- jquery做全选反选
- APT-GET工作原理简介