Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
config:mbdyn [2016/03/07 14:45] – changed to C++ inspired file (only problem is the comment starting at midline but at least it recognises multiline comments) louisgag | config:mbdyn [2017/04/11 13:32] – another keyword louisgag | ||
---|---|---|---|
Line 14: | Line 14: | ||
<file properties filetypes.MBDyn.conf> | <file properties filetypes.MBDyn.conf> | ||
# For complete documentation of this file, please see Geany' | # For complete documentation of this file, please see Geany' | ||
+ | # Using the Perl lexer seems to be the best option to have both # single line and /* multiline comment work, multiline comments however still suffer when / ar present within them | ||
[styling] | [styling] | ||
- | # foreground; | + | # Edit these in the colorscheme .conf file instead |
default=default | default=default | ||
- | comment=0x0000FF; | + | error=error |
- | commentline=0x0000FF; | + | commentline=comment_line |
- | commentdoc=commentdoc | + | number=number_1 |
- | number=0xFF00FF | + | word=keyword_1 |
- | word=0x00805C; | + | string=string_1 |
- | word2=0xA51D1D; | + | character=character |
- | string=string | + | preprocessor=preprocessor |
- | character=string | + | |
- | uuid=0x404080 | + | |
- | preprocessor=0x8000FF; | + | |
operator=operator | operator=operator | ||
identifier=identifier | identifier=identifier | ||
- | stringeol=stringeol | + | scalar=identifier_1 |
- | # @" | + | pod=comment_doc |
- | verbatim=0x101030 | + | regex=regex |
- | # (/regex/) | + | array=identifier_2 |
- | regex=0x105090 | + | hash=identifier_3 |
- | commentlinedoc=commentdoc, | + | symboltable=identifier_4 |
- | commentdockeyword=commentdoc,bold,italic | + | backticks=backticks |
- | commentdockeyworderror=commentdoc | + | pod_verbatim=comment_doc_keyword |
- | # | + | reg_subst=regex |
- | globalclass=0x505050; | + | datasection=value |
- | + | here_delim=here_doc | |
+ | here_q=here_doc | ||
+ | here_qq=here_doc | ||
+ | here_qx=here_doc | ||
+ | string_q=string_2 | ||
+ | string_qq=string_2 | ||
+ | string_qx=string_2 | ||
+ | string_qr=string_2 | ||
+ | string_qw=string_2 | ||
+ | variable_indexer=default | ||
+ | # *_var mappings may need checking | ||
+ | string_var=identifier_1 | ||
+ | regex_var=identifier_2 | ||
+ | regsubst_var=identifier_2 | ||
+ | backticks_var=identifier_2 | ||
+ | here_qq_var=identifier_2 | ||
+ | here_qx_var=identifier_2 | ||
+ | string_qq_var=identifier_2 | ||
+ | string_qx_var=identifier_2 | ||
+ | string_qr_var=identifier_2 | ||
+ | # translation: | ||
+ | xlat=string_2 | ||
+ | # not used | ||
+ | punctuation=default | ||
+ | # obsolete: replaced by qq, qx, qr, qw | ||
+ | longquote=here_doc | ||
+ | sub_prototype=here_doc | ||
+ | format_ident=string_2 | ||
+ | format=string_2 | ||
[keywords] | [keywords] | ||
- | # all items must be in one line | + | primary=structural reference asbtract node body drive caller driver diag null eye string genel matrix amplitude gravity uniform single angular velocity acceleration axial rotation revolute hinge cardano brake pin clamp coincidence deformable displacement joint distance gimbal in line plane kinematic linear velocity acceleration plane prismatic rod total bezier spherical viscous abstract algebraic array state space SISO MIMO a b c differential air properties const file data control iterations max output meter steps forever netcdf elements |
- | secondary=begin end set | + | |
- | primary=structural reference asbtract node body drive caller driver diag null eye string genel matrix amplitude gravity uniform single angular velocity acceleration axial rotation revolute hinge cardano brake pin clamp coincidence deformable displacement joint distance gimbal in line plane kinematic linear velocity acceleration plane prismatic rod total bezier spherical viscous abstract algebraic array state space siso mimo a b c differential air properties const file data control iterations max output meter steps forever netcdf elements | + | |
+ | [lexer_properties] | ||
+ | styling.within.preprocessor=0 | ||
[settings] | [settings] | ||
# default extension used when saving files | # default extension used when saving files | ||
extension=mbd | extension=mbd | ||
- | lexer_filetype=C | + | lexer_filetype=Perl |
- | #fold.comment.python=1 | + | fold.perl.at.else=0 |
- | #fold.quotes.python=1 | + | fold.perl.comment.explicit=0 |
+ | fold=0 | ||
- | # single | + | # the following characters are these which a " |
+ | # | ||
+ | |||
+ | # single | ||
comment_single=# | comment_single=# | ||
# multiline comments | # multiline comments | ||
comment_open=/ | comment_open=/ | ||
- | comment_close=*/ | + | comment_close==*/ |
+ | |||
+ | # set to false if a comment character/ | ||
+ | # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d | ||
+ | # | ||
+ | # setting to false would generate this | ||
+ | # | ||
+ | # This setting works only for single line comments | ||
comment_use_indent=false | comment_use_indent=false | ||
+ | # context action command (please see Geany' | ||
+ | context_action_cmd= | ||
+ | |||
+ | [indentation] | ||
+ | #width=4 | ||
+ | # 0 is spaces, 1 is tabs, 2 is tab & spaces | ||
+ | #type=1 | ||
</ | </ | ||
{{tag> | {{tag> |