Removing unwanted language modules

41 views
Skip to first unread message

rwa...@googlemail.com

unread,
Dec 10, 2009, 10:41:14 AM12/10/09
to BBEdit Talk
I've got 48 language modules installed, including 3 I've added. I use
about 7 in total. Is there anyway to uninstall the built-in modules,
or at least keep them from showing up in the language pop-up? I'm
happy to muck around with hacks, or suffer temporary instability while
working out which are absolutely required
Thanks
Rob

installed languages 68K Assembler (9.3.1 (2638))
ActionScript (9.3.1 (2638))
ANSI C (9.3.1 (2638))
C++ (9.3.1 (2638))
CSS (9.3.1 (2638))
Data File (9.3.1 (2638))
Datafile (version not available)
Fortran (9.3.1 (2638))
Fortran 9x (9.3.1 (2638))
Gnuplot (version not available)
Grep Replace Pattern (9.3.1 (2638))
Grep Search Pattern (9.3.1 (2638))
HTML (9.3.1 (2638))
INI File (version not available)
Java (9.3.1 (2638))
JavaScript (9.3.1 (2638))
JSP (9.3.1 (2638))
Lasso (9.3.1 (2638))
Log File (9.3.1 (2638))
Lua (9.3.1 (2638))
Make (version not available)
Markdown (9.3.1 (2638))
Matlab (2.3)
Object Pascal (9.3.1 (2638))
Objective-C (9.3.1 (2638))
Objective-C++ (9.3.1 (2638))
Perforce Specification (9.3.1 (2638))
Perl (9.3.1 (2638))
PHP (9.3.1 (2638))
Python (9.3.1 (2638))
Rez (9.3.1 (2638))
Ruby (9.3.1 (2638))
Ruby in HTML (9.3.1 (2638))
Setext (8.0)
Software Package Notes (9.3.1 (2638))
SQL (Generic) (9.3.1 (2638))
SQL (MS Transact) (9.3.1 (2638))
SQL (MySQL) (9.3.1 (2638))
SQL (PL/SQL) (9.3.1 (2638))
SQL (PostgreSQL) (9.3.1 (2638))
Strings File (9.3.1 (2638))
Tcl (9.3.1 (2638))
TeX (9.3.1 (2638))
Unix Shell Script (9.3.1 (2638))
VBScript (9.3.1 (2638))
VectorScript (9.3.1 (2638))
XML (9.3.1 (2638))
YAML (9.3.1 (2638))

Steven Samuels

unread,
Dec 24, 2009, 1:36:29 PM12/24/09
to BBEdit Talk
Don't use the built-in pop-up. Just write a script that will show a
list of just your seven modules and let you to choose from among them
The code is simple:

--CODE BEGINS
tell application "BBEdit"
activate
tell front document
set my_mods to {"TeX", "Stata", "(none)"}
set go to choose from list my_mods with prompt "Choose a Language.."
if go is false then return
set source language to go
end tell
end tell
--CODE ENDS

-Steve

On Dec 10, 10:41 am, "rwar...@googlemail.com" <rwar...@googlemail.com>
wrote:

Reply all
Reply to author
Forward
0 new messages