SourceForge.net | 1 Dec 15:56 2007
Picon
Picon

[notepad-plus - Help] fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4653456
By: nobody

Hi, 

Can you please help me to set the function list for a user defined language?
I am using fortran for my assignments(economics!) and I defined the fortran
90 format since notepad++ only works with f77. But I really liked the function
list! I tried work with the example in the help but it did not work. How would
you set the values to define functions and subroutines in fortran. They are
quite simple, say:

subroutine ex_sub(x,y) 
... 

end subroutine ex_sub 

cheers, 

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
(Continue reading)

SourceForge.net | 1 Dec 21:22 2007
Picon
Picon

[notepad-plus - Help] RE: fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4653707
By: bullock

I use the following, inserted in the file %AppData%\Notepad++\UserDefineLang.xml
:

    <UserLang name="FortranFreeform" ext="f90 f95 f2k">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">&apos;&quot;0&apos;&quot;0</Keywords>
            <Keywords name="Folder+">do then</Keywords>
            <Keywords name="Folder-">enddo endif end</Keywords>
            <Keywords name="Operators">- % &amp; ( ) * , . / : ; + &lt;
= &gt;</Keywords>
            <Keywords name="Comment">1 2 0!</Keywords>
            <Keywords name="Words1">access action advance allocatable allocate
apostrophe assign assignment associate asynchronous backspace bind blank blockdata
call case character class close common complex contains continue cycle data
deallocate decimal delim default dimension direct dowhile double doubleprecision
else elseif elsewhere encoding end endassociate endblockdata endfile endforall
endfunction endinterface endmodule endprogram endselect endsubroutine endtype
endwhere entry eor equivalence err errmsg exist exit external file flush fmt
forall form format formatted function go goto id if implicit in include inout
integer inquire intent interface intrinsic iomsg iolength iostat kind len logical
(Continue reading)

SourceForge.net | 1 Sep 20:26 2008
Picon
Picon

[notepad-plus - Help] RE: fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5215106
By: warnk

Hi!
I inserted that code in %AppData%\Notepad++\UserDefineLang.xml, but nothing
at all seems to change, what am I missing?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
SourceForge.net | 3 Dec 22:02 2007
Picon
Picon

[notepad-plus - Help] RE: fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4656941
By: nobody

thanks but this is not what I need. I guess, I should have been clearer. I defined
a Fortran Free Form as a language but I want to use the "function list" plug-in
as well. Thanks, though.

So re-iterate my question, how would you define a fortran 90 subroutine/function
so that Function list recognizes it as   a function:

subroutine ex_sub(x,y)  
...  

end subroutine ex_sub  

cheers,

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
(Continue reading)

SourceForge.net | 4 Dec 00:01 2007
Picon
Picon

[notepad-plus - Help] RE: fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4657101
By: bullock

Make sure the file %AppData%\Notepad++\insertExt.ini has the following : 

[User Languages]
Count User Languages=1
Name 1=FortranFreeform
KeyWBodyBeg 1=
KeyWBodyEnd 1=
MatchCase 1=0
Count Comment 1=1
Comment P1.1.1=!
Comment P2.1.1=
Count Syntax 1=2
Syntax P1.1.1=^[ \t]*subroutine[ \t]+
Syntax P2.1.1=\(*
Syntax P3.1.1=[a-zA-Z0-9_]+
Syntax P4.1.1=
Syntax P5.1.1=
Syntax P6.1.1=
Syntax P1.2.1=[ \t]*function[ \t]+
Syntax P2.2.1=[ \t]*\(
Syntax P3.2.1=[a-zA-Z0-9_]+
Syntax P4.2.1=
Syntax P5.2.1=end
Syntax P6.2.1=

(Continue reading)

SourceForge.net | 5 Dec 00:43 2007
Picon
Picon

[notepad-plus - Help] RE: fortran 90 function list


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4659417
By: nobody

thanks a lot man! take care!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

Gmane