Tapatalk

Syntax highlighting wordfile for Harbour + FiveWin

Syntax highlighting wordfile for Harbour + FiveWin

1

    Aug 09, 2018#1

    I use UEStudio since 2012 and I made some adaptations to work with Harbour and FiveWin. I searched in this forum several times a solution for folds control since the language of harbor has breaks because of the RETURNs.
    So I decided to change and I achieved this result that is satisfactory.
    More rules to make the code to work correctly.

    For this to work, include some Ignore Fold Strings

    Code: Select all

    FUNCTION TEST(Par)
      IF Par == 1
         RETURN .F. // Fold will not be broken because RETURN has spaces
      ENDIF
    
      DO CASE
        CASE Par == 2
          FUN_PROCESS()
        CASE Par == 3 
          OTHER_OPTION()
        CASE Par == 4
          MORE()
      END CASE 
    
    RETURN NIL // Fold closed properly in function
    Download Harbour_Fwh.7z
    Harbour_Fwh.7z (14.11 KiB)   51