Wordlist para UEStudio y FiveWin
- Antonio Linares
- Site Admin
- Posts: 42611
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 49 times
- Been thanked: 88 times
- Contact:
- reinaldocrespo
- Posts: 981
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Been thanked: 1 time
Antonio;
Perhaps you'd like to add these two lines right before C1:
Reinaldo.
Perhaps you'd like to add these two lines right before C1:
Code: Select all | Expand
/Open Fold Strings = "{" "static function" "init function" "exit function" "function" "if" "while" "TRY" "for"
/Close Fold Strings = "}" "return" "endif" "endwhile" "end" "next"
Reinaldo.
- Antonio Linares
- Site Admin
- Posts: 42611
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 49 times
- Been thanked: 88 times
- Contact:
- reinaldocrespo
- Posts: 981
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Been thanked: 1 time
Please also add "method" to the open fold strings.
There are various problems with "CLASS" as an open fold string. The first one is the persistence of a method "end()" which always comes before the "END CLASS". Another problem is that "CLASS" is used also in:
METHOD New() CLASS TclassName
Where it is not acting as an open fold.
If really pressed, then you could add "from" to the open fold strings. But, if you do this, you'd have to remove "method" as an open fold string as I'm suggesting above. The reason is that within the class declaration "method" is not an open fold string and would end up acting as a close fold for "from". And not all class declarations contain "from" in it.
Since the method end() is so ever present in most classes, I rather have "method" as an open fold than having "CLASS".
Just my opinion.
Reinaldo.
There are various problems with "CLASS" as an open fold string. The first one is the persistence of a method "end()" which always comes before the "END CLASS". Another problem is that "CLASS" is used also in:
METHOD New() CLASS TclassName
Where it is not acting as an open fold.
If really pressed, then you could add "from" to the open fold strings. But, if you do this, you'd have to remove "method" as an open fold string as I'm suggesting above. The reason is that within the class declaration "method" is not an open fold string and would end up acting as a close fold for "from". And not all class declarations contain "from" in it.
Since the method end() is so ever present in most classes, I rather have "method" as an open fold than having "CLASS".
Just my opinion.
Reinaldo.
- reinaldocrespo
- Posts: 981
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Been thanked: 1 time
- Antonio Linares
- Site Admin
- Posts: 42611
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 49 times
- Been thanked: 88 times
- Contact:
Reinaldo,
Are you able to fold an entire CLASS ... ENDCLASS ?
I am trying these but it does not fold the Classes (that use FROM):
/Open Fold Strings = "from" "{" "static function" "init function" "exit function" "function" "if" "while" "TRY" "for" "method"
/Close Fold Strings = "}" "return" "return nil" "endif" "endwhile" "end" "next" "return nil" "endclass"
Are you able to fold an entire CLASS ... ENDCLASS ?
I am trying these but it does not fold the Classes (that use FROM):
/Open Fold Strings = "from" "{" "static function" "init function" "exit function" "function" "if" "while" "TRY" "for" "method"
/Close Fold Strings = "}" "return" "return nil" "endif" "endwhile" "end" "next" "return nil" "endclass"