Can I modify the existing Fortran (fixed form) style to improve the folding?
-
I apologize if this is a silly question, first time posting.
In this demo code, the folding on the left side is not what I expected. I need to be able to fold every subroutine separately.
Stock Fortran fixed formI created a demo UDL that looks like this:
My UDLAnd that seemed to work as shown:
Using my UDLNow, can I add this modification to the existing Fortran (fixed form)?
-
Unfortunately, there can be only one lexer in play – either the builtin Fortran (fixed form) will be active, or your UDL will be active.
Options
- live with the limitations of the builtin lexer
- live with the limitations of the UDL (and make it more complete)
- write your own lexer plugin (or pay someone to do it)
- try out @Claudia-Frank’s PythonScript-based lexers (search the forums) that you might be able to customize to get what you want.
- submit a bug report – I am not sure whether the builtin lexers are proprietary to scintilla, or just to NPP; if Scintilla, it would have to be thru their issues tracker (and then NPP would have to update it’s scintilla to match); if NPP, it would have to be thru the NPP issues tracker (see the FAQ )
-
Thanks Peter, I had a feeling this was the case but wanted to get an expert opinion. I wish there was a way to copy the builtin lexer to a UDL then make modifications to it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login