One of my common frustrations when working in Pinegrow is that text handling operations like selecting, editing, copying and pasting do not behave in a predictable way. When I say ‘predictable’, I mean, like a native text-based app. (I realise that Pinegrow is built using Web technologies and is not a native app, but it should still mimic standard OS behaviour to be considered a well-behaved app.)
I’m a Mac user, but these principles should apply on Windows too.
Double click a word to select it. Shift-clicking on another word should then select all the words up to and including that word. (In Pinegrow, Shift-click does not add anything to the selection.)
By clicking and dragging, you can select a range of text, even across multiple paragraphs. However, if you have entered ‘inline text editing mode’ by double-clicking on a word, Pinegrow will not let you select text beyond the end of the the first paragraph. (A minor bug.)
With ‘inline text editing’ turned off, you can Shift-click to select multiple block-level elements (like paragraphs), but this is not mirrored in the code, which only shows a selection around the most recently clicked element. This inconsistency creates confusion about what will happen if you delete or replace the selection.
There are many other instances where the inline text selection simply isn’t reflected in the code at all. I find that I have to turn inline text editing off and back on before it will start showing the selection in code again.
Copying and pasting:
If you cut or copy one or more block level elements (say a paragraph), then select another block level element and try to paste, the expected behaviour is for the copied/pasted element to replace the selected element. However, Pinegrow retains the selected element and pastes everything after it.
The situation is even worse if you have multiple items selected before pasting. In this case, you end up with duplicate copies of the pasted elements—one after each of the selected elements! (This is a major bug in my opinion.)
If you copy styled text (either from Pinegrow or another app), there is no option in Pinegrow to paste the raw text, stripped of its styling. (Most native Mac apps have a command called ‘Paste and Match Style’ which does this.)
Undo and redo:
- I can’t reliably reproduce this, but there have been occasions where something unexpected happens and I cannot undo it. It happened once even while I was testing just now, but I’m not sure how to reproduce the steps that caused it.