Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created November 6, 2012 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkstone/4023152 to your computer and use it in GitHub Desktop.
Save monkstone/4023152 to your computer and use it in GitHub Desktop.
Macro to create new processing sketch in jedit (uses toxis abbreviations)
// This macro creates a new 3d processing file uses abbreviations
Buffer newBuffer = jEdit.newFile(view);
view.goToBuffer(newBuffer);
newBuffer.setMode("processing");
textArea.setSelectedText("setup3d#800#600#");
Abbrevs.expandAbbrev(view,true);
buffer.saveAs(view,true);
@monkstone
Copy link
Author

Added some dimensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment