IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#32720 - 10/07/09 03:00 PM PressTalk editor updates
-nth- Offline
OL Expert

Registered: 04/01/03
Posts: 236
Loc: Lincoln, NE
When working with complex Presstalk objects I've found myself wishing that the editor had several features (now common among most programming editors).

- Code folding: This would be great for the large if/for/repeat commands. Being able to collapse them to make the code more readable.
- Better syntax highlighting: Particularly with parenthesis. When nesting if/and/or commands, it's easy to end up with too many or not enough parenthesis. If the editor could highlight the matched pair of parenthesis when the cursor was on one of them, that would go a long way reducing problems.
- Better debugging: when adding a breakpoint in the code and then running the script up to that point, you can't use the step command after that. When using step, it starts over at the beginning of the code. I'd like to see something closer to the debug process in Watch, where I can run the debug up to a breakpoint and then continue stepping past it to test execution logic.

-nth-

Top
#32721 - 10/15/09 10:45 AM Re: PressTalk editor updates
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Thanks for the suggestions. Most of those were already in our database, so they were already on our radar screen, but it always helps knowing that more than one user wants a specific feature to be added or improved.

Thanks again!
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#32722 - 01/28/10 03:39 PM Re: PressTalk editor updates
Uomo Del Ghiaccio Offline
OL Expert

Registered: 02/21/01
Posts: 669
Another editor option that would be nice is a "Comment/Un-Comment" command when you right click a series of lines. This would be for any PressTalk or Scripting tool in the suite.
_________________________
Uomo Del Ghiaccio
--------------------

Top
#32723 - 01/28/10 04:15 PM Re: PressTalk editor updates
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Uomo,

In both the PlanetPress Talk editor and the PP-Workflow scripting task, try [CTRL] [SHIFT] [/] to comment and [CTRL] [SHIFT] [.] (both on the regular keyboard, not on the numeric keypad)to uncomment.

These shortucts have been *hidden* for years... perhaps it's time we documented them? :p
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top