# sample script # converts the selected text to upper case # if no text is selected, is converts the hole buffer # (C) 2000 Chicane (under GPL) import glimmer glimmer.delete_text(0, glimmer.current_position())