Nov 06, '03 11:03:00AM • Contributed by: sapporo
Since Panther comes with its own implementation of a completion mechanism (that searches both the document and a dictionary), I was looking for a combination of TE's keyword based expansion and Panther's completion. Since we're going to modify TE, you need to have Xcode installed.
Add the following lines to file NSTextView_TETextExtras.m after line 328:
else{
[self complete:sender];
return;
}
Build and install your new version of TE, and change the line in ~/Library/KeyBindings/DefaultKeyBinding.dict that says
"\033" = "complete:";
to
"\033" = "TE_complete:";
[robg adds: I haven't tested this one yet, but hope to soon - TextExtras is a great add-on!]
