|Re: HP Prime: Program Editing|
Message #2 Posted by Han on 4 Nov 2013, 12:26 p.m.,
in response to message #1 by Marcus von Cube, Germany
I have some random remarks concerning on-device program editing:
- I'm missing a template for strings, i. e. a pair of double quotes. The double quote from the char menu returns a single ", at least in the program editor. The same char returns a template on the command line which is not editable: The trailing " cannot be deleted and deleting the first " removes the whole string from the command line. In the editor, " is just a simple character.
- The char menu could be more useful if it worked like a virtual keyboard, collecting a bunch of characters before submitting them all at once to the editor or command line.
- Shift+cursor should mark text, not only for copy and paste but for applying a template such as () to the marked text. Adding a pair of parentheses to an existing part of text is quite a nuisance because you have to insert () and delete the superfluous half.
- On the good side: With the calculator connected and the Connectivity Kit running, a program file on the device can be easily opened and modified with the PC keyboard. Ctrl+S saves the modified file directly on the calulator. That's well thought out.
Just add to the list so HP can harvest our ideas!
1. [Alpha]  gives two double quotes. It is currently not possible to delete just one of the two because of issues with textbook mode. When one of the two double quotes is removed, there is a difficult question of what the command line should do to reflect the changes.
Example: "b1/6A" ==> delete first " ==> should the command line redraw this as a fraction with b1 for the numerator and 6 (or 6A) as the denominator, and then the second " starts a new string? Or should it leave it as is because your intention was to, hypothetically speaking, do b+"1/6A" because b already contains a string? In this sort of case, it is nearly impossible to "guess" what the user intends so the redrawing of the command line in textbook mode gets really complicated.
2. Agreed. It should produce a secondary "command line" until you are "finished." This business of choosing only one character and then having to go back into the char catalogue is not very efficient.
3. I disagree. Shift cursor should move the cursor to the beginning or end of a line (for shift+left/right), or move to the start or end of line/page/entry (for shift+up/down). Pressing [()] followed by [Backspace] or [Shift][Backspace] has either less or the same number of key presses as [Shift][cursor][()].
4. Agreed! :-) Even coolor is that you can select the Content tab, do your editing there (so it's saved on the PC), and then right-click the program or app or note, and "Send All" will place a copy onto the calculator and/or emulator.