We can select parts of code or text by repeated clicks like so:
But it seems like Mathematica skips one level. Between image 2 and 3 there should be an intermediate level of selected code that would highlight only WORD1 WORD2 WORD3 not with quotation marks like we can see on image 3.
Is there some way I can tell Mathematica to select text by clicking inside quotation marks properly?
This drives me crazy I have to copy lots of texts manually from different sources to the same place in code between quotation marks. But I have to first click right of the first quotation mark then hold the mouse button and move mouse to left of the second quotation mark release button and only then I can pres CTRL+V to paste text. Or I can triple click then type SHIFT + "
then press CTRL+V and finally press SHIFT + "
again.
If the selection was done properly I would do only triple click and press CTRL+V and the new text would appear inside quotation marks.
StringReplace[ToString[Unevaluated[WORD1 WORD2 WORD3]], " " -> ""]
$\endgroup$StringReplace["", " " -> ""]
then insert your string inside the first""
? $\endgroup$""
, then evaluate the code, then paste a new text in place of the previous one and so on... if you have to pressShift+"
Ctrl+V
Shift+"
with left hand (while using mouse in right hand) about hundred times in a row you will understand what I mean.Ctrl+V
lies on the left of the keyboard andShift+"
on right of the keyboard. Unfortunately the pasting can not be done automatically it needs to be done manually. $\endgroup$"WORD1 WORD2 WORD3"
writeStringTake["(WORD1 WORD2 WORD3)", {2, -2}]
: the repeated clicks will allow to select only what is between the parenthesis, $\endgroup$