Is it possible to get multiple lines of user input using some sort of dialog? I've looked through the API documentation and all I see related to user input is Window.show_quick_panel and Window.show_input_panel. If I understand them correctly, the first lets the user choose from a list (like an HTML select) and the other lets the user input one line of text (like an HTML text input). I'm wanting the user to input multiple lines like an HTML textarea. Possible? If so, could someone point me to an example or documenation?
I'm trying to implement a search and replace that handles multiple pairs at a time. In a Rails project, I often find myself needing to replace constants, class names, and instances over and over, and instead of running three searches, I'd prefer to run just one. When I used TextMate, I created a command thing to pop up an input dialog into which I entered all of my pairs. I'd like to do something similar in ST2. As an example, I might do something like:
I'd use regular expressions if I knew how to have the replacement retain the case of the subject being replaced.