Rev Editor

Want to edit something? We can help! 
Filed under

new features

 

Drag-n-drop your way out of relayering hell!

tRev's Object Browser will now let you:

  1. Drag an object in the Object Browser to re-layer it.
  2. Shift+drag an object to clone and relayer it.
  3. Double-click an object name in Browser to re-name it.
  4. Set the content of a label field WHILE you re-name it.

(download)

Double-clicking has changed

To edit the name of a control listed as a line item in the Object Browser, you must double-click on the actual name of the control. Clicking anywhere else will edit the object itself.

Double-clicking the object type ("grc" for example) or a neutral area of the highlighted line (where there's no text) will result in editing the control's code. As before, depressing the shift key while double-clicking in these areas will open the object's property inspector in Rev IDE.

FIXED: Double clicking the number of lines of code in an Object Browser line item will not edit the name of the object. Instead, it will edit the code.

Use your keyboard to the max!

To edit, accept changes and navigate the Object Browser, type the following:

  • command+return to edit the name of an object if you're in browse mode.
  • command+return while editing to accept the edit and return to browse mode.
  • enter while editing to accept the edit. (cmd+return if no enter key)
  • return to accept the edit and edit the next line (if there is one).
  • down arrow to accept the edit and edit the next line.
  • up arrow to accept the edit and edit the previous line.
  • tab to accept the edit and edit the next line.
  • right arrow at the end of the edited name will accept the edit and edit next line.
  • left arrow at the beginning of the edited name will accept the edit and edit previous line.
This is one of those processes that's MUCH easier to do than to explain. Keyboarding is the only way to do re-naming en masse.

The Hat Trick

With inline editing you can name your label fields and set their content at the same time:

Step 1

Step 2:

Step 3:

Bonus: if you type shift+return to accept the edited name of any field, its new name will appear as its text content.

Why doesn't the Revolution application browser do all this?

The developers of the Rev IDE have to worry about what version of the engine you're running. This precludes using some of the newer features like the new drag and drop messages and the formattedTop property--all of which make allow us to do relayering and inline editing in tRev's Object Browser.

tRev can run the most recent engine and never worry about the IDE, since it runs in its own application partition. That means you don't have to worry about the IDE, either!

You should click below to...

 

Loading mentions Retweet
Filed under  //   clone   drag and drop   drag-n-drop   edit object name   feature friday   inline editing   layering   layers   new features   object browser   relayer   revolution   tRev   video  
Posted by Jerry Daniels 

Comments [9]

Snapshots of your cards in Object Browser!

(download)

Visualize Your Controls

  • Snaps are snapshots of cards shown in tRev's Object Browser.
  • Snaps can be turned on or off via a Column Button called Snap.
  • Snap buttons are beneath the Object Browser's Cards and Controls columns.

Get to Editing Faster

  • Click a line item in Controls to place orange rect around the control in card's Snap.
  • Click a control in a Snap and its line item in Controls list hilites.
  • Double-click any control in the Snap to edit it in tRev.
  • Hold down shift to inspect its properties in Rev.

Look, Mom—No Mouse!

  • Typing return or enter is the same as double-clicking a Snap's control.
  • Use the arrow keys to navigate the Controls list and work mouse-less.
  • Your mother will be proud. Fathers are harder to please.

Safety, Power, Convenience

  • When you click on a Snap to select a control, it cannot be moved or altered—only edited.
  • Click an invisible control in the list and you will see its rect in the Snap.
  • Click an off-screen control in the list and you will see its rect in the Snap if it's nearby.
  • Click a disabled control in the Snap and it will become selected in the list.

Gather Images for Documentation

  • Shift-click a Snap and it gets saved to your clipboard as a JPEG.
  • Entire image of the card is included with a gray 1 pixel border.
  • You'll get visual (flash) and aural (shutter sound) feedback indicating success.

Quick Keys

  • Single keystroke shortcuts for Object Browser are now called Quick Keys.
  • Quick Key for turning Snap on or off is p as in 'snap a picture' of a card.
  • Quick Key for Snap will not work unless Cards or Controls column is active.

Your Brain on Snaps

  • With Snaps you can use both sides of your brainspatial and analytical.
  • Anecdotal evidence indicate an effect approximating hedonic hypersynchrony.

Fixed This Week

  • After cmd+f, cut, copy & paste shortcuts work in Find and Replace fields.
  • Column button Delete now actually works after its warning dialog appears.

You should click below to...

 

Loading mentions Retweet
Filed under  //   card snaps   feature friday   new features   snap   snaps   tRev   video  
Posted by Jerry Daniels 

Comments [6]

Save from Object Browser + Color Preference!

Save from within the Object Browser with a single keystroke...and other goodies!

(download)
NOTE: Object Browser single keystroke shortcuts don't work if the Find Panel is visible.

You should click below to...

Loading mentions Retweet
Filed under  //   feature friday   new features   revolution   tRev   video  
Posted by Jerry Daniels 

Comments [3]

Column Buttons + Better Clairvoyance

The Object Browser is about TEN times more useful, now!

(download)

Highlights:

You should click below to...

Loading mentions Retweet
Filed under  //   arrow key navigation   auto-complete   camelCase   clairvoyance   column buttons   garbage collection   keyboard shortcuts   new features   shortcuts   tRev   video  
Posted by Jerry Daniels 

Comments [12]

Statistics on your code now available!

Today's video:

(download)

The new Stats are illuminating:

You can use Stats to find out the following:

  • Am I commenting enough?
  • Do I have enough handlers to warrant a folder?
  • Do I have too many handlers in a folder to be useful?
  • How many actual lines of code do I have?

Would you like more white space in your code and object browser?

Click Plus to increase your line height!

You should click below to...

Loading mentions Retweet
Filed under  //   auto-complete   comment lines   lines of code   new features   optimized   plus   revolution   statistics   stats   tRev   video   white space  
Posted by Jerry Daniels 

Comments [1]

Modest, but meaningful enhancements

Here's what's new in tRev today:
  • Search tRev Support Site... Help menu item
  • Definitions expanded with more synonyms
  • Select Structure now supports every weird form of IF-THEN-ELSE you can imagine
  • Backspace, return key now dependably trigger their object's dirty flag
  • go to and toplevel commands now supported in Raptor Handlers
Here's a video demonstrating said new features:

(download)

After making this video, I made the Select Structure command work a little better on if structures where the then is on the next line. See what you think.

Also, if you try to put a go to command in a button's Raptor Handler, you'll find it will not provide you with a link. That command only becomes a link when you're editing a stack or a card. Same principle holds with toplevel...it won't become a link (and thus work) in anything but a stack object's code.

This is a component update that will give you a couple new agents, a new broker and a new editor. Just click the Updates Available link at lower left of editor or select Check for Updates from your Help menu to get the update.

This update is compatible with tRev build 110. This build has been available for some time. If your tRev about box does not have the words build 110 in the title, then you will need to download a new tRev application from this site. Links for both platforms are on the right side when viewing the main page.

NOTE: because there is a new broker component, you will need to restart tRev, but not Revolution.

You should click below to...

Loading mentions Retweet
Filed under  //   definitions   feature friday   go to   new features   revolution   search from tRev   select structure   toplevel   trev   video  
Posted by Jerry Daniels 

Comments [0]

Where is the 'end if' for that 'if'?

Three new features:

  • Auto-complete within Raptor Handlers (def., special tRev block comments)!
  • Auto-complete custom properties in any handler (includes Raptor handlers)!
  • Select Structure lets you find the beginning & end of any structure.
(download)

But wait, there's more!

Extra, added bonus:
  • Repeated Select Structure commands select the structure within which the currently selected structure resides.
  • When Select Structure reaches the handler level, it selects an extra line at the end so you can copy or cut the handler with an extra line feed.
  • When starting out your Raptor handler, the names basic.properies and custom.properties will auto-complete.
    • Cmd+k will auto-complete the name.
    • A second cmd+k will auto-complete the entire handler !
    • This is consistent with the way auto-complete works for any other handler or control structure.
Enhancements:
  • Setting properties from special Raptor Handlers is now faster and works well in the Decoder mode as well.
  • The basic.properties for fields now includes the text property. This is the number one thing folks want to do with labels.
  • The basic.properties for stacks now includes resizable. Why we have liveResizing and not resizable on Rev inspector's basic properties pane is incomprehensible by the human mind. (Aliens?)
  • Properties shown in Raptor Handlers that have values inherited from an owner are shown in brackets. (See image below.) When these values are clicked, they display the actual property value of the object (not its owner).

Bug fixes:
  • A pernicious bug that didn't let you change the short name of an unsaved stack (or substack) via Raptor Handlers has been fixed.
  • The above bug also made it impossible to compile an object that was open in a tab when its stack owner was unsaved (or a substack) and had its name changed via a Raptor Handler.
  • This bug was not easy to explain or replicate, but thanks to Sarah, I found it and fixed it.

You can now update your components and get these great new features, enhancements, optimizations and fixes!

Here's how to update your components:

  • Via Help menu:
  • Via link:
NOTE: Updating components does not require downloading the tRev application. Usually you will not even need to restart the tRev app. However, since this particular update changes code in the tRev broker component, you will need to quit tRev and restart it.

You should click below to...

 

Loading mentions Retweet
Filed under  //   auto-complete   custom properties   feature friday   new features   select structure   video  
Posted by Jerry Daniels 

Comments [6]

New dictionary & custom props!

A faster new tRev dictionary offers full expanded definitions, and Raptor handlers now auto-complete custom properties!

(download)

You should click below to...

Loading mentions Retweet
Filed under  //   custom properties   dictionary   feature friday   new features   properties   raptor   raptor handlers   video  
Posted by Jerry Daniels 

Comments [5]

Add basic props to code with a keystroke!

Add basic properties to the scripts of all new objects using a new tRev preference, or add them to the script of any object with one keystroke!

(download)

Not mentioned in the video
  • tRev now provides basic properties for every type of object via its Raptor feature. These are the same properties, displayed in the same order as in Revolution's property inspector.
  • When Raptor-based basic properties appear in an object's script that is otherwise empty (via the feature show above), those property comments don't become part of the object's script until you either edit a property or explicitly compile the script.

New preference:

To start using these new features, Check for Updates and afterwards, quit and restart tRev.

 

You should click below to...

 

Loading mentions Retweet
Filed under  //   basic properties   feature friday   new features   new preference   preferences   raptor   revolution   trev   video  
Posted by Jerry Daniels 

Comments [10]

Raptor - clever, convenient, customizable!

tRev is a code editor for Revolution. Raptor is a fiendishly clever feature of tRev that lets you strategically edit only those properties of an object that you desire—that you need.

Watch it work (new 3 minute video):

(download)

Now you can quickly build a customized property editor for each or any object with a few keystrokes—and it's built right into tRev's code editor.

Start using it now!

Choose Check for Updates from tRev's Help menu, and you'll see you have a component update. Or you might have noticed the Update Available link in the lower left corner of your editor.

NOTE: You will need to quit and restart after updating as the message broker has been modified.

We just did another update for Raptor this afternoon (2:45PM Mon Aug 31). We have improved the formatting of prop values (no quotes) and can now handle multi-word property names! See below:

   

You should click below to...

 

 

Loading mentions Retweet
Filed under  //   code   customizable   editor   new features   properties   raptor   revolution   trev   video  
Posted by Jerry Daniels 

Comments [11]