While the Zeus code folding has been designed to be language neutral, unlike other Zeus features it is not user configurable
 
 But this forum can be used to request changes to the current folding or ask for folding support for other languages
 
 For a request to be considered it must contain a minimum set of information regarding the language, including:
- The file extensions used by the language
- The line comment characters
- The block comment characters
- Matching pairs of begin/end fold keywords
- A short piece of sample code demonstrates how these comments and matching pairs of keywords are used
As an example of the imformation that is required this would be the description of the folding for the c/c++ language:
Code: Select all
    Extensions: .c .cpp .cxx .h .hxx
 Line Comment: //
Block Comment: /*  */
        Begin: {    
          End: }
  Sample Code:
      int test(int value)
      {
        if (value = 1)
        {
           // as this sample code is used to test the folding
        }
        else
        {
           // the code does not need to compile but must be accurate!
        }
      }
Code: Select all
    Extension: .lua
 Line Comment: --
Block Comment: none
        Begin: if
          End: end
        Begin: for
          End: end
        Begin: function
          End: end
  Sample Code:
      function example()
      
        if marked == 1 then
          top   = get_marked_top()
        end -- if
      
        for line in file_handle:lines() do
          -- write the line to the new file
          print(line)
        end
      end
key_macro() -- run the macro
