On Oct 21, 2006, at 2:13 PM, Jakob Peterhänsel wrote:
Is there any of the 4 examples that looks at the content of the
file to specify if it's a language it should handle?
The python example shows how to do language guessing.
You respond to kBBLMGuessLanguageMessage, and fill
params.fGuessLanguageParams.fGuessResult.
(Just don't copy the code verbatim - there is a bug in
text_has_shebang(...) that I've fixed since the SDK was cut.)
Jim
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>