From the "more simple ideas inspired by Bob Westergaard" department. Bob pointed out to me the other day, that sometimes he has these messages which are basically there just as string constants. Perhaps the text for an introduction screen in a game. Something like:
introString
^'Hello World!'
except... the text is much longer than 'Hello World.' In these cases, it can be a real pain. Code Highlighting helps a little, but invariably, you'll have a contraction mark in there that needs to be doubled and it's just a pain. It took me a while to understand the people in his "simple ideas" department, because of my density. But once I understood it, I thought "that's kinda cool." So I ran off and did it. You can find the result in the Open Repository as
RBStringEditor.
What it does is simply note when a method is of the above pattern. One literal which is a string, returned. When one is selected, it activates this tool causing it to show up in the tabbed tool list. Said tool allows one to edit the text of the string directly. No need to double quote embedded quotes. Or be annoyed that the formatter places the first line indented. Just good old fashion text editing. And when you accept the method, it uses the rewriter to place the new string in place of the old one. So comments and method tags are left in place.