SRP Editor 2.9.1: No More Loose Ends

A few weeks ago, we introduced you to Enhanced BASIC+. We are pleased to improve that experience in this latest update. Though this is just a minor version upgrade, we actually have a couple new surprises. In this article, we’ll reveal how version 2.9.1 brings several quality of life enhancements that you won’t want to miss. Let’s jump right in.

Enhanced BASIC+ Improvements

We received some positive feedback regarding the enhanced return statements, but the use of the or keyword was not as intuitive. So, Enhanced BASIC+ also now supports the else keyword:

Return Ans else 1

The for each loop has quickly become a favorite, but it’s applicability was limited. In order to make it a little more flexible, we added support for the setting keyword. It works just like the setting keyword in the locate statement: it updates a counter in each iteration. This gives you the best of both worlds: an easy way to iterate through a list without sacrificing the ability to use the counter to access other parallel lists.

For Each Item in List using "," setting iCounter
    OtherList<iCounter> = OtherList<iCounter> : Item
Next Item

Closing Documents

At long last, the SRP Editor lets you close a document directly from the tab or the Favorites pane.

closebuttontreeclose

When closing documents from the Favorites pane, you can drag-click to close multiple documents at once!

multiclose

Truly Smart Indent

The biggest addition to this version of SRP Editor is the newly updated Smart Indent feature. Smart Indent now auto-inserts the end of a new block.

pressenterforloop

We’ve worked hard to make it as smart as possible as to not interrupt your workflow. If you ever get a block closing statement you don’t want you can just undo (Ctrl+Z) once to remove it, but you usually won’t need to since Smart Indent looks ahead to see if a block closing statement already exists. It works on all block types: if, for, begin case, loop, and gosubs. It even works with Enhanced BASIC+ blocks: for each, event and service.

We realize that no one agrees on how to format block closing statements. SRP, for example, prefers to lower case the end keyword but uppercase the Repeat keyword. If you dislike our settings, you can now go into the Options screen and modify your keyword preferences in the Customize tab. Doing so will affect both the Smart Indent block closing statements and the Auto Complete drop down.

Try it Now

SRP Editor 2.9.1 is available for download. You can see the full list of changes here. We hope the improvements make you more productive. As always, don’t hesitate to give us your feedback in our forums.

Leave a Reply