Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.6k
stars
184
forks
source link
The simplified `if` of Fortran should not be folded. #820
Description
Fortran has a one-line
if
syntax, which is a simplifiedif
and has the following style:It should not be folded. I noticed that
Notepad3
did it correctly, butNotepad4
has not handled this situation correctly at present.Screenshot
(Left: Notepad3, Right: Notepad4.) Notepad4 should not collapse single-line `if` statements. ![image](https://github.com/user-attachments/assets/143b42d0-2b25-4e85-8877-65f4c8a08bfe) ![image](https://github.com/user-attachments/assets/7a693dd0-834d-4857-b598-20439f51ac6e)