"Fossies" - the Fresh Open Source Software Archive

Member "wscite/matlab.properties" (11 Sep 2020, 2912 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for Octave and Matlab (see below) files.
    2 
    3 # set the default lexer for .m files
    4 DEFAULT_M_LEXER_OCTAVE=1
    5 DEFAULT_M_LEXER_MATLAB=0
    6 
    7 #-----------------------------------------------------------------------
    8 # Octave
    9 #-----------------------------------------------------------------------
   10 
   11 # M: Octave M-Files (we nee .m.octave for distinguishing it from matlab)
   12 file.patterns.octave=*.m.octave
   13 #~ if DEFAULT_M_LEXER_OCTAVE
   14 	#~ file.patterns.octave=*.m;$(file.patterns.octave)
   15 file.patterns.matlab=*.m;*.m.octave
   16 
   17 # M: Octave M-Files
   18 filter.octave=Octave (m)|$(file.patterns.octave)|
   19 
   20 lexer.$(file.patterns.octave)=octave
   21 
   22 #*language.octave=Octave|m.octave||
   23 
   24 keywordclass.octave=\
   25 __FILE__ \
   26 __LINE__ \
   27 break \
   28 case \
   29 catch \
   30 classdef \
   31 continue \
   32 do \
   33 else \
   34 elseif \
   35 end \
   36 end_try_catch \
   37 end_unwind_protect \
   38 endclassdef \
   39 endenumeration \
   40 endevents \
   41 endfor \
   42 endif \
   43 endmethods \
   44 endparfor \
   45 endproperties \
   46 endswitch \
   47 endwhile \
   48 enumeration \
   49 events \
   50 for \
   51 function endfunction \
   52 get \
   53 global \
   54 if \
   55 methods \
   56 otherwise \
   57 parfor \
   58 persistent \
   59 properties \
   60 return \
   61 set \
   62 static \
   63 switch \
   64 try \
   65 until \
   66 unwind_protect \
   67 unwind_protect_cleanup \
   68 while
   69 
   70 keywords.$(file.patterns.octave)=$(keywordclass.octave)
   71 
   72 comment.block.octave=#
   73 
   74 # Octave styles
   75 # White space
   76 style.octave.0=fore:#000000
   77 # Comment
   78 style.octave.1=$(colour.code.comment.line),$(font.code.comment.line)
   79 # Command
   80 style.octave.2=$(colour.preproc)
   81 # Number
   82 style.octave.3=$(colour.number)
   83 # Keyword
   84 style.octave.4=$(colour.keyword),bold
   85 # String (5: single quoted, 8: double quoted)
   86 style.octave.5=$(colour.string)
   87 style.octave.8=$(colour.string)
   88 # Operator
   89 style.octave.6=$(colour.operator),bold
   90 # Identifier
   91 style.octave.7=
   92 
   93 #-----------------------------------------------------------------------
   94 # Matlab
   95 #-----------------------------------------------------------------------
   96 
   97 # M: Matlab M-Files (we need .m.matlab to distinguish it from octave)
   98 file.patterns.matlab=*.m.matlab
   99 #~ if DEFAULT_M_LEXER_MATLAB
  100 	#~ file.patterns.matlab=*.m;$(file.patterns.matlab)
  101 # M: Matlab M-Files
  102 filter.matlab=Matlab (m)|$(file.patterns.matlab)|
  103 
  104 *filter.matlab=$(filter.matlab)
  105 
  106 lexer.$(file.patterns.matlab)=matlab
  107 
  108 *language.matlab=Matlab|m.matlab||
  109 
  110 keywordclass.matlab=break case catch continue else elseif end for function \
  111 global if otherwise persistent return switch try while
  112 
  113 keywords.$(file.patterns.matlab)=$(keywordclass.matlab)
  114 
  115 comment.block.matlab=%~
  116 
  117 # Matlab styles
  118 # White space
  119 style.matlab.0=fore:#000000
  120 # Comment
  121 style.matlab.1=$(colour.code.comment.line),$(font.code.comment.line)
  122 # Command
  123 style.matlab.2=$(colour.preproc)
  124 # Number
  125 style.matlab.3=$(colour.number)
  126 # Keyword
  127 style.matlab.4=$(colour.keyword),bold
  128 # String (5=single quoted, 8=double quoted)
  129 style.matlab.5=$(colour.string)
  130 style.matlab.8=$(colour.string)
  131 # Operator
  132 style.matlab.6=$(colour.operator),bold
  133 # Identifier
  134 style.matlab.7=
  135