/* * Proper_Case.bsh - a BeanShell macro for jEdit * which converts the selected text to Proper Case. * * Copyright (C) 2004 Jonathan broome * */ properCase(){ selection = textArea.getSelectedText(); String tgt=selection; StringBuffer s=new StringBuffer(tgt.toLowerCase()); boolean raise=true; for(int i=0; i Proper_Case.bsh If text is selected, the selection is replaced with the Proper Case Version Of That Text. */