[TxMt] Symbol preference question

Charilaos Skiadas skiadas at hanover.edu
Fri Apr 27 04:56:15 UTC 2007


On Apr 26, 2007, at 11:14 PM, Colin Hahn wrote:

> I'm having a problem populating the symbol list in my files.  I  
> have created the following preference item:
>
> {	showInSymbolList = 1;
> 	symbolTransformation = 's/(^KW: )(.*)(%)/$2/;';
> }
>
> My document is filled with lines such as
>
> KW: postscript essenceoftruth freedom % (fold)
>
> However, the symbol list remains empty.  I have double checked that  
> the scope selector for the preference matches the global scope of  
> the document and have closed the bundle editor window.  Can someone  
> help me figure out why this is not working?
>

You probably need a more specific scope selector, targeting only  
those lines above. See here for an example:

http://macromates.com/textmate/manual/ 
navigation_overview#customizing_the_list

> Thanks,
>
> Colin Hahn
> »Geben Sie mir Kaffee, dann mache ich Phänomenologie daraus.«
> "Give me my coffee so that I can make phenomenology out of it." --  
> Edmund Husserl
>

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College







More information about the textmate mailing list