Rev Editor

Want to edit something? We can help! 
Filed under

auto-complete

 

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]

Optimized version available!

(download)

I ran out of time at the end of that video because Jing cut me off! I was going to say that clicking on a var name in tRev's Decoder now places the var's data directly into the clipboard. More importantly, when you hover over a var's data in the Decoder, tooltips appear telling you about this click-to-copy-data feature. BONUS: tooltips for var data also tell you when you already have a var's data in the clipboard!

Some anomalies you'll see in the lists below are fairly arcane and hard to describe. Some are hard to replicate, too. However, this doesn't mean they aren't aggravating if allowed to persist!

List of Enhancements

Auto-complete:
  • Handlers dependably auto-complete after return.
  • After a multiline auto-complete or carriage return, text now scrolls into view, if insertion point is lower than bottom of field.
  • Clairvoyance is much faster — I've been unable to accumulate text in front of insertion point as I type.
  • Auto-complete works reliably when calling recently-created handlers.
  • Auto-completed switch control structures now have "break" statement within the case statement.
  • Block comments that are not Raptor handlers no longer get transformed into Raptor handlers when you type a carriage return within them.
  • Auto-complete is no longer case-sensitive, meaning you can type in any case you wish and it will figure out what you're trying to type. NOTE: once you accept an suggested string, if it is a Rev term, for the time being it will become lower case.
Coding:
  • Typing control+space (both platforms!) when the pointer is outside the tRev editor window will pick up the full name of the object below the pointer and insert into any active field. Add the shift key and it does same but inserts the short name of the object beneath your pointer. This has always been the case. Read on.
  • Typing control+space when the pointer is inside the tRev editor window now picks up the text beneath the pointer and inserts it into the active field. Hold down the shift key and get the quoted string instead of the word within the quoted string. This is great for copying a handler name from the handler list into your code—or from elsewhere within your code to the selection/insertion point. Bonus: copy stuff from your code into find field!
Error handling:
  • The code field (not its text, but the object) is no longer selected after some errors.
  • Execution errors occurring while in edit group mode no longer lock up tRev in a repeat loop.
Raptor handlers:
  • When Raptor handler property values are implicitly changed from something you do in Rev, you are no longer asked if it's ok to overwrite when you edit that object's script and it's already open in a tab. Bottom line: the bug is fixed.
  • basic.properties are now inserting properly from the Edit menu item call, under all circumstances—even if you already have --> *props at the top.
Decoder:
  • When opening the decoder or definitions pane, the selected code is no longer obscured by the decoder or definitions pane.
  • Variable and array element data can now be copied by clicking var or element data—all of which are now links.
  • When links to var or array data longer than 42 chars (or containing a carriage return) are clicked, they now open a special variable data dialog that displays full data available for selecting and copying with mouse and Edit menu shortcuts.
  • Stack file names containing commas no longer confuse the Decoder as they do in the Rev 3.5 debugger.
  • The < and > chars no longer show up in the Decoder pane as their urlEncoded values.
Tabs
  • Closing an inactive tab no longer activates the tab to its left by default.
  • Every object edited in tRev now gets a tRevUniqueID that is the sum of the object's revUniqueID and ID properties. This means your last position and selection within an object's code is now stored under a new record id and your old positions are no longer used. No big deal.
  • Tabs are now tagged with tRev's new, unique ID to prevent object ID dysphoria where the Overwrite this script? dialog appears when it should not. This is a big deal.
General:
  • Many more actions are now undoable. Eventually everything will be undo-able, but not 12 layers of undo/redo. I'm too fond of typing quickly in large bodies of code to do that.
  • We now have much more reliable restoring of last position in script
  • Handler links to recently-created handlers appear reliably, but only after compiling the code.
  • When inspecting from Rev with opt+cmd click, editor no longer resizes to bottom right of screen.
  • You can now select and copy any text residing in the Errors, Decoder or Definitions panes.
Screens

Click variables in the Decoder to copy them into your clipboard:

Click variables with truncated data and get the new Decoder dialog that lets you select data with your mouse and/or Edit menu shortcuts:

The components containing these fixes are now available. Check for Updates or click the Updates Available link in the lower left of the editor.

NOTE: The Data/Message Broker is one of the components that has been updated, so  you will need to restart tRev after updating!

You should click below to...

Loading mentions Retweet
Filed under  //   auto-complete   clairvoyance   enhanced   error handling   feature friday   handler links   optimized   raptor handlers   revolution   tabs   trev   video  
Posted by Jerry Daniels 

Comments [14]

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 tRev with In-line clairvoyance, auto-complete & tab management

Check out tRev's new, more economical workflow for clairvoyance and auto-complete. Click to believe...

(download)

Using the new stuff:
  • To begin using in-line clairvoyance, just type. It starts working three chars into a word (actually, a token).
  • To auto-complete an exit, pass, command, function, property or global property, just type command+k
  • You can do the same to complete any handler, repeat, try or switch structure.
  • When you close a stack in Rev, any objects belonging to a tRev tab are closed. If a closing tab is dirty, tRev asks what you'd like to do.
Notes:
  • As far as script editing goes, tRev is extremely useable. 
  • I've had NO crashes or lockups in Rev since using tRev!

You should click below to...

Loading mentions Retweet
Filed under  //   auto-complete   clairvoyance   editor   new features   revolution   tRev   video  
Posted by Jerry Daniels 

Comments [4]