What version of BBEdit? Lasso has been a recognized language
since at least BBEdit 9, so your language module might be
conflicting with BBEdit. However, there are some tricks to
modify BBEdit's Lasso language module, say if you have some
custom tags. Also I don't know whether BBEdit's Lasso language
module includes Lasso 9 syntax, but you can add that, too:
1. Make a copy of/back up:
~/Library/Application Support/BBEdit/Language Modules/Lasso.bblm
2. In your copy, right-click > Show Package Contents.
3. Edit Contents/Info.plist.
4. Save. Quit BBEdit. Shuffle around the two Lasso.bblm
files. Relaunch BBEdit. Custom tags magic!
Also for other Stupid BBEdit Tricks see:
http://www.stevepiercy.com/lasso_stuff/bbedit_ldml_syntax.lasso
For Lasso 9 syntax (with 8 syntax), there are more tricks to
extracting the keywords. At this moment, there is a script that
will auto generate the Lasso 9 keywords:
http://source.lassosoft.com/svn/lasso/lasso9_source/trunk/reference_generator.lasso
This file was adapted for Pygments by Eric Knibbe:
https://bitbucket.org/birkenfeld/pygments-main/src/075168e43e52/external/lasso-builtins-generator-9.lasso
Which in turn was used to generate a Pygments-friendly syntax
coloring "lexer":
https://bitbucket.org/birkenfeld/pygments-main/src/075168e43e52/pygments/lexers/_lassobuiltins.py
Which in turn will be adopted by GitHub to recognize Lasso as a language:
https://github.com/github/linguist/pull/235
And will finally come full circle to the Knop project:
https://github.com/knop-project/knop/issues/25
For the remaining issues, the things you want are "Save Default
Window" and "Templates". "Workspace" might be useful, too. See
the BBEdit User Manual for details. Help > User Manual. Then
save it as a bookmark in Preview so you don't have to dig
through the application resource (Show Package Contents).
--steve
On 8/20/12 at 4:58 PM, [email protected] (Jim Sheffer) pronounced:
Hi all-
I know these questions have been asked before but I couldn't
find them - maybe I'm just too tired right now, but...
I am wanting to do the following as far as opening a new page and defaults:
- Open the page in a specified language (Lasso - I have the
language module installed).
- Open the page to a particular page size.
- Have a few things "auto populate the page" (template?)
99% of the time, I end up setting the following on a new page:
Page size: 1200w x600h
Language: Lasso
Default text at the top of the page (blank otherwise):
<?lassoscript
?>
Is there anyway to go about doing this?
Thanks and I apologize if this has been answered before...
James Sheffer,
The HigherPowered Team!
[email protected] [email protected]
Web Design & Development http://www.higherpowered.com
phone: 469-256-0268 "We help businesses
succeed on the web!"
-------------------------------------------
--
--steve
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>