chris - i had no idea that bbedit behaved any differently with larger files until my autocomplete stopped working on a current project file that is about 1.5mb in size, with maybe 27k lines.
i'm not sure the expert pref i pointed out to michelle will fix her issue, but wanted to alert her/all who were unaware of app behavior changes depending on file size to that section of the expert prefs. the MacDocumentLengthForCompletionTokenizer setting did fix my issue... i'm hoping the Editor_SpellCheckLengthLimit one might fix michelle's. bruce On Sunday, April 26, 2015 at 7:30:56 PM UTC-7, Christopher Stone wrote: > > On Apr 26, 2015, at 17:30, Bruce Linde <[email protected] <javascript:>> > wrote: > > Ok, just so no one confuses me with an expert bbedit user (or one who > actually rtfm)... i recently got bit by a similar problem when bbedit > stopped autocompleting variable names in a rather large .php script. > > I was led gently to the solution by patrick woolsey, who deserves full > credit for pointing me to the appropriate expert pref, which happens to be > adjacent to the one you need. > > ______________________________________________________________________ > > Hey Bruce, > > defaults write com.barebones.bbedit Editor_SpellCheckLengthLimit -int NN > > The documentation in the expert prefs help indicates this setting only > applies to the "Find All Misspelled Words" command. > > If I understand you correctly this is actually not so. > > Autocomplete is affected and other aspects of the spell-checker. > > If that is indeed the case then the documentation should be changed to > reflect this more overarching effect. In my opinion. > > Examining the expert prefs a little further it appears that completion is > affected by a different setting: > > - > > *Text completions* that depend on examining the document's contents > (both for tokens in the document, and for possible completions from the > system spelling checker) are now skipped when the document is above a > certain size. The cutoff can be adjusted: > > defaults write com.barebones.bbedit > MaxDocumentLengthForCompletionTokenizer -int NN > > where "NN" is some decimal value. Use -int 0 to suppress the limit > altogether. > > Can you elaborate? > > -- > Best Regards, > Chris > > -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
