Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # SciTE settings for the Pawn language
  2.  
  3.  
  4. file.patterns.pawn=*.pwn;*.own;*.inc
  5.  
  6. shbang.tcc=cpp
  7. shbang.tinycc=cpp
  8.  
  9. filter.pawn=Pawn (pwn inc)|$(file.patterns.pawn)|
  10.  
  11. lexer.$(file.patterns.pawn)=cpp
  12.  
  13. keywords.$(file.patterns.pawn)=break case char const continue \
  14. default do else enum false for goto if native new operator public \
  15. return sizeof state static stock switch true typeof while
  16.  
  17. # keywords2 is for highlighting user defined keywords or function calls or similar
  18. keywords2.$(file.patterns.pawn)=foreach
  19.  
  20. word.chars.pawn=$(chars.alpha)$(chars.numeric)_#
  21. word.characters.$(file.patterns.pawn)=$(word.chars.cxx)
  22. calltip.pawn.word.characters=$(chars.alpha)$(chars.numeric)_
  23. comment.block.pawn=//~
  24. #comment.block.at.line.start.pawn=1
  25. comment.stream.start.pawn=/*
  26. comment.stream.end.pawn=*/
  27. comment.box.start.pawn=/*
  28. comment.box.middle.pawn= *
  29. comment.box.end.pawn= */
  30. #fold.at.else=1
  31.  
  32. statement.indent.$(file.patterns.pawn)=5 case default do else for if while
  33. statement.end.$(file.patterns.pawn)=10 ;
  34. statement.lookback.$(file.patterns.pawn)=20
  35. block.start.$(file.patterns.pawn)=10 {
  36. block.end.$(file.patterns.pawn)=10 }
  37.  
  38. #autocomplete.pawn.fillups=(
  39.  
  40. #styling.within.preprocessor=1
  41. preprocessor.symbol.$(file.patterns.pawn)=#
  42. preprocessor.start.$(file.patterns.pawn)=if ifdef ifndef
  43. preprocessor.middle.$(file.patterns.pawn)=else elif
  44. preprocessor.end.$(file.patterns.pawn)=endif
  45.  
  46.  
  47. # styles
  48.  
  49. # Default
  50. style.pawn.32=$(font.monospace)
  51. # White space
  52. style.pawn.0=fore:#808080
  53. # Comment: /* */.
  54. style.pawn.1=$(colour.code.comment.box),$(font.monospace)
  55. # Line Comment: //.
  56. style.pawn.2=$(colour.code.comment.line),$(font.monospace)
  57. # Doc comment: block comments beginning with /** or /*!
  58. style.pawn.3=$(colour.code.comment.doc),$(font.monospace)
  59. # Number
  60. style.pawn.4=$(colour.number)
  61. # Keyword
  62. style.pawn.5=$(colour.keyword),bold
  63. # Double quoted string
  64. style.pawn.6=$(colour.string)
  65. # Single quoted string
  66. style.pawn.7=$(colour.char)
  67. # UUIDs (only in IDL)
  68. style.pawn.8=fore:#804080
  69. # Preprocessor
  70. style.pawn.9=$(colour.preproc)
  71. # Operators
  72. style.pawn.10=$(colour.operator),bold
  73. # Identifiers
  74. style.pawn.11=
  75. # End of line where string is not closed
  76. style.pawn.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
  77. # Verbatim strings for C#
  78. style.pawn.13=fore:#007F00,$(font.monospace),back:#E0FFE0,eolfilled
  79. # Regular expressions for JavaScript
  80. style.pawn.14=fore:#3F7F3F,$(font.monospace),back:#E0F0FF,eolfilled
  81. # Doc Comment Line: line comments beginning with /// or //!.
  82. style.pawn.15=$(colour.code.comment.doc),$(font.code.comment.doc)
  83. # Keywords2
  84. style.pawn.16=fore:#B00040
  85. # Comment keyword
  86. style.pawn.17=fore:#3060A0,$(font.code.comment.doc)
  87. # Comment keyword error
  88. style.cpp.18=fore:#804020,$(font.code.comment.doc)
  89. # Braces are only matched in operator style
  90. braces.cpp.style=10
  91.  
  92. pawncc=pawncc $(pawncc.options) -c $(FileNameExt)
  93. pawncc.options=-;+ -(+ -i../include
  94.  
  95. command.compile.$(file.patterns.pawn)=$(pawncc)
  96. # Output asm code
  97. command.build.$(file.patterns.pawn)=$(pawncc) -a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement