file type - Geany custom folding for custom filetype -


company work develops new programming language ease job of engineer. job supply language nice editor involves code folding. need have custom code folding not include "{" , "}". working geany filetypes. add new filetype. want fold structure below.

 if %condition%                      each %element% in  %range%       %statement%                              %statement%    else if %condition%                 end     %statement%    else  end if 

i know language far c type , add such line code enabling syntax coloring.

  [settings]   lexer_filetype=c 

any kind of appreciated.

i dont know exact answer know how can dig up. far there no answer going write how can answer can appeared. using scintilla , lexers can take solution of problem. both geany , scintilla documentations mention support of feature.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -