With this function declaration TextMate will not show it in the symbols list. Is there anyway of importing symbollists from external commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz, struct Clause *pclause) { }
On Mar 21, 2007, at 12:43 PM, Erik Johansson wrote:
With this function declaration TextMate will not show it in the symbols list. Is there anyway of importing symbollists from external commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz, struct Clause *pclause)
Or fixing the regex to handle the possibility of a function declaration that takes more than 1 line? (aka: make the last ) optional)
My thoughts, _Ryan Wilcox
On Mar 21, 2007, at 5:18 PM, Ryan Wilcox wrote:
On Mar 21, 2007, at 12:43 PM, Erik Johansson wrote:
With this function declaration TextMate will not show it in the symbols list. Is there anyway of importing symbollists from external commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz, struct Clause *pclause)
Or fixing the regex to handle the possibility of a function declaration that takes more than 1 line? (aka: make the last ) optional)
Unfortunately, it won't work. This is a known limitation of TextMate's regex handling. There should probably be a FAQ entry on the wiki somewhere about it.
Chris
On 3/22/07, Chris Thomas chris@cjack.com wrote:
On Mar 21, 2007, at 5:18 PM, Ryan Wilcox wrote:
On Mar 21, 2007, at 12:43 PM, Erik Johansson wrote:
With this function declaration TextMate will not show it in the symbols list. Is there anyway of importing symbollists from external commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz, struct Clause *pclause)
Or fixing the regex to handle the possibility of a function declaration that takes more than 1 line? (aka: make the last ) optional)
Unfortunately, it won't work. This is a known limitation of TextMate's regex handling. There should probably be a FAQ entry on the wiki somewhere about it.
So I can't import symbols from an external program? It's not like running ctag everytime I change a line is going to hurt performance..
You could use this:
http://www.cocoabits.com/TmCodeBrowser/
On 22 Mar 2007, at 02:23, Erik Johansson wrote:
On 3/22/07, Chris Thomas chris@cjack.com wrote:
On Mar 21, 2007, at 5:18 PM, Ryan Wilcox wrote:
On Mar 21, 2007, at 12:43 PM, Erik Johansson wrote:
With this function declaration TextMate will not show it in the symbols list. Is there anyway of importing symbollists from
external
commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz, struct Clause *pclause)
Or fixing the regex to handle the possibility of a function declaration that takes more than 1 line? (aka: make the last ) optional)
Unfortunately, it won't work. This is a known limitation of TextMate's regex handling. There should probably be a FAQ entry on the wiki somewhere about it.
So I can't import symbols from an external program? It's not like running ctag everytime I change a line is going to hurt performance..
-- /Erik
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate