Steve-

Hey there!

I'm using BBEdit Version 10.x
Lasso 8.6x & Lasso9

I have the Lasso module, so that's not the problem but it's good to know how to 
tweak the module!

I have the BBEdit manual and looked at "Save Default Window".  I thought it 
wasn't working but now it is.  It may have needed a restart and I didn't 
restart it right away until I ran into some other problems - now the window 
opens to the size I want.  Has anyone ever seen, when closing a window in 
BBEdit, instead of closing, it creates another copy with a "-1" at the end and 
says it's location is in the ~/trash?  From there I cannot delete it - it just 
keeps doing that and removes the "x" to delete it.  After a restart, all is 
well again for a short time.

I was thinking that a template would be the way to go but wanted to ask here 
first - I also like the idea of creating a script as well...

Thanks Steve and Charlie for the help!


James Sheffer,

The HigherPowered Team!


On Aug 20, 2012, at 10:57 PM, Steve Piercy <[email protected]> wrote:

> 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>
> 
> 
> 

-- 
-- 
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>



Reply via email to