I notice that when I am in Help and select something in quotes, such as "Teal", the editor will select only Teal, not "Teal", when I double-click Teal. This is what I expect.
But when I edit a command line [>, the editor selects the quotes, too. Not only that, if I carefully select only Teal, the editor will acutally copy "Teal", or so I surmise, because if I then try to paste Teal into a new place, I get ""Teal"". I understand that if I am replacing instances of "Red" with "Teal" then the editor will select the proper source and destination, but I prefer the editor to select what is inside the quotes, and not the quotes themselves.
~Rich~
1D
As usual, 1D format works better than 2D. But I don't understand how you're getting ""Teal"" unless the outer quotes were there already before you pasted it in. Also, instead of double-clicking, you should be able to highlight just the part you want by a single click and drag. It does require a bit more hand-eye coordination though.
Maple 12: Editor behavior in command line with strings
I agree that the 1D format works better i many circumstances. But the future of this product is in its 2D capability, and that is the capability that I wish to learn and evaluate.
WRT the ""Teal"" issue, you are correct: "Teal" is what gets copied because Maple does not automatically select what is *inside* the quotes when you double-click, it selects the quotes, too. If you are copying from one place in a document to anotehr, that is fine because if you select another target to overwite that is exactly the same length as the item yuo copied, they both match WRT to content and quotes.
If, however, you copy from Help, the Help editor performs as I expect it to: it copies only the text, not the quotes. Unfortunately, if I copy Teal from Help and want to replace "Red" in Maple source, I cannot simply double-click "Red" because that will replace "Red" with Teal and I will get a syntax error for the missing quotes.
Also, if I select "Teal" from some Maple source and want to replace Red in the string "Red is not the color I want." I get ""Teal" is not the color I want." for another syntax error. Clearly, the solution to the mess is to have Maple behave as other editors do, and select only what is in the quotes, not the quotes themselves.
...and you are correct again, I can click and drag to select my sources and targets, but that is not the best solution to this problem in the long run.
~Rich~
http://pubpages.unh.edu/~rlo9/index.html