-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a user-defined language for Notepad++
- Loading branch information
1 parent
e26abc1
commit 6abe1b4
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<NotepadPlus> | ||
<UserLang name="PFI Input" ext="" udlVersion="2.1"> | ||
<Settings> | ||
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | ||
<Prefix Keywords1="yes" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | ||
</Settings> | ||
<KeywordLists> | ||
<Keywords name="Comments">00# 01 02 03 04</Keywords> | ||
<Keywords name="Numbers, prefix1"></Keywords> | ||
<Keywords name="Numbers, prefix2"></Keywords> | ||
<Keywords name="Numbers, extras1"></Keywords> | ||
<Keywords name="Numbers, extras2"></Keywords> | ||
<Keywords name="Numbers, suffix1"></Keywords> | ||
<Keywords name="Numbers, suffix2"></Keywords> | ||
<Keywords name="Numbers, range">:</Keywords> | ||
<Keywords name="Operators1">( ) : * + - / ^ ceil floor</Keywords> | ||
<Keywords name="Operators2">=</Keywords> | ||
<Keywords name="Folders in code1, open">BEGIN</Keywords> | ||
<Keywords name="Folders in code1, middle"></Keywords> | ||
<Keywords name="Folders in code1, close">END</Keywords> | ||
<Keywords name="Folders in code2, open"></Keywords> | ||
<Keywords name="Folders in code2, middle"></Keywords> | ||
<Keywords name="Folders in code2, close"></Keywords> | ||
<Keywords name="Folders in comment, open"></Keywords> | ||
<Keywords name="Folders in comment, middle"></Keywords> | ||
<Keywords name="Folders in comment, close"></Keywords> | ||
<Keywords name="Keywords1">BEGIN
END</Keywords> | ||
<Keywords name="Keywords2">title
description
"output filename"
"log filename"
"active step"
"output initial step"
"output final step"
"output variable"
iX
jY
nx
ny
xmin
ymin
xmax
ymax
"relative tolerance"
solver
"step time"
"max time control"
"max time scale"
"function type"
"function value"
"scale factor"
"buffer increment"
"time increment"
"log data"
"initial step"
"final step"</Keywords> | ||
<Keywords name="Keywords3">PFI
INFORMATION
INITIAL_GEOMETRY_DEFINITION
STEP
SOLUTION_CONTROL
LINEAR_SOLVE
TIME_CONTROL
FLOW_DEFINITION
REYNOLDS
CIRCULATION
RESULT
IN_SITU
LOG_INFO</Keywords> | ||
<Keywords name="Keywords4">true
false
constant
pcg
NX
NY
IBL
pU
pV</Keywords> | ||
<Keywords name="Keywords5"></Keywords> | ||
<Keywords name="Keywords6"></Keywords> | ||
<Keywords name="Keywords7"></Keywords> | ||
<Keywords name="Keywords8"></Keywords> | ||
<Keywords name="Delimiters">00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords> | ||
</KeywordLists> | ||
<Styles> | ||
<WordsStyle name="DEFAULT" fgColor="808080" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="NUMBERS" fgColor="804040" bgColor="000000" fontName="" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS1" fgColor="FF8040" bgColor="000000" fontStyle="1" nesting="0" /> | ||
<WordsStyle name="KEYWORDS2" fgColor="008000" bgColor="000000" fontStyle="1" nesting="0" /> | ||
<WordsStyle name="KEYWORDS3" fgColor="D8D565" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS4" fgColor="408080" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="OPERATORS" fgColor="808040" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="FOLDER IN CODE1" fgColor="FF8040" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS1" fgColor="FF0000" bgColor="000000" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | ||
</Styles> | ||
</UserLang> | ||
</NotepadPlus> |
6abe1b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is in reference to issue #2 Implement input-deck / preprocessor
6abe1b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is in regerence to issue #10 Notepad++ User-Defined Language