My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
codaPluginsController = JSCocoaLoaderPlugIn.codaPluginsController();
var tv = codaPluginsController.focusedTextView(null);
var selectedText = tv.selectedText();

if (selectedText != null) {
tv.insertText_(selectedText.uppercaseString())
}

// test here.
Show details Hide details

Change log

r52 by gusmueller on Nov 11, 2008   Diff
a coda plugin
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 257 bytes, 9 lines
Hosted by Google Code