mickaelbo created this revision.
mickaelbo added a reviewer: Framework: Syntax Highlighting.
Herald added projects: Kate, Frameworks.
Herald added a subscriber: kde-frameworks-devel.
mickaelbo requested review of this revision.

REVISION SUMMARY
  OpenSCAD uses braces enclosed blocks, you can see examples at 
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Commented_Example_Projects 
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Commented_Example_Projects> 
.
  
  The brace and indentation style is close to C (optional braces if there is 
only one sub statement and one-line blocks are allowed). Therefore, the C-style 
indenter is well fitted IMHO.
  
  Side question: the C indenter indents the next line when a block keyword if 
found (for, if, etc.) even when no opening brace is typed. Is there a way to 
extend this list of indenter keywords for OpenSCAD (rotate, linear_extrude, 
etc.) ?

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D23447

AFFECTED FILES
  data/syntax/openscad.xml

To: mickaelbo, #framework_syntax_highlighting
Cc: kwrite-devel, kde-frameworks-devel, julianstirling, LeGast00n, GB_2, 
domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann

Reply via email to